Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: change _mesa_find_free_register() to find multiple free regs | Brian Paul | 2010-02-01 | 3 | -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 Simpson | 2010-02-01 | 2 | -8/+60 |
| | | | | Oh look, more gears. Seems to work just fine though. | ||||
* | st/mesa: remove duplicate calculation of fp input mapping | Keith Whitwell | 2010-02-01 | 5 | -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 array | Keith Whitwell | 2010-02-01 | 2 | -12/+0 |
| | | | | Was being calculated and not used. Also was probably incorrect... | ||||
* | mesa: added _mesa_print_vp/p_inputs() functions (debug aids) | Brian Paul | 2010-02-01 | 2 | -0/+47 |
| | |||||
* | glslcompiler: add glapi_nop.o to OBJECTS | Brian Paul | 2010-02-01 | 1 | -0/+1 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-02-01 | 3 | -7/+0 |
| | |||||
* | glx: Remove unnecessary headers. | Vinson Lee | 2010-02-01 | 8 | -12/+0 |
| | |||||
* | st/dri: Remove duplicate type qualifier. | Vinson Lee | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | i965g: Add missing va_end. | Vinson Lee | 2010-01-31 | 1 | -0/+1 |
| | |||||
* | r300g: Fix memory leak on memory allocation failure. | Vinson Lee | 2010-01-31 | 1 | -1/+4 |
| | |||||
* | r600: Remove duplicate assignment. | Vinson Lee | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | egl: Remove unnecessary headers. | Vinson Lee | 2010-01-31 | 3 | -3/+0 |
| | |||||
* | nv04: Update to new nouveau_class.h | Marcin KoĆcielnicki | 2010-02-01 | 1 | -20/+20 |
| | | | | Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroy | Marcin Slusarz | 2010-02-01 | 3 | -6/+9 |
| | | | | Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | nv10, nv20: Fix build. | Francisco Jerez | 2010-02-01 | 2 | -2/+2 |
| | |||||
* | egl: Clean up surface attributes. | Chia-I Wu | 2010-01-31 | 3 | -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 Wu | 2010-01-31 | 4 | -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 Lee | 2010-01-31 | 3 | -3/+0 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-01-31 | 4 | -10/+0 |
| | |||||
* | i965: Silence uninitialized variable warning. | Vinson Lee | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | r300g: Silence uninitialized variable warning. | Vinson Lee | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | egl: Surface type validaction should depend on extensions supported. | Chia-I Wu | 2010-01-31 | 1 | -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 Wu | 2010-01-31 | 5 | -6/+8 |
| | | | | This changes _eglInitConfig to take the display as its argument. | ||||
* | egl: Initialize display resources with their display. | Chia-I Wu | 2010-01-31 | 9 | -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 Wu | 2010-01-31 | 1 | -10/+40 |
| | | | | Refactor attribute list parsing code to _eglParseImageAttribList. | ||||
* | egl: Refactor _eglInitContext. | Chia-I Wu | 2010-01-31 | 1 | -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 Wu | 2010-01-31 | 1 | -141/+146 |
| | | | | Refactor attribute list parsing code to _eglParseSurfaceAttribList. | ||||
* | i915: Set bit field of length 1 light_twoside to unsigned. | Vinson Lee | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | glut: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 6 | -6/+0 |
| | |||||
* | radeon: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 13 | -40/+0 |
| | |||||
* | r600: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 11 | -24/+0 |
| | |||||
* | r300: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 1 | -2/+0 |
| | |||||
* | r200: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 9 | -24/+0 |
| | |||||
* | r128: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 9 | -20/+0 |
| | |||||
* | egl: Remove code blocks that are commented out. | Chia-I Wu | 2010-01-31 | 4 | -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 Wu | 2010-01-31 | 2 | -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 Wu | 2010-01-31 | 1 | -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 Wu | 2010-01-31 | 1 | -16/+4 |
| | | | | | There is now _eglGetAPIContext that can return the current context of the given API. | ||||
* | intel: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 6 | -8/+0 |
| | |||||
* | i965: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 3 | -3/+0 |
| | |||||
* | i915: Remove unnecessary headers. | Vinson Lee | 2010-01-30 | 2 | -2/+0 |
| | |||||
* | intel: Respect texture tiling when doing a PBO blit teximage upload. | Eric Anholt | 2010-01-30 | 1 | -1/+2 |
| | | | | Bug #26008. Fixes piglit pbo-teximage-tiling-2. | ||||
* | Revert "r300g: Don't handle SHADOW_AMBIENT." | Corbin Simpson | 2010-01-30 | 1 | -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 Anholt | 2010-01-30 | 1 | -2/+2 |
| | | | | Bug #26290. | ||||
* | r300g: Independent blend enables only work on r500. | Corbin Simpson | 2010-01-30 | 2 | -5/+16 |
| | |||||
* | r300g: Don't handle SHADOW_AMBIENT. | Corbin Simpson | 2010-01-30 | 1 | -6/+0 |
| | | | | | | Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3 | ||||
* | r300g: Fix comment on SHADOW_AMBIENT. | Corbin Simpson | 2010-01-30 | 1 | -3/+2 |
| | |||||
* | gallium-docs: Fix missing PIPE_CAPs. | Corbin Simpson | 2010-01-30 | 2 | -4/+18 |
| | | | | Hmm, need to cross-ref those TGSI things. My work is never done... :3 | ||||
* | r300g: Dual-source blending isn't possible, period. | Corbin Simpson | 2010-01-30 | 2 | -6/+9 |
| |