path: root/src/egl/drivers
AgeCommit message (Collapse)AuthorFilesLines
2010-05-28egl_dri2: Split driver loading out into its own functionKristian Høgsberg1-32/+48
2010-05-28egl_dri2: Check for xcb_connect() failure the right wayKristian Høgsberg1-6/+4
It always returns a valid xcb_connection_t, but if connection failed, it's in the error state.
2010-05-20Make TLS EGL dri2 driver search path behavior match TLS GLX dri2 behavior.Eric Anholt1-9/+12
2010-05-19egl: Link drivers back to libEGL.Chia-I Wu1-1/+1
Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin.
2010-05-14egl: Implement EGL_NOK_texture_from_pixmapKristian Høgsberg1-18/+6
This extension allows a color buffer to be used for both rendering and texturing. EGL allows the use of color buffers of pbuffer drawables for texturing, this extension extends this to allow the use of color buffers of pixmaps too.
2010-05-14egl: remove duplicate ARRAY_SIZE() macro declarationBrian Paul1-1/+1
2010-05-13egl: Implement EGL_NOK_swap_regionKristian Høgsberg1-2/+45
This extension adds a new function which provides an alternative to eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in addition to those in eglSwapBuffers. The new parameters consist of a pointer to a list of 4-integer blocks defining rectangles (x, y, width, height) and an integer specifying the number of rectangles in the list.
2010-05-13egl_dri2: Downgrade initialization errors to warningsKristian Høgsberg1-4/+4
Don't want to shutdown everything if egl_dri2 fails to initialize.
2010-05-12egl_dri2: Zero out driver structKristian Høgsberg1-0/+1
Otherwise testing ->Probe for non-NULL and calling it goes boom.
2010-05-08egl: Build drivers in $(TOP)/$(LIB_DIR)/egl.Chia-I Wu1-2/+3
There are enough EGL modules that they deserve a subdirectory, to avoid polluting $(TOP)/$(LIB_DIR).
2010-05-07glapi: Move to src/mapi/.Chia-I Wu2-2/+2
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-02Merge branch 'gles2-2'Kristian Høgsberg1-10/+59
Conflicts: src/mesa/drivers/dri/common/dri_util.h
2010-04-28egl_dri2: Use new DRI API to create a GLES1/2 context when asked toKristian Høgsberg1-10/+59
2010-04-19Merge branch '7.8'Dan Nicholson1-2/+2
Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
2010-04-19egl: Pass flags to locate Xlib headers and librariesDan Nicholson1-2/+2
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <>
2010-04-28Merge branch '7.8'Jakob Bornecrantz1-1/+2
2010-04-28egl: dri2 driver error outputMicah Fedke1-1/+2
This patch amends the error output string for the case where the dri2 egl driver could not open the dri dev node. Signed-off-by: Brian Paul <>
2010-04-14egl_dri2: Enable KHR_gl_texture_2D_imageKristian Høgsberg1-0/+1
Forgot to set the enabled bit when I implemented the extension.
2010-04-06egl_dri2: Flush before context switch and swap buffers.Chia-I Wu1-0/+18
DRI does not define any callback to flush the current context. GLX loader simply calls glFlush. Follow the GLX loader here.
2010-03-03egl_dri2: Factor out DRI2 protocol bits from initialize.Kristian Høgsberg1-86/+155
2010-02-26egl_dri2: Implement EGL_KHR_gl_renderbuffer_imageKristian Høgsberg1-63/+103
2010-02-24egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmapKristian Høgsberg1-4/+149
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg1-1/+1
2010-02-09egl_dri2: Only allocate config if we're going to keep itKristian Høgsberg1-36/+31
Small optimization.
2010-02-09egl_dri2: Initialize config attributes with visual id and class from XKristian Høgsberg1-16/+58
2010-02-09egl_dri2: Allow pbuffer and pixmap surfaces for all configsKristian Høgsberg1-8/+7
2010-02-09egl_dri2: Implement eglBindTexImage()Kristian Høgsberg1-9/+76
2010-02-09egl_dri2: Use a helper function for looking up and binding extensionsKristian Høgsberg1-27/+52
2010-02-09egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAYKristian Høgsberg1-6/+6
2010-02-05egl_dri2: Use pkg-config cflags and libs from configure outputKristian Høgsberg1-3/+2
Running pkg-config in Makefiles is bad form, since it doesn't respect the PKG_CONFIG_PATH value set at ./configure time.
2010-02-05egl_dri2: Log both driver and core extensionsKristian Høgsberg1-1/+4
2010-02-05egl_dri2: Audit and fix errors pathsKristian Høgsberg1-49/+72
2010-02-05egl_dri2: Just cast the pointer difference to an intKristian Høgsberg1-4/+1
2010-02-05egl: Remove egl_xdri.Chia-I Wu6-1440/+0
egl_xdri steals code from src/glx/x11/. This makes it broken from time to time when there is a bigger change to the GLX code. As egl_dri2 has been merged, which also functions as a DRI2 driver loader, remove egl_xdri for good.
2010-02-05egl_dri2: Use _EGL_DRIVER_STANDARD_TYPECASTS.Chia-I Wu1-29/+2
It saves the driver from defining the boring typecasts itself.
2010-02-05egl_dri2: Do not destroy linked resources.Chia-I Wu1-3/+3
A linked resource is stil owned by the display.
2010-02-05egl_dri2: Fix a snprintf warning.Chia-I Wu1-1/+4
The subtraction between two pointers has type unsigned int (only on x86-64?), while the format string expects an int.
2010-02-05egl_dri2: Add a debug print for DRI2 extensions.Chia-I Wu1-0/+1
2010-02-04egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually workKristian Høgsberg1-22/+65
2010-02-04egl: Add driver for EGL on X with DRI2Kristian Høgsberg2-0/+950
2010-02-04egl: Convert drivers to use typecast macros.Chia-I Wu2-61/+10
Use macros to define the standard typecasts. This saves lots of typings.
2010-01-31egl: Initialize display configs with the display.Chia-I Wu2-2/+2
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu2-6/+6
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
2010-01-30egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu1-1/+1
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
2010-01-30egl: Clean up header inclusions.Chia-I Wu2-2/+2
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
2010-01-28egl: Migrate drivers to use _eglBindContext.Chia-I Wu2-13/+28
_eglMakeCurrent is a big hammer that is not easy to use. Migrate drivers to use _eglBindContext and un-export _eglMakeCurrent.
2010-01-28egl: eglMakeCurrent should accept an uninitialized display.Chia-I Wu2-50/+67
When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
2010-01-26egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu1-2/+1
They have little use in drivers since drivers need to work for multiple current contexts.
2010-01-26egl/xdri: Update with glxclient.h change.Chia-I Wu1-1/+0
__glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
2010-01-25egl: Native types are renamed in EGL 1.3.Chia-I Wu2-5/+8
Rename Native*Type to EGLNative*Type.