Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl_dri2: Add support for MESA_image_drm | Kristian Høgsberg | 2010-08-25 | 1 | -0/+223 |
| | |||||
* | egl_dri2: Set API version for DRM display | Kristian Høgsberg | 2010-07-29 | 1 | -0/+4 |
| | |||||
* | egl_dri2: Implement EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | 2010-07-28 | 1 | -25/+55 |
| | |||||
* | egl_dri2: Support _EGL_PLATFORM_DRM | Kristian Høgsberg | 2010-07-08 | 2 | -40/+223 |
| | | | | This lets the egl_dri2 driver initialize on just a DRM fd. | ||||
* | egl: Store configs in a dynamic array. | Chia-I Wu | 2010-06-30 | 2 | -2/+2 |
| | |||||
* | egl: Introduce platform displays internally. | Chia-I Wu | 2010-06-23 | 2 | -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 function | Kristian Høgsberg | 2010-05-28 | 1 | -32/+48 |
| | |||||
* | egl_dri2: Check for xcb_connect() failure the right way | Kristian Høgsberg | 2010-05-28 | 1 | -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 Anholt | 2010-05-20 | 1 | -9/+12 |
| | |||||
* | egl: Link drivers back to libEGL. | Chia-I Wu | 2010-05-19 | 1 | -1/+1 |
| | | | | | Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin. | ||||
* | egl: Implement EGL_NOK_texture_from_pixmap | Kristian Høgsberg | 2010-05-14 | 1 | -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 declaration | Brian Paul | 2010-05-14 | 1 | -1/+1 |
| | |||||
* | egl: Implement EGL_NOK_swap_region | Kristian Høgsberg | 2010-05-13 | 1 | -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 warnings | Kristian Høgsberg | 2010-05-13 | 1 | -4/+4 |
| | | | | Don't want to shutdown everything if egl_dri2 fails to initialize. | ||||
* | egl_dri2: Zero out driver struct | Kristian Høgsberg | 2010-05-12 | 1 | -0/+1 |
| | | | | Otherwise testing ->Probe for non-NULL and calling it goes boom. | ||||
* | egl: Build drivers in $(TOP)/$(LIB_DIR)/egl. | Chia-I Wu | 2010-05-08 | 1 | -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 Wu | 2010-05-07 | 2 | -2/+2 |
| | | | | Move glapi to src/mapi/{glapi,es1api,es2api}. | ||||
* | Merge branch 'gles2-2' | Kristian Høgsberg | 2010-05-02 | 1 | -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 to | Kristian Høgsberg | 2010-04-28 | 1 | -10/+59 |
| | | |||||
* | | Merge branch '7.8' | Jakob Bornecrantz | 2010-04-28 | 1 | -1/+2 |
|\ \ | |/ |/| | |||||
| * | egl: dri2 driver error output | Micah Fedke | 2010-04-28 | 1 | -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 Nicholson | 2010-04-19 | 1 | -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 libraries | Dan Nicholson | 2010-04-19 | 1 | -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_image | Kristian Høgsberg | 2010-04-14 | 1 | -0/+1 |
| | | | | | | | | Forgot to set the enabled bit when I implemented the extension. | ||||
* | | egl_dri2: Flush before context switch and swap buffers. | Chia-I Wu | 2010-04-06 | 1 | -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øgsberg | 2010-03-03 | 1 | -86/+155 |
| | |||||
* | egl_dri2: Implement EGL_KHR_gl_renderbuffer_image | Kristian Høgsberg | 2010-02-26 | 1 | -63/+103 |
| | |||||
* | egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmap | Kristian Høgsberg | 2010-02-24 | 1 | -4/+149 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | egl_dri2: Only allocate config if we're going to keep it | Kristian Høgsberg | 2010-02-09 | 1 | -36/+31 |
| | | | | Small optimization. | ||||
* | egl_dri2: Initialize config attributes with visual id and class from X | Kristian Høgsberg | 2010-02-09 | 1 | -16/+58 |
| | |||||
* | egl_dri2: Allow pbuffer and pixmap surfaces for all configs | Kristian Høgsberg | 2010-02-09 | 1 | -8/+7 |
| | |||||
* | egl_dri2: Implement eglBindTexImage() | Kristian Høgsberg | 2010-02-09 | 1 | -9/+76 |
| | |||||
* | egl_dri2: Use a helper function for looking up and binding extensions | Kristian Høgsberg | 2010-02-09 | 1 | -27/+52 |
| | |||||
* | egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY | Kristian Høgsberg | 2010-02-09 | 1 | -6/+6 |
| | |||||
* | egl_dri2: Use pkg-config cflags and libs from configure output | Kristian Høgsberg | 2010-02-05 | 1 | -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 extensions | Kristian Høgsberg | 2010-02-05 | 1 | -1/+4 |
| | |||||
* | egl_dri2: Audit and fix errors paths | Kristian Høgsberg | 2010-02-05 | 1 | -49/+72 |
| | |||||
* | egl_dri2: Just cast the pointer difference to an int | Kristian Høgsberg | 2010-02-05 | 1 | -4/+1 |
| | |||||
* | egl: Remove egl_xdri. | Chia-I Wu | 2010-02-05 | 6 | -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 Wu | 2010-02-05 | 1 | -29/+2 |
| | | | | It saves the driver from defining the boring typecasts itself. | ||||
* | egl_dri2: Do not destroy linked resources. | Chia-I Wu | 2010-02-05 | 1 | -3/+3 |
| | | | | A linked resource is stil owned by the display. | ||||
* | egl_dri2: Fix a snprintf warning. | Chia-I Wu | 2010-02-05 | 1 | -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 Wu | 2010-02-05 | 1 | -0/+1 |
| | |||||
* | egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually work | Kristian Høgsberg | 2010-02-04 | 1 | -22/+65 |
| | |||||
* | egl: Add driver for EGL on X with DRI2 | Kristian Høgsberg | 2010-02-04 | 2 | -0/+950 |
| | |||||
* | egl: Convert drivers to use typecast macros. | Chia-I Wu | 2010-02-04 | 2 | -61/+10 |
| | | | | | Use macros to define the standard typecasts. This saves lots of typings. | ||||
* | egl: Initialize display configs with the display. | Chia-I Wu | 2010-01-31 | 2 | -2/+2 |
| | | | | This changes _eglInitConfig to take the display as its argument. | ||||
* | egl: Initialize display resources with their display. | Chia-I Wu | 2010-01-31 | 2 | -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 Wu | 2010-01-30 | 1 | -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. |