summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-23192-2435/+2357
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10138-461/+459
| |
| * mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-1053-45/+45
| | | | | | | | 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 support for EGL_MESA_drm_display.Chia-I Wu2010-06-233-0/+16
| | | | | | | | | | | | | | 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.
* | 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
| |