summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* dri: add fake front definitionsAlan Hourihane2009-01-191-0/+2
|
* mesa: remove old GLView.h header for BeOSBrian Paul2009-01-101-192/+0
|
* mesa: remove deprecated headers from Makefile.amBrian Paul2009-01-101-8/+3
|
* mesa: deprecate GL/amesa.h header (allegro driver)Brian Paul2009-01-101-65/+0
|
* mesa: deprecate the GL/fxmesa.h headerBrian Paul2009-01-101-103/+0
|
* mesa: remove the ancient include/GL/ugl*.h headersBrian Paul2009-01-102-200/+0
|
* xmesa: deprecate the "XMesa" interfaceBrian Paul2009-01-103-708/+0
| | | | | Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
* mesa: latest glxext.h header, no version changeBrian Paul2009-01-081-16/+16
|
* mesa: import glext.h version 44Brian Paul2009-01-081-2/+66
|
* dri: fix for Cygwin compilation, bug 19144Jon Turney2008-12-171-2/+2
|
* glx: added PFNGL*PROC typedefs for GLX 1.3 functionsBrian Paul2008-10-291-11/+30
| | | | | Since we define GLX_VERSION_1_3 in glx.h, the typedefs in the glxext.h header were getting skipped.
* glu: fix compilation problem when using Windows gl.h (sf bug 2204589)Nigel Stewart2008-10-291-0/+4
|
* mesa: version 43 of glext.hBrian Paul2008-10-231-2/+748
|
* mesa: version 21 of glxext.hBrian Paul2008-10-231-13/+29
|
* Remove CVS keywords.Keith Whitwell2008-09-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-211-7/+7
|
* Update to SGI FreeB 2.0.Adam Jackson2008-09-193-92/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | Under the terms of version 1.1, "once Covered Code has been published under a particular version of the License, Recipient may, for the duration of the License, continue to use it under the terms of that version, or choose to use such Covered Code under the terms of any subsequent version published by SGI." FreeB 2.0 license refers to "dates of first publication". They are here taken to be 1991-2000, as noted in the original license text: ** Original Code. The Original Code is: OpenGL Sample Implementation, ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. ** Copyright in any portions created by third parties is as indicated ** elsewhere herein. All Rights Reserved. Official FreeB 2.0 text: http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf As always, this code has not been tested for conformance with the OpenGL specification. OpenGL conformance testing is available from http://khronos.org/ and is required for use of the OpenGL logo in product advertising and promotion.
* DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg2008-08-292-157/+60
|
* version 41 of glext.hBrian Paul2008-08-111-2/+380
|
* version 20 of glxext.hBrian Paul2008-08-111-2/+34
|
* Apple: Some changes to fix compilation problems on OSXJeremy Huddleston2008-08-081-0/+7
|
* additional preprocessor checks for stdint.h, inttypes.h, etcBlair Sadewitz2008-07-152-7/+7
| | | | The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
* remove old/unused foomesa.h example headerBrian Paul2008-06-041-76/+0
|
* Assorted Windows fixes (Karl Schultz)Brian Paul2008-05-291-1/+1
|
* drop GLcoreGeorge Sapountzis2008-05-231-73/+0
|
* Add DRI driver that uses the mesa swrast module.George Sapountzis2008-05-201-0/+57
|
* glcore: build from mesaGeorge Sapountzis2008-04-231-0/+73
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-312-205/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* updated to version 40Brian2008-03-251-3/+14
|
* fix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokensBrian2008-03-241-2/+2
|
* DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle.Kristian Høgsberg2008-03-091-7/+5
| | | | | | | | | | | | | | | | | This fixes a problem where texturing from the same Pixmap more than once per batchbuffer would hang the DRI driver. We just use the region associated with the front left renderbuffer of the __DRIdrawable for texturing, which avoids creating different regions for the same BO. This change also make GLX_EXT_texture_from_pixmap work for direct rendering, since tracking the __DRIdrawable -> BO handle now uses the standard DRI2 event buffer. Of course, DRI2 direct rendering doesn't exist yet. Finally, this commit bumps the DRI interface version again, accounting for the change in the DRI_TEX_BUFFER extension and the change in commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 to pass in the event buffer head index on drawable creation.
* DRI2: Add event buffer head as an argument to driCreateNewDrawable().Kristian Høgsberg2008-03-091-0/+1
| | | | The DRI driver needs to know where in the buffer to start reading.
* [dri2] Add tail pointer to reemitDrawableInfo callback.Kristian Høgsberg2008-03-031-1/+2
| | | | | | | | When the DRI doesn't parse the event buffer for a while, the X server may overwrite data that the driver didn't get a chance to look at. The reemitDrawableInfo callback requests that the X server reemit all info for the specified drawable. To make use of this, the drive needs to know the new tail pointer so it know where to start reading from.
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-291-22/+60
| | | | | | | Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
* Reduce the versioning madness required to create a DRI2 screen.Kristian Høgsberg2008-02-291-5/+2
| | | | | | | | | | | | | | | | | | Right now the DRI2 screen constructor takes 3 different versions: DRI, DDX and DRM. This is mostly useless, though: DRI: The DRI driver doesn't actually care about the DRI protocol, it only talks to the loader, which in turn speaks DRI protocol. Thus, the DRI protocol version is of not interest to the DRI driver, but it needs to know what functionality the loader provides. At this point that's reflected in the __DRIinterfaceMethods struct and the internal_version integer. DDX: The DDX version number is essentially used to track extensions to the SAREA. With DRI2 the SAREA consists of a number of versioned, self-describing blocks, so the DDX version is no longer interesting. DRM: We have the fd, lets just ask the kernel ourselves.
* Convert crlf->lf line endings.José Fonseca2008-02-281-79/+79
| | | | | | Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true
* Remove GetMSC DriverAPI function.Kristian Høgsberg2008-02-251-13/+2
| | | | | | | | | | | The DriverAPI is internal to the DRI drivers and GetDrawableMSC obsoletes GetMSC. Also, since the DRI driver interface has not yet been released, just drop the getMSC function from the DRI interface instead using the ABI preserving version mechanism. Finally, using void pointer privates in the DRI interface is not allowed, always pass the actual types around (__DRIdrawable in this case) to enhance type safety and readability of the code.
* Add TTM buffer object based texture from pixmap implementation.Kristian Høgsberg2008-02-141-0/+20
| | | | Currently only implemented for intel hw.
* Add new DRI2 infrastructure.Kristian Høgsberg2008-02-142-6/+163
|
* Fix GLX build of xserver master branch.Michel Dänzer2007-11-051-0/+5
| | | | The internal CreatePixmap API has been extended.
* Refactor and fix core vblank supportJesse Barnes2007-10-291-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
* Add GL_CORE_WINDOWS define to glcore.hGeorge Sapountzis2007-10-141-0/+1
| | | | | | | | | | | | This is for consistency with glproto. The GL_CORE defines should probably be dropped. ---- Author: Alexander Gottwald <[email protected]> Date: Mon Jun 21 13:35:05 2004 +0000 Bug 782: Merge native OpenGL for Windows from CYGWIN branch
* Add a version field to __DRIextension.Kristian Høgsberg2007-10-111-0/+23
|
* Move new texOffset extension to the new extension mechanism.Kristian Høgsberg2007-10-111-12/+17
|
* Convert a left-over private void * to __DRIcontext *.Kristian Høgsberg2007-10-111-1/+1
|
* Remove now unused getProcAddress from DRIinterfaceMethods.Kristian Høgsberg2007-10-111-38/+0
|
* Add a DRI_ReadDrawable marker extension to signal read drawable capability.Kristian Høgsberg2007-10-111-0/+5
|
* Move media stream counter entry points to new extension.Kristian Høgsberg2007-10-111-49/+27
|
* Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism.Kristian Høgsberg2007-10-111-16/+25
|
* Move GLX_MESA_allocate_memory related functions to new extension mechanism.Kristian Høgsberg2007-10-111-16/+18
|