path: root/GL
AgeCommit message (Collapse)AuthorFilesLines
2006-07-06Add GLX_MESA_copy_sub_buffer marshalling support.Kristian Høgsberg4-2/+62
2006-07-06Drop unused GL/include subtree.Kristian Høgsberg7-156/+1
Woo, less Makefile's to generate.
2006-07-06Implement glXCreateWindow and glXDestroyWindow.Kristian Høgsberg2-53/+85
2006-07-06Move __GLXdrawable lookup and creation into GetDrawableOrPixmap.Kristian Høgsberg2-154/+72
Also refactors __glXSwapBuffers to use GetDrawableOrPixmap for getting the __GLXdrawable. This patch paves the way for GLXWindows with XIDs different from the X Windows they are created for, a prerequisite for glXCreateWindow().
2006-07-06Drop global GLX error integer variables and use __glXError() instead.Kristian Høgsberg8-211/+99
Also drop glxerror.h (__glXError is now declared in glxserver.h) and global.c (last remaining globals are in glxext.c now). With this change we now support all GLX 1.3 error codes.
2006-07-06Move createDrawable from __GLXcontext to __GLXscreen.Kristian Høgsberg6-86/+99
2006-07-06Add marshalling for GLX 1.3 requests.Kristian Høgsberg5-38/+207
Also, hook up glXGetDrawableAttributes and glXQueryContext to existing DoGetDrawableAttributes and __glXQueryContextInfoEXT.
2006-06-27Add damage tracking to GLX_EXT_tfp implementation.Kristian Høgsberg4-43/+108
- Only update when pixmap content actually change; - Only update the regions that acutally changed. This is a worthwhile optimization, but it doesn't completely remove the bottleneck, as mesa still uploads then entire texture whenever it changes.
2006-06-24Fix byte swapping in some GLX requests.Michel Dänzer1-2/+2
2006-06-18Add some missing .gitignore stuff for Mesa symlinks and other generated files.Eric Anholt2-0/+37
2006-06-12Add arrayobj.c to the Makefile as well.Ian Romanick1-0/+1
2006-06-12Add new Mesa files arrayobj.c and arrayobj.h.Ian Romanick1-0/+2
2006-05-29Remove superfluous definition of tfp tokens.Kristian Høgsberg1-8/+0
2006-05-25update to build against Mesa CVS HEAD (Carlos Eduardo Rodrigues Diogenes).Matthieu Herrb2-0/+3
2006-04-13Fix build for added file to Mesa CVS. This is always fun. :(Ian Romanick1-0/+1
2006-04-07Coverity #985: Avoid segfault on malloc failure.Adam Jackson1-2/+2
2006-04-03Coverity #271: Fix an unbelievably boneheaded NULL chase.Adam Jackson1-1/+1
2006-04-03Coverity #986: Prevent a NULL chase.Adam Jackson1-2/+2
2006-04-02Use xf86LoaderCheckSymbol to check for DRI symbols instead of dlsym,Kristian Høgsberg1-2/+2
avoiding RTLD_DEFAULT. (__glXDRIscreenProbe): Change GLX-DRI to AIGLX in LogMessage for consitency.
2006-04-02Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as itEric Anholt1-1/+1
does on Linux.
2006-03-30Mark the ARGB FBConfig as nonconforming to prevent drivers and apps fromKristian Høgsberg13-14/+72
falling over. Add @GLX_DEFINES@ so GLcore gets compiled with TLS support if configured. Only destroy the mesa buffer if it got initialized.
2006-03-30Regenerate these files using updated scripts to avoid unused variableKristian Høgsberg3-151/+155
2006-03-28Fix a couple of typos.Kristian Høgsberg1-1/+1
2006-03-28Add --enable-glx-tls ./configure option to enable use of TLS for storingKristian Høgsberg1-1/+2
current GL context. Use this option to let AIGLX load DRI drivers compiled for TLS.
2006-03-24Make sure DRI module is loaded before calling DRI functions.Kristian Høgsberg1-0/+5
2006-03-22Improve error logging.Kristian Høgsberg1-27/+17
2006-03-21Make the server distcheck and tag snapshot.xorg-server-1_0_99_1Kristian Høgsberg1-1/+1
Bump CVS version to Distcheck fixes.
2006-03-21#include indirect_dispatch to get prototypes for FBO functions.Kristian Høgsberg5-1/+8
Fix a couple of warnings.
2006-03-20Finish glx_ansic.h wrapper changes to make Xvfb and Xnest link again.Donnie Berkholz4-12/+6
2006-03-17Check for glproto when building GLX and make sure we have at least 1.4.6.Kristian Høgsberg13-201/+125
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs directly.
2006-03-17More patches from David Reveman:Kristian Høgsberg8-2/+364
Add GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object and GL_NV_texture_env_combine4 extensions. Add __GLXcontext destructor and flush context cache there and on loseCurrent. Chain back to new __GLXcontext destructor. (__glXMesaContextForceCurrent): Set render table on forceCurrent. (init_screen_visuals): Index pVis array correctly. (GlxGetMesaProvider): Add this. Hook up FBO marshalling.
2006-03-15Update to build against Mesa CVS HEAD.Felix Kuehling2-1/+7
2006-03-14Bail out early if screen doesn't support DRI.Kristian Høgsberg1-1/+8
2006-03-13First batch of AIGLX fixes from David Reveman.Kristian Høgsberg5-21/+37
Add getter for Mesa provider. Export this for Xgl. Move resource tracking out of drawable constructor to allow wrapping. Use corrent reply size #define. Add this function. (DoGetDrawableAttributes): Fix array length.
2006-03-12Merge accel_indirect branch to HEAD.Kristian Høgsberg29-2661/+2320
2006-03-05Definitions for bswapxx() macros on OpenBSD.Matthieu Herrb2-0/+10
2006-03-02Fix build against Mesa CVS HEAD: added s_blit.c to Kuehling1-0/+1
2006-03-02added s_blit.c fileBrian Paul1-0/+1
2006-02-27Fixing the Mesa build again, sigh. Add slang_execute_x86.c. AddFelix Kuehling3-0/+3
-I../shader/slang to swrast INCLUDES.
2006-02-22Bug #5978: Added missing swap of input variables. Added missing cases forAlexander Gottwald1-0/+14
2006-02-22Update to build against Mesa HEAD. (Thank you Felix for feedback on xorgJeremy C. Reed2-0/+6
2006-02-20Update to build against Mesa HEAD.Felix Kuehling2-0/+3
2006-02-15Define NO_LIBCWRAPPER in dix-config.h, and rely on Mesa includingEric Anholt11-20/+11
dix-config.h if DIX_HAVE_CONFIG_H is defined to get it and _XSERVER64, instead of defining things like this per directory.
2006-02-15Update to build against mesa head.Kristian Høgsberg2-0/+3
2006-02-15Avoid some more libcwrapper damage that prevented kdrive linking.Eric Anholt1-1/+2
2006-02-14update to latest Mesa CVS HEADDave Airlie2-0/+3
2006-02-11Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get itEric Anholt10-10/+19
compiling in kdrive.
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt9-10/+17
of (marginal) use in the drivers, and that usage remains.
2006-02-10Remove the include of X11/misc.h, which fails to compile and isn'tEric Anholt1-1/+0
2006-01-30Update to build against Mesa trunk.Donnie Berkholz2-2/+14