summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove screenConfigs from __DRIscreen.Kristian Høgsberg2007-10-101-11/+2
| | | | | | | | | | | | 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øgsberg2007-10-101-1/+0
|
* Drop createContext and destroyContext from DRIinterfaceMethods.Kristian Høgsberg2007-10-101-12/+2
| | | | | | | | | | 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øgsberg2007-10-101-13/+3
| | | | | | | | | | | | 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øgsberg2007-10-101-42/+33
| | | | | | | | | | | | | 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øgsberg2007-10-051-1/+19
|
* Remove XIDs from DRI interface (see #5714).Kristian Høgsberg2007-10-051-38/+17
|
* Add glut_fcb.c to the build and update to fix warnings (see bug 12405)Brian2007-09-121-2/+2
|
* Unbreak Linux builds with -fvisibility=hidden.Adam Jackson2007-08-231-16/+11
|
* more Mingw32 fixesZhang2007-07-273-9/+2
|
* Fix a number of MINGW32 issuesZhang2007-07-213-38/+47
|
* regeneratedBrian2007-06-291-0/+93
|
* a variety of fixes for MingWzhang2007-06-282-3/+18
|
* add glxtokens.h to xmesa_xf86.h as discussed on mailing listDave Airlie2007-05-261-0/+1
|
* Add interfaces for overriding texture images with driver specific 'offsets'.Michel Dänzer2007-05-221-0/+12
| | | | | To be used by AIGLX for GLX_EXT_texture_from_pixmap without several additional data copies.
* Fix xserver build after recent XMesa changes.Michel Dänzer2007-05-223-3/+31
| | | | Only build tested.
* Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.Brian2007-05-191-0/+5
| | | | | | If an app (like progs/samples/blendxor.c) includes both gl.h and glext.h this typedef will get hit in both headers, causing an error. Possibly work around by bringing GL_NV_geometry_program4 items into gl.h.
* added texture_from_pixmap functionsBrian2007-05-191-2/+21
|
* Add enums and functions for GL_{MESA,EXT}_texture_array.Ian Romanick2007-05-161-0/+28
|
* add missing semicolonMatthias Hopf2007-04-241-1/+1
|
* import glxext.h version 19Brian2007-04-221-2/+2
|
* patch for Digital/Tru64 (bug 10635) - forwarded to OpenGL ARB as wellBrian2007-04-131-1/+1
|
* xmesa: drop unused XMesaPutImageHelper.George Sapountzis2007-04-131-2/+1
| | | | | | | | It could only be called from XMesaCopySubBuffer but this function is not used by XFree86. It seems that XMesaPutImageHelper would handle sub-images but never got finished. Proper sub-image helpers should be written if need be.
* xmesa: export xmesa functions used by xfree86.George Sapountzis2007-04-131-0/+15
| | | | | | | | | This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough.
* Remove SI imports/exports remnants.George Sapountzis2007-04-052-87/+0
|
* Clean and update XMesa/XFree86 interface.George Sapountzis2007-03-301-0/+1
| | | | | | | | | | | | | | | | Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
* updated version with new Khronos license/copyrightBrian2007-02-262-46/+34
|
* updated to version 18Brian2007-02-201-3/+70
|
* updated to version 39Brian2007-02-201-8/+579
|
* Drop old (pre-AIGLX) GLcore interface.George Sapountzis2007-01-261-255/+2
| | | | | | | | | | | The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX, it is only used by DDX's which are known not to work with the new DIX glx code. --- Bug 9285: misc glcore, xmesa cleanups ACKed by Ian Romanick.
* Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt2007-01-051-0/+20
| | | | | | | | | | | | | | With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
* get rid of meaningless XFree86LOADER test (bug 9144)Brian Paul2006-11-271-3/+0
|
* regenerate from gl.hBrian Paul2006-11-161-10/+8
|
* remove obsolete GL_MESA_trace stuffBrian Paul2006-11-161-31/+0
|
* added 1.3/1.4 function manglingBrian Paul2006-11-031-16/+42
|
* return void instead of GLvoid for glClearDebugLogMESA(), glGetDebugLogMESA()Brian Paul2006-10-091-2/+2
|
* added #ifdef tests for Windows for int64_t, uint64_tBrian Paul2006-09-161-0/+4
|
* OpenVMS compile support updateJouk Jansen2006-09-041-210/+553
| | | | | | | (previous commit did send the wrong file to the CVS) Modified Files: Mesa/include/GL/vms_x_fix.h
* OpenVMS compile support updateJouk Jansen2006-09-041-0/+1
| | | | | Modified Files: Mesa/include/GL/vms_x_fix.h
* remove extension defines/protos that are now in glext.hBrian Paul2006-08-301-101/+0
|
* latest version from OpenGL ARBBrian Paul2006-08-302-16/+243
|
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-152-0/+20
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* s/GLvoid/void/ to fix gcc 4.2 issue (bug 7875)Brian Paul2006-08-151-1/+1
|
* Fix white-space problem in the prototype for glBlitFramebufferEXT thatIan Romanick2006-08-122-2/+2
| | | | prevented gl_mangle.h from picking it up.
* Convert comment header for __GLcontextModesRec to Doxygen style.Ian Romanick2006-08-111-6/+12
|
* Added initial multisampling support to glfbdev driver.Sean D'Epagnier2006-08-101-0/+1
| | | | | | | | | Fully implemented glutGameMode, and added vidresize stubs to make Added support for glutReshapeDisplay to change video mode but not lose current mesa context. implementation glut 5 complient. Fixed many minor bugs Updated docs
* remove stray text from previous check-inBrian Paul2006-08-071-1/+0
|
* added GL_EXT_texture_sRGBBrian Paul2006-08-031-0/+43
|
* Move GL_MESA_shader_debug from glext.h to gl.h.Michal Krol2006-08-011-0/+5
|
* reorder a few token definitionsBrian Paul2006-06-201-16/+16
|