summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-12nouveau: nv30: Define number of texture samplersPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12wgl: Do not reach out and destroy contexts on cleanup.José Fonseca
Simply skip cleanup when contexts are still active. This addresses two issues: - in some situations the ICD DLL may be unloaded before the DLL that is using GL contexts is, so we may receive GL calls after stw_cleanup. - when aborting (exception, or control-c) the contexts may have been left in an inconsistent state and attempting to destroy can cause unpredictable results.
2010-02-12gdi: Never fail at DLL load time.José Fonseca
Windows doesn't really expect things to fail at this point -- it will try many times until it finally gives up, worse, something bad happens. The WGL state tracker will gracefully decline to do work even when it is loaded.
2010-02-12wgl: Fail gracefully whenever 3D could not be enabled for some reason.José Fonseca
2010-02-12svgadump: Several improvements to shader dumping.José Fonseca
2010-02-12glu/sgi: Initialize member of class primStream.Vinson Lee
2010-02-12glu/sgi: Initialize members of class Arc.Vinson Lee
2010-02-12glu/sgi: Initialize member of class Bin.Vinson Lee
2010-02-12nouveau: use AVAIL_RING()Ben Skeggs
2010-02-12nouveau: switch to nouveau_bo_new_tile()Ben Skeggs
2010-02-11svga: check min_index, max_index before assertionsBrian Paul
It's possible for min_index and max_index to be ~0 if the min/max values were not actually set or computed in the state tracker. Skip some assertions in that case. This only effects the debug build error checking. (cherry picked from commit 408f32dc165b36eb5ec0e2bbc7dcecd28f3a62d3)
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