summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-11main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵Karl Schultz
just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines.
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11glxgears_fbconfig: Use glXCreateWindow and glXDestroyWindowIan Romanick
2010-02-11glxgears_fbconfig: Use GLX 1.3 name for function poiner typesIan Romanick
2010-02-11glx: Pass fbconfig ID or visual ID to CreateContextIan Romanick
Pass either the fbconfig ID or the visual ID, as appropriate, to CreateContext. Now CreateContext does not derefernce fbconfig or vis (which no longer exists as a parameter).
2010-02-11glx: Use the screen parameter everywhere instead of vis->screen, etc.Ian Romanick
2010-02-11glx: Move work of converting a visual to an fbconfigIan Romanick
For the direct rendering case, the DRI createContext function wants an fbconfig. When glXCreateContext is called, we have to convert the visual to an fbconfig. This work was done in CreateContext, but it makes more sense for it to be done in glXCreateContext.
2010-02-11glx: Re-indent CreateContext after the previous commitIan Romanick
2010-02-11glx: Handle imported contexts outside of CreateContextIan Romanick
A long time ago I was a bit over-agressive in refactoring context creation into a single function. The creation code for glXImportContextEXT does not belong in CreateContext because it does not use any GLX protocol. The big if-statement for the import case routed around almost the entire function anyway.
2010-02-11glx: Pass screen number as parameter to CreateContextIan Romanick
Passing the screen parameter to CreateContext will simplify a couple of changes that are coming.
2010-02-11glx: Pass opcode to CreateContext instead of use_glx_1_3 parameterIan Romanick
Passing the opcode directly instead of having CreateContext infer it from the value of fbconfig and the use_glx_1_3 flag will simplify some changes that are coming.
2010-02-11glx: Fix interval test in glXSwapIntervalMESAIan Romanick
It appears that, in spite of what the spec says, the interval parameter to glXSwapIntervalMESA has been an unsigned int since day-1. This made the 'if (interval < 0)' test useless. The test is removed and the spec is updated to note that the interval is an unsigned value.
2010-02-11glx: Change type to eliminate 'comparison between signed and unsigned' warningIan Romanick
2010-02-11glx: Add casts to eliminate 'comparison between signed and unsigned' warningsIan Romanick
2010-02-11glx: Eliminate several 'unused variable' warnings in glxcmds.c.Ian Romanick
2010-02-11glx: Use wrapper macro to detect direct renderingIan Romanick
The wrapper macro GC_IS_DIRECT is used in CreateContext and a couple other places to eliminate the need for some of the '#ifdef GLX_DIRECT_RENDERING' madness. There appear to be a *LOT* of places in glxcmds.c where '#ifdef GLX_DIRECT_RENDERING' is missing.
2010-02-11Turn off 64-bit portability problems detection.Karl Schultz
2010-02-11nouveau: fix compile errors...Roland Scheidegger
2010-02-11glapi: Avoid #including gl.hKristian Høgsberg
It's only used for a couple of integer types and and might conflict with other client API header files.
2010-02-11i915: Remove always-true irq_active struct intel_screen fieldKristian Høgsberg
2010-02-11i915: Remove a few DRI1 era struct intel_screen fieldsKristian Høgsberg
2010-02-11i915: Drop intelScreenPrivate typedef and just call it struct intel_screenKristian Høgsberg
2010-02-11i915: Remove unused intelRegion structKristian Høgsberg
Phew, sure is nice to only have one struct called intel region.
2010-02-11nv50: adapt to stencil ref changesRoland Scheidegger
2010-02-11nv40: adapt to stencil ref changesRoland Scheidegger
2010-02-11i915: Remove left-over drmUnmap()Kristian Høgsberg
2010-02-11nv30: adapt to stencil ref changesRoland Scheidegger
not sure if this has any hope of working
2010-02-11mesa: additional constant/limit assertionsBrian Paul
2010-02-11svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-11gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger
2010-02-11Add git tipsKarl Schultz
2010-02-11r300g: adapt to stencil ref changesRoland Scheidegger
2010-02-11cell: adapt to stencil ref changesRoland Scheidegger
not betting this compiles, some of the code handling stencil test seems incomplete and/or never called?
2010-02-11i965g: adapt to stencil ref changesRoland Scheidegger
while there also potentially fix logic ops (were never enabled before)
2010-02-11i915g: adapt to stencil ref changesRoland Scheidegger
2010-02-11gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger
seems cleaner, and other dynamic state like viewport is handled that way too
2010-02-11st/mesa: fix gallium texture level selection for RTTBrian Paul
Fixes invalid texture level when rendering to a texture where GL_BASE_LEVEL > 0. This will be cherry-picked to the 7.7 branch after additional testing.
2010-02-11mesa: remove darwin-x86ppc and dangling darwin refs in MakefileBrian Paul
2010-02-11docs: remove old CVS referencesBrian Paul
2010-02-11Revert "llvmpipe: Move tile coordinate assertion into a more useful place."José Fonseca
This reverts commit 8c0391726a89414356c705fcc2d5a38d12d0fe2b. Too pendantic.
2010-02-11scons: Fix drm/intel build.José Fonseca
2010-02-11llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.José Fonseca
Avoids assertion failures with certain shaders.
2010-02-11llvmpipe: Move tile coordinate assertion into a more useful place.José Fonseca
2010-02-11llvmpipe: Clamp both extremes of triangles to framebuffer size.José Fonseca
Fix segmentation fault when triangles crossed the axis.
2010-02-11gallivm: TGSI_OPCODE_CONT is not deprecated.José Fonseca
Note that with FIXME instead of an assertion failure. Addresses fdo 25956.
2010-02-11nouveau: remove u_simple_screen.h includesBen Skeggs
2010-02-11gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger
makes life of state trackers easier
2010-02-10i965g: ifdef out unused functions.Vinson Lee
2010-02-10r300g: Work around "defect" in r300compiler.Corbin Simpson
r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them.
2010-02-10st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c.Vinson Lee