aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
Commit message (Collapse)AuthorAgeFilesLines
* egl_dri2: Add support for MESA_image_drmKristian Høgsberg2010-08-251-0/+223
|
* egl_dri2: Set API version for DRM displayKristian Høgsberg2010-07-291-0/+4
|
* egl_dri2: Implement EGL_KHR_surfaceless_* extensionsKristian Høgsberg2010-07-281-25/+55
|
* egl_dri2: Support _EGL_PLATFORM_DRMKristian Høgsberg2010-07-082-40/+223
| | | | This lets the egl_dri2 driver initialize on just a DRM fd.
* egl: Store configs in a dynamic array.Chia-I Wu2010-06-302-2/+2
|
* egl: Introduce platform displays internally.Chia-I Wu2010-06-232-9/+16
| | | | | | | | | | | This commit introduces type-safe platform displays internally. A platform display consists of a generic pointer and an enum that specifies the platform. An EGLDisplay is created from a platform display. Native displays become platform displays whose platform is determined by _eglGetNativePlatform(). Platform windows and pixmaps may also be introduced if needed.
* egl_dri2: Split driver loading out into its own functionKristian Høgsberg2010-05-281-32/+48
|
* egl_dri2: Check for xcb_connect() failure the right wayKristian Høgsberg2010-05-281-6/+4
| | | | | It always returns a valid xcb_connection_t, but if connection failed, it's in the error state.
* Make TLS EGL dri2 driver search path behavior match TLS GLX dri2 behavior.Eric Anholt2010-05-201-9/+12
|
* egl: Link drivers back to libEGL.Chia-I Wu2010-05-191-1/+1
| | | | | Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin.
* egl: Implement EGL_NOK_texture_from_pixmapKristian Høgsberg2010-05-141-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.
* egl: remove duplicate ARRAY_SIZE() macro declarationBrian Paul2010-05-141-1/+1
|
* egl: Implement EGL_NOK_swap_regionKristian Høgsberg2010-05-131-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.
* egl_dri2: Downgrade initialization errors to warningsKristian Høgsberg2010-05-131-4/+4
| | | | Don't want to shutdown everything if egl_dri2 fails to initialize.
* egl_dri2: Zero out driver structKristian Høgsberg2010-05-121-0/+1
| | | | Otherwise testing ->Probe for non-NULL and calling it goes boom.
* egl: Build drivers in $(TOP)/$(LIB_DIR)/egl.Chia-I Wu2010-05-081-2/+3
| | | | | There are enough EGL modules that they deserve a subdirectory, to avoid polluting $(TOP)/$(LIB_DIR).
* glapi: Move to src/mapi/.Chia-I Wu2010-05-072-2/+2
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-021-10/+59
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * egl_dri2: Use new DRI API to create a GLES1/2 context when asked toKristian Høgsberg2010-04-281-10/+59
| |
* | Merge branch '7.8'Jakob Bornecrantz2010-04-281-1/+2
|\ \ | |/ |/|
| * egl: dri2 driver error outputMicah Fedke2010-04-281-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 <[email protected]>
* | Merge branch '7.8'Dan Nicholson2010-04-191-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.
| * egl: Pass flags to locate Xlib headers and librariesDan Nicholson2010-04-191-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 <[email protected]>
* | egl_dri2: Enable KHR_gl_texture_2D_imageKristian Høgsberg2010-04-141-0/+1
| | | | | | | | Forgot to set the enabled bit when I implemented the extension.
* | egl_dri2: Flush before context switch and swap buffers.Chia-I Wu2010-04-061-0/+18
|/ | | | | DRI does not define any callback to flush the current context. GLX loader simply calls glFlush. Follow the GLX loader here.
* egl_dri2: Factor out DRI2 protocol bits from initialize.Kristian Høgsberg2010-03-031-86/+155
|
* egl_dri2: Implement EGL_KHR_gl_renderbuffer_imageKristian Høgsberg2010-02-261-63/+103
|
* egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmapKristian Høgsberg2010-02-241-4/+149
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* egl_dri2: Only allocate config if we're going to keep itKristian Høgsberg2010-02-091-36/+31
| | | | Small optimization.
* egl_dri2: Initialize config attributes with visual id and class from XKristian Høgsberg2010-02-091-16/+58
|
* egl_dri2: Allow pbuffer and pixmap surfaces for all configsKristian Høgsberg2010-02-091-8/+7
|
* egl_dri2: Implement eglBindTexImage()Kristian Høgsberg2010-02-091-9/+76
|
* egl_dri2: Use a helper function for looking up and binding extensionsKristian Høgsberg2010-02-091-27/+52
|
* egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAYKristian Høgsberg2010-02-091-6/+6
|
* egl_dri2: Use pkg-config cflags and libs from configure outputKristian Høgsberg2010-02-051-3/+2
| | | | | Running pkg-config in Makefiles is bad form, since it doesn't respect the PKG_CONFIG_PATH value set at ./configure time.
* egl_dri2: Log both driver and core extensionsKristian Høgsberg2010-02-051-1/+4
|
* egl_dri2: Audit and fix errors pathsKristian Høgsberg2010-02-051-49/+72
|
* egl_dri2: Just cast the pointer difference to an intKristian Høgsberg2010-02-051-4/+1
|
* egl: Remove egl_xdri.Chia-I Wu2010-02-056-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.
* egl_dri2: Use _EGL_DRIVER_STANDARD_TYPECASTS.Chia-I Wu2010-02-051-29/+2
| | | | It saves the driver from defining the boring typecasts itself.
* egl_dri2: Do not destroy linked resources.Chia-I Wu2010-02-051-3/+3
| | | | A linked resource is stil owned by the display.
* egl_dri2: Fix a snprintf warning.Chia-I Wu2010-02-051-1/+4
| | | | | The subtraction between two pointers has type unsigned int (only on x86-64?), while the format string expects an int.
* egl_dri2: Add a debug print for DRI2 extensions.Chia-I Wu2010-02-051-0/+1
|
* egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually workKristian Høgsberg2010-02-041-22/+65
|
* egl: Add driver for EGL on X with DRI2Kristian Høgsberg2010-02-042-0/+950
|
* egl: Convert drivers to use typecast macros.Chia-I Wu2010-02-042-61/+10
| | | | | Use macros to define the standard typecasts. This saves lots of typings.
* egl: Initialize display configs with the display.Chia-I Wu2010-01-312-2/+2
| | | | This changes _eglInitConfig to take the display as its argument.
* egl: Initialize display resources with their display.Chia-I Wu2010-01-312-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.
* egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu2010-01-301-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.