summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-10st/egl: Use profiles to create OpenGL ES contexts.Chia-I Wu
Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10st/dri: Use profiles to create OpenGL ES contexts.Chia-I Wu
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10gallium: Add context profile support to st_api.Chia-I Wu
Add struct st_context_attribs to describe context profiles and attributes. Modify st_api::create_context to take the new struct instead of an st_visual. st_context_attribs can be used to support GLX_ARB_create_context_profile and GLX_EXT_create_context_es2_profile in the future. But the motivation for doing it now is to be able to replace ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2 by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-10r600g: fixup state calculations for picking states.Dave Airlie
for evergreen I ended up using a non-contig array of states, but this code needs a bit of fixing up to deal with that.
2010-09-10r600g: fixup CB state numbering headerDave Airlie
2010-09-10r600g: fix warning in r600 pipe driverDave Airlie
2010-09-10r600g: evergreen CBs are more sane to support with a single stateDave Airlie
2010-09-10r600g: add multi-buffer flush support properly.Dave Airlie
2010-09-10r600g: fix regression in multi-buffer tests since CB flush mergeDave Airlie
2010-09-09i965: Add switch cases for ir_unop_noise, which should have been lowered.Eric Anholt
Fixes compiler warnings.
2010-09-10r600g: add initial evergreen supportDave Airlie
adds shader opcodes + assembler support (except ARL) uses constant buffers add interp instructions in fragment shader adds all evergreen hw states adds evergreen pm4 support. this runs gears for me on my evergreen
2010-09-10r600g: align flushing of cb/db with DDX/r600c.Dave Airlie
the DDX and r600c both flush cb/db after the draw is emitted, as long as they do that, r600g can't be different, as it races. We end up with r600g flush, set CB, DDX set CB, flush. This was causing misrendering on my evergreen, where sometimes the drawing would go to an old CB.
2010-09-10r600g: don't need 3 bos here.Dave Airlie
the code should reloc correctly a single BO 3 times.
2010-09-09graw: added test for finding shader mem leaksBrian Paul
2010-09-09draw: minor reformattingBrian Paul
2010-09-09graw: emit warnings when context/surface creation failesBrian Paul
2010-09-09winsys: emit warning in null_sw_displaytarget_create()Brian Paul
2010-09-09graw: fix array size, indentation,Brian Paul
2010-09-10glsl2: Fix scons build for all platformsJakob Bornecrantz
2010-09-09Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg
This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
2010-09-09glsl2: Implement noise[1234] built-in functions using ir_unop_noiseIan Romanick
2010-09-09glsl2: Add EmitNoNoise flag, use it to remove noise opcodesIan Romanick
2010-09-09glsl2: Add lowering pass to remove noise opcodesIan Romanick
2010-09-09glsl2: Add ir_unop_noiseIan Romanick
2010-09-09glsl/builtins: normalize of a negative scalar should be -1.0.Kenneth Graunke
2010-09-09mesa: Only reference logging symbols in debug buildsKristian Høgsberg
2010-09-09mesa: Don't reuse DummyFramebuffer as the incomplete framebufferKristian Høgsberg
Binding framebuffer 0 on a context that doesn't have a winsys drawable will try to bind the incomplete framebuffer. That fails when that's also the dummy framebuffer.
2010-09-09glapi: Fix non-debug buildsJakob Bornecrantz
2010-09-09st/dri: support EGL_MESA_image_drm: queryImageben
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-09-09st/dri: support EGL_MESA_image_drm: createImageben
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-09-09eglglx: Convert glx visuals/fbconfigs straight to EGL configsKristian Høgsberg
In other words, skip the __GLcontextModes middle man.
2010-09-09egl: Remove old egldri driverKristian Høgsberg
This driver doesn't work with any of the DRI drivers in the source tree.
2010-09-09glapi: Implement optional dispatch loggingKristian Høgsberg
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
2010-09-09glx: Optimize out no-op make current callsKristian Høgsberg
This make a lot more sense now that we might have to recreate the glx drawables for legacy code paths.
2010-09-10egl: Use _EGL_CHECK_DISPLAY in eglCreateContext.Chia-I Wu
_EGL_CHECK_DISPLAY checks the display and returns from eglCreateContext on error.
2010-09-10egl: Display may be NULL in _eglLookup*.Chia-I Wu
This fixes several NULL dereferences.
2010-09-09llvmpipe: remove redundant tgsi_dup_tokens() callBrian Paul
We were calling this twice so the first allocation was orphaned/leaked.
2010-09-09dri/nouveau: Expose EXT_texture_env_combine.Francisco Jerez
2010-09-09dri/nv10-nv20: Add support for NV_texture_env_combine4.Francisco Jerez
2010-09-09dri/nv04: Add support for NV_texture_env_combine4.Francisco Jerez
2010-09-09dri/nouveau: Minor cleanup.Francisco Jerez
2010-09-09glx: Fix another use-after-free problemKristian Høgsberg
2010-09-09r600: add TXL instruction and note about TXBAndre Maasikas
2010-09-09r600: remove depth exports move, just set to output x <- z in the export ↵Andre Maasikas
intruction
2010-09-09r600: protect cleanup instructions from double freeAndre Maasikas
We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row
2010-09-09r600: remove mask from output intructionsAndre Maasikas
in case of relative addressing we never get to know which comps were really written.
2010-09-09r600: allow relative addressing of temps, inputs, outputsAndre Maasikas
2010-09-09r600: handle LIT writemaskAndre Maasikas
2010-09-09r600: fix rsq from negative inputAndre Maasikas
arbfp specifies rsq of abs value
2010-09-09docs: Update egl.html.Chia-I Wu
Mention that EGL_DRIVERS_PATH should be specified for uninstalled build. Update TODOs.