Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/docs: Slight clarification and formatting for Blend. | Corbin Simpson | 2010-06-24 | 1 | -7/+32 |
| | |||||
* | Merge branch 'shader-file-reorg' | Brian Paul | 2010-06-23 | 193 | -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 Paul | 2010-06-10 | 139 | -464/+462 |
| | | |||||
| * | mesa: move shader/slang/* sources to main/slang/* | Brian Paul | 2010-06-10 | 54 | -49/+49 |
| | | | | | | | | Reduce the source tree depth a bit. | ||||
| * | mesa: move nvprogram.[ch] to main/ | Brian Paul | 2010-06-10 | 7 | -13/+13 |
| | | |||||
| * | mesa: move arbprogram.[ch] to main/ | Brian Paul | 2010-06-10 | 9 | -12/+12 |
| | | |||||
| * | mesa: move atifragshader.[ch] to main/ | Brian Paul | 2010-06-10 | 9 | -12/+12 |
| | | |||||
| * | mesa: move uniforms.c to main/ | Brian Paul | 2010-06-10 | 6 | -6/+6 |
| | | |||||
| * | mesa: refactor shader api / object code | Brian Paul | 2010-06-10 | 20 | -1872/+1793 |
| | | | | | | | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/. | ||||
| * | i965: remove UseProgram driver callback | Brian Paul | 2010-06-10 | 1 | -10/+0 |
| | | | | | | | | It just duplicated the default/core Mesa behaviour. | ||||
* | | r300g: remove an XXX comment | Marek Olšák | 2010-06-24 | 1 | -7/+0 |
| | | |||||
* | | r300g: move AA registers into the new AA state | Marek Olšák | 2010-06-24 | 7 | -29/+80 |
| | | |||||
* | | r300g: separate the cache flush from the framebuffer state | Marek Olšák | 2010-06-24 | 5 | -18/+54 |
| | | |||||
* | | r300g: reorder and cleanup register writes everywhere | Marek Olšák | 2010-06-24 | 5 | -80/+79 |
| | | |||||
* | | r300g: add "has HiZ" flag, add ZMask regs | Marek Olšák | 2010-06-24 | 3 | -0/+23 |
| | | |||||
* | | gallium/docs: document TGSI_SEMANTIC_EDGEFLAG | Brian Paul | 2010-06-23 | 1 | -1/+9 |
| | | |||||
* | | gallium/docs: update TEXTURE_SHADOW_MAP MAX_PREDICATE_REGISTERS | Brian Paul | 2010-06-23 | 1 | -2/+10 |
| | | |||||
* | | gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLOR | Brian Paul | 2010-06-23 | 1 | -18/+26 |
| | | |||||
* | | draw: use gallium's TRUE/FALSE | Brian Paul | 2010-06-23 | 2 | -2/+2 |
| | | |||||
* | | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-06-23 | 1 | -1/+0 |
| | | |||||
* | | glhd: Simple rasterizer checks. | Corbin Simpson | 2010-06-23 | 1 | -0/+10 |
| | | | | | | | | From the documentation. | ||||
* | | id, glhd: Unbreak texturing. | Corbin Simpson | 2010-06-23 | 2 | -0/+2 |
| | | | | | | | | Argfl. | ||||
* | | glhd: Use an environment variable (GALAHAD) to enable. Off by default. | Corbin Simpson | 2010-06-23 | 2 | -2/+4 |
| | | |||||
* | | draw: don't try to precalculate the pipeline output primitive | Keith Whitwell | 2010-06-23 | 8 | -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 code | Brian Paul | 2010-06-23 | 1 | -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 Wu | 2010-06-23 | 1 | -0/+10 |
| | | | | | | | | When the macro is defined, X11 headers will not be included. | ||||
* | | egl: Add support for EGL_MESA_drm_display. | Chia-I Wu | 2010-06-23 | 4 | -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 Wu | 2010-06-23 | 19 | -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 Simpson | 2010-06-23 | 1 | -1/+2 |
| | | |||||
* | | id, glhd: Fix malloc/calloc of struct. | Corbin Simpson | 2010-06-22 | 2 | -2/+2 |
| | | | | | | | | ( >&) | ||||
* | | glhd: Add query protection. | Corbin Simpson | 2010-06-22 | 2 | -1/+13 |
| | | | | | | | | Not quite copied from r300g. This is slightly more API-compliant. | ||||
* | | glhd: Grab framebuffer state checks from r300g. | Corbin Simpson | 2010-06-22 | 3 | -6/+13 |
| | | |||||
* | | glhd: Grab resource_copy_region from r300g. | Corbin Simpson | 2010-06-22 | 2 | -8/+8 |
| | | |||||
* | | glhd: Grab is_format_supported warning from r300g. | Corbin Simpson | 2010-06-22 | 2 | -6/+4 |
| | | |||||
* | | glhd: Add glhd_warn for unconditional stderr output. | Corbin Simpson | 2010-06-22 | 2 | -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 Simpson | 2010-06-22 | 4 | -6/+4 |
| | | | | | | | | And remove the offending member to keep that from happening again. | ||||
* | | targets, radeong: Add Galahad. | Corbin Simpson | 2010-06-22 | 5 | -3/+8 |
| | | | | | | | | Currently unconditional and causes segfaults. | ||||
* | | configure: Add galahad to default build. | Corbin Simpson | 2010-06-22 | 1 | -1/+1 |
| | | |||||
* | | gallium/drivers: Create Galahad from identity. | Corbin Simpson | 2010-06-22 | 11 | -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 Paul | 2010-06-22 | 1 | -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 shaders | Marek Olšák | 2010-06-23 | 3 | -9/+12 |
| | | |||||
* | | r300/compiler: allow 32 temporaries in vertex shaders | Marek Olšák | 2010-06-23 | 2 | -4/+4 |
| | | |||||
* | | r300/compiler: emulate loops in vertex shaders | Marek Olšák | 2010-06-23 | 2 | -4/+11 |
| | | | | | | | | It is not perfect, but it is the best we got. | ||||
* | | mesa: fix assertion failure for GL_ALPHA FBOs | Marek Olšák | 2010-06-23 | 1 | -0/+1 |
| | | |||||
* | | r300g: attempt to fix texture corruption on RV505 | Marek Olšák | 2010-06-23 | 1 | -0/+2 |
| | | |||||
* | | r300g: index buffer range checking | Marek Olšák | 2010-06-23 | 1 | -0/+6 |
| | | |||||
* | | i915g: Revert debug hunks from last commit | Jakob Bornecrantz | 2010-06-22 | 1 | -2/+2 |
| | | |||||
* | | i915g: Reduce state emission by using a index bias | Jakob Bornecrantz | 2010-06-22 | 1 | -27/+122 |
| | | |||||
* | | i915g: Drop fifo code in vbuf | Jakob Bornecrantz | 2010-06-22 | 1 | -43/+2 |
| | | |||||
* | | i915g: Change state code in vbuf code | Jakob Bornecrantz | 2010-06-22 | 1 | -12/+23 |
| | |