summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: Update for EGL environment variables.Chia-I Wu2010-02-022-2/+7
| | | | | Mention that EGL_DRIVER should be a full path, and add a link from envvars.html to egl.html.
* progs/es2: Fix an assertion failure in tri.Chia-I Wu2010-02-021-2/+3
| | | | | EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks to Mike Stroyan for pointing out this error.
* st/mesa: fix texture deallocation bugBrian Paul2010-02-011-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug reported by Christoph Bumiller on mesa3d-dev. When a texture is first created as RGBA, then re-defined with glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate the original texture. When this texture was bound as a FBO surface, the depth/Z surface format was RGBA instead of Z. Depending on the driver this led to a failed assertion or FBO validation failure. This patch does three things: 1. Remove ancient code that mysteriously tested if we were replacing the smallest mipmap level and tested if the texture was not a cube map texture. I can't see any reason for those tests. 2. Move the width=height=depth=0 test to after the code which frees texture data. Calling glTexImage with width=height=depth=0 and data=NULL is a way to free a single mipmap level. 3. Update the code comments. There are no apparent conform, glean or piglit regressions from this change. (cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
* progs/tests: add another FBO test to exercise a RGBA vs. Z texture bugBrian Paul2010-02-013-0/+233
| | | | See comments in file for more details.
* mesa: change _mesa_find_free_register() to find multiple free regsBrian Paul2010-02-013-29/+62
| | | | | | | | | | | | | | | | | Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e)
* r300g: Inline immediates where possible.Corbin Simpson2010-02-012-8/+60
| | | | Oh look, more gears. Seems to work just fine though.
* st/mesa: remove duplicate calculation of fp input mappingKeith Whitwell2010-02-015-37/+12
| | | | | This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().
* st/mesa: remove dead stfp input_map arrayKeith Whitwell2010-02-012-12/+0
| | | | Was being calculated and not used. Also was probably incorrect...
* mesa: added _mesa_print_vp/p_inputs() functions (debug aids)Brian Paul2010-02-012-0/+47
|
* glslcompiler: add glapi_nop.o to OBJECTSBrian Paul2010-02-011-0/+1
|
* mesa: Remove unnecessary headers.Vinson Lee2010-02-013-7/+0
|
* glx: Remove unnecessary headers.Vinson Lee2010-02-018-12/+0
|
* st/dri: Remove duplicate type qualifier.Vinson Lee2010-01-311-1/+1
|
* i965g: Add missing va_end.Vinson Lee2010-01-311-0/+1
|
* r300g: Fix memory leak on memory allocation failure.Vinson Lee2010-01-311-1/+4
|
* r600: Remove duplicate assignment.Vinson Lee2010-01-311-1/+1
|
* egl: Remove unnecessary headers.Vinson Lee2010-01-313-3/+0
|
* nv04: Update to new nouveau_class.hMarcin Koƛcielnicki2010-02-011-20/+20
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroyMarcin Slusarz2010-02-013-6/+9
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* nv10, nv20: Fix build.Francisco Jerez2010-02-012-2/+2
|
* egl: Clean up surface attributes.Chia-I Wu2010-01-313-57/+127
| | | | | | Add missing attributes and use correct types in _EGLSurface. Remove ifdef tests that serve no purpose. Update _eglQuerySurface and _eglSurfaceAttrib for missing queries and checks.
* egl: Add support for more EGLImage extensions to EGL core.Chia-I Wu2010-01-314-11/+60
| | | | | | Add support EGL_KHR_vg_parent_image and EGL_KHR_gl_*. This is as simple as adding some flags that can be enabled. Individual drivers need to implement the extensions before enbaling the flags.
* st/mesa: Remove unnecessary headers.Vinson Lee2010-01-313-3/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-01-314-10/+0
|
* i965: Silence uninitialized variable warning.Vinson Lee2010-01-311-1/+1
|
* r300g: Silence uninitialized variable warning.Vinson Lee2010-01-301-1/+1
|
* egl: Surface type validaction should depend on extensions supported.Chia-I Wu2010-01-311-1/+2
| | | | | EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is supported.
* egl: Initialize display configs with the display.Chia-I Wu2010-01-315-6/+8
| | | | This changes _eglInitConfig to take the display as its argument.
* egl: Initialize display resources with their display.Chia-I Wu2010-01-319-18/+21
| | | | | | | Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
* egl: Refactor _eglInitImage.Chia-I Wu2010-01-311-10/+40
| | | | Refactor attribute list parsing code to _eglParseImageAttribList.
* egl: Refactor _eglInitContext.Chia-I Wu2010-01-311-19/+95
| | | | | Refactor attribute list parsing code to _eglParseContextAttribList. Add a check to make sure the config supports the client API.
* egl: Refactor _eglInitSurface.Chia-I Wu2010-01-311-141/+146
| | | | Refactor attribute list parsing code to _eglParseSurfaceAttribList.
* i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee2010-01-301-1/+1
|
* glut: Remove unnecessary headers.Vinson Lee2010-01-306-6/+0
|
* radeon: Remove unnecessary headers.Vinson Lee2010-01-3013-40/+0
|
* r600: Remove unnecessary headers.Vinson Lee2010-01-3011-24/+0
|
* r300: Remove unnecessary headers.Vinson Lee2010-01-301-2/+0
|
* r200: Remove unnecessary headers.Vinson Lee2010-01-309-24/+0
|
* r128: Remove unnecessary headers.Vinson Lee2010-01-309-20/+0
|
* egl: Remove code blocks that are commented out.Chia-I Wu2010-01-314-113/+4
| | | | | | They are either unit tests or to demonstrate how functions are supposed to be used. The unit test is outdated and it should be better to take a look at any of the working drivers to see how a function is used.
* progs/egl: Update eglinfo to display more attributes.Chia-I Wu2010-01-312-11/+21
| | | | | Add config caveat, bind-to-texture, and renderable type. Remove double buffer and stereo attributes.
* st/egl: Do not ignore configs without a renderable type.Chia-I Wu2010-01-311-6/+6
| | | | | Configs without a renderable type are still informative for programs such as eglinfo.
* st/egl: Remove egl_g3d_get_current_context.Chia-I Wu2010-01-311-16/+4
| | | | | There is now _eglGetAPIContext that can return the current context of the given API.
* intel: Remove unnecessary headers.Vinson Lee2010-01-306-8/+0
|
* i965: Remove unnecessary headers.Vinson Lee2010-01-303-3/+0
|
* i915: Remove unnecessary headers.Vinson Lee2010-01-302-2/+0
|
* intel: Respect texture tiling when doing a PBO blit teximage upload.Eric Anholt2010-01-301-1/+2
| | | | Bug #26008. Fixes piglit pbo-teximage-tiling-2.
* Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson2010-01-301-0/+6
| | | | | | This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
* intel: Fix inverting of inversion test for windows in glClear cleanup.Eric Anholt2010-01-301-2/+2
| | | | Bug #26290.
* r300g: Independent blend enables only work on r500.Corbin Simpson2010-01-302-5/+16
|