summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-08-06egl: define vsnprintfJonathan White
2008-08-05egl: added snprintf, strcasecmp definesJonathan White
2008-08-05egl: typedef uint8_t for WindowsJonathan White
2008-08-04egl: typedef u_int32_t for WindowsJonathan White
2008-07-16mesa: WinCE fixesJonathan White
2008-07-15additional preprocessor checks for stdint.h, inttypes.h, etcBlair Sadewitz
The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
2008-07-15additional preprocessor checks for stdint.h, inttypes.h, etcBlair Sadewitz
The patches to glext.h and glxext.h have been sent to Khronos/bugzilla.
2008-07-07egl: updated GL_APIENTRY for WindowsJonathan White
2008-06-30gles: Don't define GLAPIENTRY here.José Fonseca
2008-06-28egl: WinCE doesn't have sys/types.hJosé Fonseca
2008-06-27egl: Windows updates to the platform.h filesJonathan White
2008-06-24mesa: WGL is not part of the WinCE API.José Fonseca
Although it would be interesting having the GDI winsys running on WinCE several Windows GDI API functions and data structures are missing from WinCE headers, making this far from a trivial endeavor.
2008-06-24mesa: Don't include sys/types.h on WinCE.José Fonseca
We probably shouldn't be including sys/types.h at all, but let's leave that for another time.
2008-06-12revert the DRI2 commitsAlan Hourihane
2008-06-11add missed files for DRI2 mergeAlan Hourihane
2008-06-11Bring in DRI2 changesAlan Hourihane
2008-06-06egl: updated EGLAPI for WindowsJonathan White
2008-06-05egl: assorted fixes for WindowsJonathan White
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
2008-06-04egl: new GLES/glplatform.h headerBrian Paul
2008-06-04egl: updated GLES/gl.h and GLES/glext.h headers from Khronos.orgBrian Paul
2008-06-04egl: added OpenGL ES 2.0 header files in new GLES2 directoryBrian Paul
2008-06-04egl: created GLES/egl.h backward-compatibility header (see comments inside)Brian Paul
2008-06-04egl: moved egl.h into EGL/ directoryBrian Paul
2008-06-04egl: moved eglext.h into EGL/ directoryBrian Paul
2008-06-04remove old/unused foomesa.h example headerBrian Paul
2008-05-29Assorted Windows fixes (Karl Schultz)Brian Paul
2008-05-27obsolete with EGL 1.4Brian Paul
2008-05-27added EGL_MESA_screen_surface, EGL_MESA_copy_context extensionsBrian Paul
2008-05-27added typedefs for X/MesaBrian Paul
2008-05-27remove stray ! characterBrian Paul
2008-05-27new eglplatform.h from Khronos.org (replaces GLES/egltypes.h)Brian Paul
2008-05-27new eglext.h from KhronosBrian Paul
2008-05-27EGL 1.4 header from KhronosBrian Paul
2008-05-26Remove CVS keywords.José Fonseca
2008-05-23drop GLcoreGeorge Sapountzis
2008-05-20Add DRI driver that uses the mesa swrast module.George Sapountzis
2008-05-07mesa: update/add newer GL ES headersBrian Paul
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
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.
2008-03-25updated to version 40Brian
2008-03-24fix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokensBrian
2008-03-09DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle.Kristian Høgsberg
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.
2008-03-09DRI2: Add event buffer head as an argument to driCreateNewDrawable().Kristian Høgsberg
The DRI driver needs to know where in the buffer to start reading.
2008-03-03[dri2] Add tail pointer to reemitDrawableInfo callback.Kristian Høgsberg
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.
2008-02-29Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg
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.
2008-02-29Reduce the versioning madness required to create a DRI2 screen.Kristian Høgsberg
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.
2008-02-28Convert crlf->lf line endings.José Fonseca
Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true
2008-02-28Convert crlf->lf line endings.José Fonseca
Windows/DOS users should enable core.autocrlf from now on.
2008-02-25Remove GetMSC DriverAPI function.Kristian Høgsberg
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.
2008-02-14Add TTM buffer object based texture from pixmap implementation.Kristian Høgsberg
Currently only implemented for intel hw.