summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-26st/mesa: Remove unnecessary headers.Vinson Lee
2010-06-26draw: Remove unnecessary header.Vinson Lee
2010-06-25draw: deleted by mistakeZack Rusin
2010-06-25draw: initialize headers in the none post paths as wellZack Rusin
2010-06-25draw: limit the number of vertex shader variants kept aroundZack Rusin
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.
2010-06-25draw: initialize vertex headerZack Rusin
2010-06-25gallium/util: fix pipe_sampler_view_reference() callsBrian Paul
The conditionals aren't needed.
2010-06-25softpipe: rename a varBrian Paul
2010-06-25draw: Work around an invalid write.Chia-I Wu
SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround.
2010-06-25mesa: initialize extension string when context is first boundBrian Paul
...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.
2010-06-25llvmpipe: fix comment typoBrian Paul
2010-06-25softpipe: fix comment typoBrian Paul
2010-06-24r300g: a couple more chipsets do not have HiZ RAMMarek Olšák
2010-06-24gallium/docs: Vertex data formats.Corbin Simpson
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.
2010-06-24glhd: Add test for logicop enable.Corbin Simpson
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
2010-06-24gallium/docs: Lops override the rest of the blending state when enabled.Corbin Simpson
2010-06-24gallium/docs: updated remaining semantic label docsBrian Paul
2010-06-24pipe: Add PIPE_OS_HURDnobled
One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-06-24gallium/docs: Add lop table.Corbin Simpson
Was feeling kind of weird without it.
2010-06-24gallium/docs: Slight clarification and formatting for Blend.Corbin Simpson
2010-06-23Merge branch 'shader-file-reorg'Brian Paul
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
2010-06-24r300g: remove an XXX commentMarek Olšák
2010-06-24r300g: move AA registers into the new AA stateMarek Olšák
2010-06-24r300g: separate the cache flush from the framebuffer stateMarek Olšák
2010-06-24r300g: reorder and cleanup register writes everywhereMarek Olšák
2010-06-24r300g: add "has HiZ" flag, add ZMask regsMarek Olšák
2010-06-23gallium/docs: document TGSI_SEMANTIC_EDGEFLAGBrian Paul
2010-06-23gallium/docs: update TEXTURE_SHADOW_MAP MAX_PREDICATE_REGISTERSBrian Paul
2010-06-23gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLORBrian Paul
2010-06-23draw: use gallium's TRUE/FALSEBrian Paul
2010-06-23llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-23glhd: Simple rasterizer checks.Corbin Simpson
From the documentation.
2010-06-23id, glhd: Unbreak texturing.Corbin Simpson
Argfl.
2010-06-23glhd: Use an environment variable (GALAHAD) to enable. Off by default.Corbin Simpson
2010-06-23draw: don't try to precalculate the pipeline output primitiveKeith Whitwell
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.
2010-06-23draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose codeBrian Paul
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.
2010-06-23egl: Add a test for MESA_EGL_NO_X11_HEADERS.Chia-I Wu
When the macro is defined, X11 headers will not be included.
2010-06-23egl: Add support for EGL_MESA_drm_display.Chia-I Wu
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.
2010-06-23egl: Introduce platform displays internally.Chia-I Wu
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.
2010-06-23radeong: Disable Galahad for now; breaks texturing.Corbin Simpson
2010-06-22id, glhd: Fix malloc/calloc of struct.Corbin Simpson
( >&)
2010-06-22glhd: Add query protection.Corbin Simpson
Not quite copied from r300g. This is slightly more API-compliant.
2010-06-22glhd: Grab framebuffer state checks from r300g.Corbin Simpson
2010-06-22glhd: Grab resource_copy_region from r300g.Corbin Simpson
2010-06-22glhd: Grab is_format_supported warning from r300g.Corbin Simpson
2010-06-22glhd: Add glhd_warn for unconditional stderr output.Corbin Simpson
Design decision. Bad API errors should never be silenced. Of course, you can always not use galahad.
2010-06-22id, glhd: Fix segfault with misreferenced pipe member.Corbin Simpson
And remove the offending member to keep that from happening again.
2010-06-22targets, radeong: Add Galahad.Corbin Simpson
Currently unconditional and causes segfaults.
2010-06-22configure: Add galahad to default build.Corbin Simpson
2010-06-22gallium/drivers: Create Galahad from identity.Corbin Simpson
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.