summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-11i915: Remove left-over drmUnmap()Kristian Høgsberg
2010-02-11mesa: additional constant/limit assertionsBrian Paul
2010-02-11svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
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-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-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
2010-02-10swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee
2010-02-10os: Do not use Pthreads barrier functions on Mac OS X.Vinson Lee
Pthreads barrier functions are not available on some POSIX platforms.
2010-02-10ffb: Fix build.Vinson Lee
2010-02-10gallium: cast to silence waringBrian Paul
2010-02-10gallium: use os_time.hBrian Paul
2010-02-10gallium: use os_time.h in pb_bufmgr_cache.cBrian Paul
Untested, but seems straightforward.
2010-02-10gallium: use os_time.h in u_timed_winsys.cBrian Paul
2010-02-10dri: Fix one last copy-and-paste brain damage from a previous commitIan Romanick
2010-02-10scons: User friendly message for code generated filesJosé Fonseca
2010-02-10r300g: Fix typo.Corbin Simpson
Thanks to Uros Bizjak for catching it.
2010-02-10r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson
Fixes fallout from 9a1bf52c.
2010-02-10llvmpipe: Map rendertargets when bound as textures.José Fonseca
Fixes gearbox segfault (fdo 25960). Corruption remains.
2010-02-10dri: Fix copy-and-paste brain damage in previous commitIan Romanick
A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-10intel: Don't expose GLX_SWAP_EXCHANGE_OMLIan Romanick
We can't always guarantee that the swap will happen by exchange, so we can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the case where the swap *might be* by exchange. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Expose a minimal number of configs with accumulation bufferIan Romanick
Expose one config per color depth that includes accumulation buffer. We could probably expose only one config with accumulation buffer, but that would require figuring out the actual color depth. This is easier and only exposes 2 useless configs. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick
Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-10intel: Stop exposing useless 24 depth/0 stencil configsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10intel: Update comment in intelInitScreen2 to noting DRI2 protocol issuesIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>