path: root/src/egl/drivers/dri2
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-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-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-07glapi: Move to src/mapi/.Chia-I Wu1-1/+1
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-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-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_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