summaryrefslogtreecommitdiff
path: root/src/egl/drivers
AgeCommit message (Collapse)Author
2010-04-28egl_dri2: Use new DRI API to create a GLES1/2 context when asked toKristian Høgsberg
2010-04-19Merge branch '7.8'Dan Nicholson
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 Nicholson
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 <dbn.lists@gmail.com>
2010-04-28Merge branch '7.8'Jakob Bornecrantz
2010-04-28egl: dri2 driver error outputMicah Fedke
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 <brianp@vmware.com>
2010-04-14egl_dri2: Enable KHR_gl_texture_2D_imageKristian Høgsberg
Forgot to set the enabled bit when I implemented the extension.
2010-04-06egl_dri2: Flush before context switch and swap buffers.Chia-I Wu
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øgsberg
2010-02-26egl_dri2: Implement EGL_KHR_gl_renderbuffer_imageKristian Høgsberg
2010-02-24egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmapKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-09egl_dri2: Only allocate config if we're going to keep itKristian Høgsberg
Small optimization.
2010-02-09egl_dri2: Initialize config attributes with visual id and class from XKristian Høgsberg
2010-02-09egl_dri2: Allow pbuffer and pixmap surfaces for all configsKristian Høgsberg
2010-02-09egl_dri2: Implement eglBindTexImage()Kristian Høgsberg
2010-02-09egl_dri2: Use a helper function for looking up and binding extensionsKristian Høgsberg
2010-02-09egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAYKristian Høgsberg
2010-02-05egl_dri2: Use pkg-config cflags and libs from configure outputKristian Høgsberg
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øgsberg
2010-02-05egl_dri2: Audit and fix errors pathsKristian Høgsberg
2010-02-05egl_dri2: Just cast the pointer difference to an intKristian Høgsberg
2010-02-05egl: Remove egl_xdri.Chia-I Wu
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 Wu
It saves the driver from defining the boring typecasts itself.
2010-02-05egl_dri2: Do not destroy linked resources.Chia-I Wu
A linked resource is stil owned by the display.
2010-02-05egl_dri2: Fix a snprintf warning.Chia-I Wu
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 Wu
2010-02-04egl: Implement eglCopyBuffers for DRI2, make pixmap and pbuffers actually workKristian Høgsberg
2010-02-04egl: Add driver for EGL on X with DRI2Kristian Høgsberg
2010-02-04egl: Convert drivers to use typecast macros.Chia-I Wu
Use macros to define the standard typecasts. This saves lots of typings.
2010-01-31egl: Initialize display configs with the display.Chia-I Wu
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu
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 Wu
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 Wu
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
2010-01-28egl: Migrate drivers to use _eglBindContext.Chia-I Wu
_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 Wu
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 Wu
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 Wu
__glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
2010-01-25egl: Native types are renamed in EGL 1.3.Chia-I Wu
Rename Native*Type to EGLNative*Type.
2010-01-23egl: Install drivers to ${libdir}/egl.Chia-I Wu
Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to ${libdir}/egl.
2010-01-22egl: Remove the demo driver.Chia-I Wu
The demo driver has outdated. It is suggested to look at any of the drivers that is functioning.
2010-01-22egl_xdri: Add support for DRISW.Chia-I Wu
Try DRISW if both DRI2 and DRI fail. It can also be forced by setting EGL_SOFTWARE. When DRISW is used, single-buffered modes are ignored.
2010-01-22egl_xdri: Flush commands on context switch and buffer swap.Chia-I Wu
The corresponding DRI functions does not flush for us.
2010-01-22egl_xdri: Report only OpenGL support.Chia-I Wu
It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22egl_xdri: Do not reinitialize in __glXInitialize.Chia-I Wu
__glXInitialize should return the same GLX display for the same X display. This issue is triggered by a35f6bb207efe3c959bbd16a37f2049e5aceeea9.
2010-01-22egl_glx: Report only OpenGL support.Chia-I Wu
It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22egl: Update driver Makefiles.Chia-I Wu
Update to use the new Makefile.template.
2010-01-22egl: Add Makefile.template for EGL drivers.Chia-I Wu
2010-01-12egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu
The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
2010-01-12egl_xdri: Fix build breakage.Chia-I Wu
driScreen->swapBuffers takes 3 more arguments since daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b.
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.