summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | glhd: Grab resource_copy_region from r300g.Corbin Simpson2010-06-222-8/+8
| |
* | glhd: Grab is_format_supported warning from r300g.Corbin Simpson2010-06-222-6/+4
| |
* | glhd: Add glhd_warn for unconditional stderr output.Corbin Simpson2010-06-222-0/+10
| | | | | | | | | | | | Design decision. Bad API errors should never be silenced. Of course, you can always not use galahad.
* | id, glhd: Fix segfault with misreferenced pipe member.Corbin Simpson2010-06-224-6/+4
| | | | | | | | And remove the offending member to keep that from happening again.
* | targets, radeong: Add Galahad.Corbin Simpson2010-06-225-3/+8
| | | | | | | | Currently unconditional and causes segfaults.
* | configure: Add galahad to default build.Corbin Simpson2010-06-221-1/+1
| |
* | gallium/drivers: Create Galahad from identity.Corbin Simpson2010-06-2211-0/+1930
| | | | | | | | | | | | | | Galahad is a sanity-checking layer meant to replace the crufty and scattered sanity checks inside drivers with a robust, non-silenceable, useful set of warnings and errors that can be used to keep misbehaving state trackers from going unnoticed.
* | mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv()Brian Paul2010-06-221-1/+44
| | | | | | | | | | | | | | This is a follow-on to commit 80dfec3e53fd5b5c8c31fb16376c9910258c91b0. The valid attachments for glGetFramebufferAttachmentParameteriv() depends on whether we're querying the default FBO or a user-created FBO.
* | r300/compiler: allow 1024 instructions in r5xx vertex shadersMarek Olšák2010-06-233-9/+12
| |
* | r300/compiler: allow 32 temporaries in vertex shadersMarek Olšák2010-06-232-4/+4
| |
* | r300/compiler: emulate loops in vertex shadersMarek Olšák2010-06-232-4/+11
| | | | | | | | It is not perfect, but it is the best we got.
* | mesa: fix assertion failure for GL_ALPHA FBOsMarek Olšák2010-06-231-0/+1
| |
* | r300g: attempt to fix texture corruption on RV505Marek Olšák2010-06-231-0/+2
| |
* | r300g: index buffer range checkingMarek Olšák2010-06-231-0/+6
| |
* | i915g: Revert debug hunks from last commitJakob Bornecrantz2010-06-221-2/+2
| |
* | i915g: Reduce state emission by using a index biasJakob Bornecrantz2010-06-221-27/+122
| |
* | i915g: Drop fifo code in vbufJakob Bornecrantz2010-06-221-43/+2
| |
* | i915g: Change state code in vbuf codeJakob Bornecrantz2010-06-221-12/+23
| |