Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remember to call XSync() before resetting X error handler. | Chris Rankin | 2007-10-29 | 1 | -0/+1 |
| | |||||
* | Pull workaround for unset GLX_DRAWABLE_TYPE back in. | Kristian Høgsberg | 2007-10-17 | 1 | -0/+2 |
| | | | | | | | | | The old version just set GLX_DRAWABLE_TYPE to GLX_WINDOW_BIT for configs received through glXGetVisualConfigs and to GLX_WINDOW_BIT | GLX_PIXMAP_BIT for configs received as FBConfigs. The X server needs to send this info, but keep the workaround for now. Fixes #12835. | ||||
* | Handle fbconfigs and glx visuals separately. | Kristian Høgsberg | 2007-10-16 | 3 | -145/+133 |
| | | | | | | | | The old implementation fetches fbconfigs or glx visuals once and assumes the list describes both fbconfigs and glx visuals. This patch splits it up and fetches visuals and fbconfigs in two steps and keep the two lists separate. A server could have no glx visuals or no glx fbconfigs and the old code wouldn't know the difference. | ||||
* | Roll back premature version bump. | Kristian Høgsberg | 2007-10-15 | 1 | -3/+2 |
| | |||||
* | Dont add fbconfigs to array that we didn't allocate for. | Kristian Høgsberg | 2007-10-15 | 1 | -2/+4 |
| | |||||
* | Drop include "dri_interface.h" from xf86dri.h | George Sapountzis | 2007-10-14 | 1 | -2/+0 |
| | | | | Thanks to dri2, xf86dri no longer uses __DRI types. | ||||
* | Get the width and height from the attrib list in glXCreatePbuffer. | Kristian Høgsberg | 2007-10-13 | 1 | -1/+17 |
| | |||||
* | Convert a left-over private void * to __DRIcontext *. | Kristian Høgsberg | 2007-10-11 | 1 | -2/+2 |
| | |||||
* | Move enabling of DRI extensions into glxextensions.c | Kristian Høgsberg | 2007-10-11 | 3 | -91/+59 |
| | |||||
* | Remove now unused getProcAddress from DRIinterfaceMethods. | Kristian Høgsberg | 2007-10-11 | 1 | -15/+0 |
| | |||||
* | Add a DRI_ReadDrawable marker extension to signal read drawable capability. | Kristian Høgsberg | 2007-10-11 | 1 | -0/+7 |
| | |||||
* | Move media stream counter entry points to new extension. | Kristian Høgsberg | 2007-10-11 | 3 | -31/+43 |
| | |||||
* | Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism. | Kristian Høgsberg | 2007-10-11 | 3 | -25/+30 |
| | |||||
* | Move GLX_MESA_allocate_memory related functions to new extension mechanism. | Kristian Høgsberg | 2007-10-11 | 3 | -20/+29 |
| | |||||
* | Move swap_interval to new extension mechanism. | Kristian Høgsberg | 2007-10-10 | 3 | -14/+27 |
| | |||||
* | Move the copySubBuffer extension over to the new mechanism. | Kristian Høgsberg | 2007-10-10 | 3 | -4/+17 |
| | |||||
* | Implement new screen extension API. | Kristian Høgsberg | 2007-10-10 | 1 | -0/+14 |
| | | | | | | | | | | | | This new API lets the loader examine DRI level extensions provided by the driver in a forward compatible manner. Much of the churn in the DRI interface is adding support for new extensions or removing old, unused extensions. This new extension mechanism lets the loader query the extensions provided by the driver and implement the extensions it knows about. Deprecating extensions is done by not exporting that extension in the list, which doesn't require keeping old function pointers around to preserve ABI. | ||||
* | Stop passing in unused fbconfigs to createNewScreen. | Kristian Høgsberg | 2007-10-10 | 1 | -3/+1 |
| | |||||
* | Convert all DRI entrypoints to take pointers to __DRI* types. | Kristian Høgsberg | 2007-10-10 | 2 | -27/+23 |
| | | | | | | | | | | The entrypoints take a mix of __DRIscreen * and void * (screen private) arguments (similarly for contexts and drawables). This patch does away with passing the private void pointer and always only passes the fully typed __DRIscreen pointer and always as the first argument. This makes the interface more consistent and increases type safety, and catches a bug where we would pass a screen private to DRIdrawable::getSBC. | ||||
* | Remove screenConfigs from __DRIscreen. | Kristian Høgsberg | 2007-10-10 | 3 | -3/+14 |
| | | | | | | | | | | | | The screenConfigs field of __DRIscreen points back to the containing __GLXscreenConfigs struct. This is a serious abstraction violation; it assumes that the loader is libGL and that there *is* a __GLXscreenConfigs type in the loader. Using the containerOf macro, we can get from the __DRIscreen pointer to the containing __GLXscreenConfigs struct, at a place in the stack where the above is a valid assumption. Besides, the __DRI* structs shouldn't hold state other than the private pointer. | ||||
* | Drop mostly unused __DRIid typedef. | Kristian Høgsberg | 2007-10-10 | 3 | -7/+7 |
| | |||||
* | Avoid deadlock in GarbageCollectDRIDrawables. | Kristian Høgsberg | 2007-10-10 | 1 | -8/+2 |
| | | | | | | __glXinitialize() can't be called with the GLX lock held. Just pass in the __GLXscreenConfigs pointer so we don't have to look it up in __GLXdisplayPrivate. | ||||
* | Drop createContext and destroyContext from DRIinterfaceMethods. | Kristian Høgsberg | 2007-10-10 | 3 | -25/+22 |
| | | | | | | | | | | As for createDrawable and destroyDrawable, these functions immediately upon entry to driCreateNewContext and immediately before exit from driDestroyContext. Instead of passing function pointers back and forth just obtain the drm_context_t prior to calling DRIscreen::createNewContext and pass it as a parameter. This change also lets us keep the DRI context XID in the libGL loader only. | ||||
* | Drop createDrawable and destroyDrawable fron DRIinterfaceMethods. | Kristian Høgsberg | 2007-10-10 | 2 | -31/+16 |
| | | | | | | | | | | | | All the DRI driver did was call the createDrawable callback immediately upon entry to DRIscreen::createNewDrawable to get the drm_drawable_t. We can just call that before calling into the DRI driver and pass the returned drm_drawable_t as an argument to the DRI entry point. Likewise for destroyDrawable. Also, DRIdrawablePrivate::draw isn't used anywhere, and since the driver no longer needs the XID of the drawable we can now drop that. | ||||
* | Drop __DRInativeDisplay and pass in __DRIscreen pointers instead. | Kristian Høgsberg | 2007-10-10 | 5 | -102/+156 |
| | | | | | | | | | | | | | Many DRI entry points took a __DRInativeDisplay pointer and a screen index as arguments. The only use for the native display pointer was to pass it back to the loader when looking up the __DRIscreen for the given screen index. Instead, let's just pass in the __DRIscreen pointer directly, which let's drop the __DRInativeDisplay type and the getScreen function. The assumption is now that the loader will be able to retrieve context from the __DRIscreen pointer when necessary. | ||||
* | Add macros to generate CreateNewScreen entrypoint. | Kristian Høgsberg | 2007-10-05 | 1 | -4/+1 |
| | |||||
* | Remove XIDs from DRI interface (see #5714). | Kristian Høgsberg | 2007-10-05 | 7 | -94/+179 |
| | |||||
* | Pull in the drm hash. | Kristian Høgsberg | 2007-10-05 | 3 | -1/+429 |
| | |||||
* | add support for LDFLAGS env var | Dan Nicholson | 2007-09-28 | 2 | -2/+2 |
| | |||||
* | fixed problem with big glDrawArrays (see bug 12141) | Colin McDonald | 2007-08-27 | 1 | -6/+8 |
| | |||||
* | suppress warning about ncon visuals (bug #6689) | Roland Scheidegger | 2007-08-16 | 1 | -2/+5 |
| | |||||
* | miniglx: implement GetProcAddressARB in miniglx as an alias for GPA | Dave Airlie | 2007-06-05 | 1 | -0/+1 |
| | |||||
* | get rid of needless static function declarations at top of file | Brian | 2007-05-17 | 1 | -12/+0 |
| | |||||
* | In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983. | Brian | 2007-05-17 | 1 | -1/+1 |
| | |||||
* | in __glXGetArrayType() return type, not enabled (bug 10938) | Bruce Merry | 2007-05-14 | 1 | -1/+1 |
| | |||||
* | miniglx: fixup use of create windows x and y coordinates | Dave Airlie | 2007-05-08 | 1 | -3/+3 |
| | | | | This makes miniglx take not of the x and y from XCreateWindow | ||||
* | Makefile clean-ups for miniglx. | Brian | 2007-05-04 | 1 | -8/+13 |
| | |||||
* | remove unneeded initialization code (see bug 10569) | Brian | 2007-04-09 | 1 | -6/+1 |
| | |||||
* | allocate __GLXdisplayPrivate w/ Xcalloc instead of Xmalloc (bug 10569) | Brian | 2007-04-09 | 1 | -1/+1 |
| | |||||
* | Make sure GLX entrypoints are marked PUBLIC. | Adam Jackson | 2007-04-08 | 2 | -4/+5 |
| | | | | Fedora bug #229808. | ||||
* | fix bug 9823: GL_CLIENT_ATTRIB_STACK_DEPTH query fails for indirect rendering | Wei Wang | 2007-04-08 | 1 | -9/+9 |
| | |||||
* | fix etags command to find headers | Brian | 2007-04-07 | 1 | -1/+1 |
| | |||||
* | Remove SI imports/exports remnants. | George Sapountzis | 2007-04-05 | 1 | -2/+0 |
| | |||||
* | glx: minor cosmetic in glcontextmodes.c | George Sapountzis | 2007-04-05 | 1 | -10/+14 |
| | | | | | move memory macros to separate block and unwrap malloc/free for miniglx towards cleaning Mesa core glitches in glx... | ||||
* | Move glcontextmodes.c to glx. | George Sapountzis | 2007-04-05 | 4 | -9/+587 |
| | | | | | It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface. | ||||
* | always print error messages, unless LIBGL_DEBUG=quiet | Bernardo Innocenti | 2007-03-27 | 1 | -1/+5 |
| | |||||
* | fix mem leaks | Panagiotis Papadakos | 2007-02-05 | 2 | -0/+5 |
| | |||||
* | break if we removed driver from Drivers list in driDestroyDisplay | Panagiotis Papadakos | 2007-02-05 | 1 | -0/+1 |
| | | | | Else we read memory we just released, in for statement. | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Brian | 2007-02-01 | 1 | -3/+19 |
|\ | |||||
| * | driDestroyDisplay: Fix comment, it is called now. | Michel Dänzer | 2007-02-01 | 1 | -1/+1 |
| | |