summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* draw: Remove unnecessary header.Vinson Lee2010-06-261-1/+0
|
* draw: deleted by mistakeZack Rusin2010-06-251-0/+1
|
* draw: initialize headers in the none post paths as wellZack Rusin2010-06-251-0/+8
|
* draw: limit the number of vertex shader variants kept aroundZack Rusin2010-06-258-62/+324
| | | | | | | we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders.
* draw: initialize vertex headerZack Rusin2010-06-253-43/+16
|
* gallium/util: fix pipe_sampler_view_reference() callsBrian Paul2010-06-251-7/+2
| | | | The conditionals aren't needed.
* softpipe: rename a varBrian Paul2010-06-251-4/+4
|
* draw: Work around an invalid write.Chia-I Wu2010-06-251-1/+1
| | | | | SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround.
* mesa: initialize extension string when context is first boundBrian Paul2010-06-252-2/+2
| | | | | | | | ...instead of waiting until glGetString(GL_EXTENSIONS) is called. This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is ignored if the app never calls glGetString(GL_EXTENSIONS). NOTE: this is a candidate patch for the 7.8 branch.
* llvmpipe: fix comment typoBrian Paul2010-06-251-1/+1
|
* softpipe: fix comment typoBrian Paul2010-06-251-1/+1
|
* r300g: a couple more chipsets do not have HiZ RAMMarek Olšák2010-06-241-0/+4
|
* gallium/docs: Vertex data formats.Corbin Simpson2010-06-241-3/+38
| | | | | | I'm not sure if I really got it right. This seems like one of those "Duh, of course it works that way" things, but I'd like the documentation to be readable by people not acquainted with OGL/D3D.
* glhd: Add test for logicop enable.Corbin Simpson2010-06-241-0/+7
| | | | | | | | | Only for first RT at the moment, as there is no trivial way in galahad to look at framebuffer state and (sadly) people don't usually calloc their CSOs, so flags could be wrongly set. On the other hand, of course, galahad will hopefully encourage more people to calloc their CSOs. :3
* gallium/docs: Lops override the rest of the blending state when enabled.Corbin Simpson2010-06-241-2/+4
|
* gallium/docs: updated remaining semantic label docsBrian Paul2010-06-241-22/+33
|
* pipe: Add PIPE_OS_HURDnobled2010-06-241-0/+5
| | | | | | | One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <[email protected]>
* gallium/docs: Add lop table.Corbin Simpson2010-06-241-0/+26
| | | | Was feeling kind of weird without it.
* gallium/docs: Slight clarification and formatting for Blend.Corbin Simpson2010-06-241-7/+32
|
* Merge branch 'shader-file-reorg'Brian Paul2010-06-23193-2442/+2364
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
| * mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-10139-464/+462
| |
| * mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-1054-49/+49
| | | | | | | | Reduce the source tree depth a bit.
| * mesa: move nvprogram.[ch] to main/Brian Paul2010-06-107-13/+13
| |
| * mesa: move arbprogram.[ch] to main/Brian Paul2010-06-109-12/+12
| |
| * mesa: move atifragshader.[ch] to main/Brian Paul2010-06-109-12/+12
| |
| * mesa: move uniforms.c to main/Brian Paul2010-06-106-6/+6
| |
| * mesa: refactor shader api / object codeBrian Paul2010-06-1020-1872/+1793
| | | | | | | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
| * i965: remove UseProgram driver callbackBrian Paul2010-06-101-10/+0
| | | | | | | | It just duplicated the default/core Mesa behaviour.
* | r300g: remove an XXX commentMarek Olšák2010-06-241-7/+0
| |
* | r300g: move AA registers into the new AA stateMarek Olšák2010-06-247-29/+80
| |
* | r300g: separate the cache flush from the framebuffer stateMarek Olšák2010-06-245-18/+54
| |
* | r300g: reorder and cleanup register writes everywhereMarek Olšák2010-06-245-80/+79
| |
* | r300g: add "has HiZ" flag, add ZMask regsMarek Olšák2010-06-243-0/+23
| |
* | gallium/docs: document TGSI_SEMANTIC_EDGEFLAGBrian Paul2010-06-231-1/+9
| |
* | gallium/docs: update TEXTURE_SHADOW_MAP MAX_PREDICATE_REGISTERSBrian Paul2010-06-231-2/+10
| |
* | gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLORBrian Paul2010-06-231-18/+26
| |
* | draw: use gallium's TRUE/FALSEBrian Paul2010-06-232-2/+2
| |
* | llvmpipe: Remove unnecessary header.Vinson Lee2010-06-231-1/+0
| |
* | glhd: Simple rasterizer checks.Corbin Simpson2010-06-231-0/+10
| | | | | | | | From the documentation.
* | id, glhd: Unbreak texturing.Corbin Simpson2010-06-232-0/+2
| | | | | | | | Argfl.
* | glhd: Use an environment variable (GALAHAD) to enable. Off by default.Corbin Simpson2010-06-232-2/+4
| |
* | draw: don't try to precalculate the pipeline output primitiveKeith Whitwell2010-06-238-34/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were previously calculating a value which was either the geometry shader output primitive or the application's input primitive, and passing that to the various front/middle/back components for use as the ultimate rendering primtive. Unfortunately, this was not correct -- if the vcache decomposition path is active and geometry shaders are *not* active, we can end up with a third primitive -- specifically the decomposed version of the input primitive. Rather than trying to precalculate this, just let the individual components inform their successors about which primitive type they are recieving.
* | draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose codeBrian Paul2010-06-231-25/+25
| | | | | | | | | | | | | | | | Any elt may potentially have flags bits set so mask off those bits everywhere. Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon stippling is still broken.
* | egl: Add a test for MESA_EGL_NO_X11_HEADERS.Chia-I Wu2010-06-231-0/+10
| | | | | | | | When the macro is defined, X11 headers will not be included.
* | egl: Add support for EGL_MESA_drm_display.Chia-I Wu2010-06-234-0/+27
| | | | | | | | | | | | | | The extension defines eglGetDRMDisplay that creates an EGLDisplay from a DRM fd. Calling eglCreateWindowSurace or eglCreatePixmapSurface with such displays will generate EGL_BAD_NATIVE_WINDOW or EGL_BAD_NATIVE_PIXMAP.
* | egl: Introduce platform displays internally.Chia-I Wu2010-06-2319-45/+100
| | | | | | | | | | | | | | | | | | | | | | This commit introduces type-safe platform displays internally. A platform display consists of a generic pointer and an enum that specifies the platform. An EGLDisplay is created from a platform display. Native displays become platform displays whose platform is determined by _eglGetNativePlatform(). Platform windows and pixmaps may also be introduced if needed.
* | radeong: Disable Galahad for now; breaks texturing.Corbin Simpson2010-06-231-1/+2
| |
* | id, glhd: Fix malloc/calloc of struct.Corbin Simpson2010-06-222-2/+2
| | | | | | | | ( >&)
* | glhd: Add query protection.Corbin Simpson2010-06-222-1/+13
| | | | | | | | Not quite copied from r300g. This is slightly more API-compliant.
* | glhd: Grab framebuffer state checks from r300g.Corbin Simpson2010-06-223-6/+13
| |