Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: Implemented the y component write for the LOG opcode. | Tilman Sauerbeck | 2010-09-10 | 1 | -5/+90 |
| | | | | | | This makes the 'vp1-LOG test' piglit test work. Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | egl: Simplify _eglBindContext. | Chia-I Wu | 2010-09-10 | 1 | -77/+31 |
| | | | | | | | | | | Remove the hard-to-get-right _eglBindContextToSurfaces. As well as fix an assertion failure from b90a3e7d8b1bcd412ddbf2a4803de2756dacd436 when such call sequence is hit eglMakeCurrent(dpy, surf1, surf1, ctx1); eglMakeCurrent(dpy, surf2, surf2, ctx2); eglMakeCurrent(dpy, surf1, surf1, ctx1); | ||||
* | r600: dont bswap rgba FLOAT formats | Andre Maasikas | 2010-09-10 | 1 | -2/+2 |
| | | | | fixes at least some readback tests in piglit | ||||
* | targets/egl: Fix crashes from loading invalid modules. | Chia-I Wu | 2010-09-10 | 1 | -4/+1 |
| | | | | Be defensive. | ||||
* | gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2. | Chia-I Wu | 2010-09-10 | 9 | -86/+50 |
| | | | | They are no longer used. | ||||
* | st/egl: Use profiles to create OpenGL ES contexts. | Chia-I Wu | 2010-09-10 | 10 | -189/+92 |
| | | | | | | | 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. | ||||
* | st/dri: Use profiles to create OpenGL ES contexts. | Chia-I Wu | 2010-09-10 | 4 | -46/+14 |
| | | | | | | 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. | ||||
* | gallium: Add context profile support to st_api. | Chia-I Wu | 2010-09-10 | 8 | -32/+171 |
| | | | | | | | | | | | | | | | 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. | ||||
* | r600g: fixup state calculations for picking states. | Dave Airlie | 2010-09-10 | 7 | -29/+16 |
| | | | | | 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. | ||||
* | r600g: fixup CB state numbering header | Dave Airlie | 2010-09-10 | 3 | -95/+36 |
| | |||||
* | r600g: fix warning in r600 pipe driver | Dave Airlie | 2010-09-10 | 3 | -15/+14 |
| | |||||
* | r600g: evergreen CBs are more sane to support with a single state | Dave Airlie | 2010-09-10 | 3 | -82/+3 |
| | |||||
* | r600g: add multi-buffer flush support properly. | Dave Airlie | 2010-09-10 | 1 | -6/+7 |
| | |||||
* | r600g: fix regression in multi-buffer tests since CB flush merge | Dave Airlie | 2010-09-10 | 1 | -14/+14 |
| | |||||
* | i965: Add switch cases for ir_unop_noise, which should have been lowered. | Eric Anholt | 2010-09-09 | 2 | -0/+7 |
| | | | | Fixes compiler warnings. | ||||
* | r600g: add initial evergreen support | Dave Airlie | 2010-09-10 | 25 | -62/+5303 |
| | | | | | | | | | | 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 | ||||
* | r600g: align flushing of cb/db with DDX/r600c. | Dave Airlie | 2010-09-10 | 5 | -32/+95 |
| | | | | | | | | | 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. | ||||
* | r600g: don't need 3 bos here. | Dave Airlie | 2010-09-10 | 2 | -8/+4 |
| | | | | the code should reloc correctly a single BO 3 times. | ||||
* | graw: added test for finding shader mem leaks | Brian Paul | 2010-09-09 | 2 | -0/+267 |
| | |||||
* | draw: minor reformatting | Brian Paul | 2010-09-09 | 1 | -2/+1 |
| | |||||
* | graw: emit warnings when context/surface creation failes | Brian Paul | 2010-09-09 | 1 | -3/+11 |
| | |||||
* | winsys: emit warning in null_sw_displaytarget_create() | Brian Paul | 2010-09-09 | 1 | -0/+2 |
| | |||||
* | graw: fix array size, indentation, | Brian Paul | 2010-09-09 | 1 | -7/+10 |
| | |||||
* | glsl2: Fix scons build for all platforms | Jakob Bornecrantz | 2010-09-10 | 1 | -0/+1 |
| | |||||
* | Revert "glapi: Implement optional dispatch logging" | Kristian Høgsberg | 2010-09-09 | 8 | -130/+25 |
| | | | | | | 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. | ||||
* | glsl2: Implement noise[1234] built-in functions using ir_unop_noise | Ian Romanick | 2010-09-09 | 5 | -104/+458 |
| | |||||
* | glsl2: Add EmitNoNoise flag, use it to remove noise opcodes | Ian Romanick | 2010-09-09 | 5 | -11/+8 |
| | |||||
* | glsl2: Add lowering pass to remove noise opcodes | Ian Romanick | 2010-09-09 | 4 | -1/+75 |
| | |||||
* | glsl2: Add ir_unop_noise | Ian Romanick | 2010-09-09 | 3 | -0/+15 |
| | |||||
* | glsl/builtins: normalize of a negative scalar should be -1.0. | Kenneth Graunke | 2010-09-09 | 2 | -2/+2 |
| | |||||
* | mesa: Only reference logging symbols in debug builds | Kristian Høgsberg | 2010-09-09 | 1 | -0/+11 |
| | |||||
* | mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer | Kristian Høgsberg | 2010-09-09 | 2 | -1/+10 |
| | | | | | | 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. | ||||
* | glapi: Fix non-debug builds | Jakob Bornecrantz | 2010-09-09 | 1 | -1/+1 |
| | |||||
* | st/dri: support EGL_MESA_image_drm: queryImage | ben | 2010-09-09 | 1 | -0/+30 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | st/dri: support EGL_MESA_image_drm: createImage | ben | 2010-09-09 | 1 | -0/+58 |
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> | ||||
* | eglglx: Convert glx visuals/fbconfigs straight to EGL configs | Kristian Høgsberg | 2010-09-09 | 5 | -292/+101 |
| | | | | In other words, skip the __GLcontextModes middle man. | ||||
* | egl: Remove old egldri driver | Kristian Høgsberg | 2010-09-09 | 3 | -1390/+0 |
| | | | | This driver doesn't work with any of the DRI drivers in the source tree. | ||||
* | glapi: Implement optional dispatch logging | Kristian Høgsberg | 2010-09-09 | 8 | -25/+119 |
| | | | | | | | 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. | ||||
* | glx: Optimize out no-op make current calls | Kristian Høgsberg | 2010-09-09 | 1 | -0/+4 |
| | | | | | This make a lot more sense now that we might have to recreate the glx drawables for legacy code paths. | ||||
* | egl: Use _EGL_CHECK_DISPLAY in eglCreateContext. | Chia-I Wu | 2010-09-10 | 1 | -1/+1 |
| | | | | | _EGL_CHECK_DISPLAY checks the display and returns from eglCreateContext on error. | ||||
* | egl: Display may be NULL in _eglLookup*. | Chia-I Wu | 2010-09-10 | 3 | -3/+3 |
| | | | | This fixes several NULL dereferences. | ||||
* | llvmpipe: remove redundant tgsi_dup_tokens() call | Brian Paul | 2010-09-09 | 1 | -3/+0 |
| | | | | We were calling this twice so the first allocation was orphaned/leaked. | ||||
* | dri/nouveau: Expose EXT_texture_env_combine. | Francisco Jerez | 2010-09-09 | 1 | -0/+1 |
| | |||||
* | dri/nv10-nv20: Add support for NV_texture_env_combine4. | Francisco Jerez | 2010-09-09 | 2 | -13/+19 |
| | |||||
* | dri/nv04: Add support for NV_texture_env_combine4. | Francisco Jerez | 2010-09-09 | 2 | -13/+24 |
| | |||||
* | dri/nouveau: Minor cleanup. | Francisco Jerez | 2010-09-09 | 1 | -21/+29 |
| | |||||
* | glx: Fix another use-after-free problem | Kristian Høgsberg | 2010-09-09 | 1 | -1/+3 |
| | |||||
* | r600: add TXL instruction and note about TXB | Andre Maasikas | 2010-09-09 | 1 | -5/+12 |
| | |||||
* | r600: remove depth exports move, just set to output x <- z in the export ↵ | Andre Maasikas | 2010-09-09 | 1 | -70/+5 |
| | | | | intruction | ||||
* | r600: protect cleanup instructions from double free | Andre Maasikas | 2010-09-09 | 2 | -2/+20 |
| | | | | | We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row |