summaryrefslogtreecommitdiff
path: root/src/egl/drivers
AgeCommit message (Collapse)Author
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.
2009-10-22egl_glx: Add support for eglWaitClient and eglWaitNative.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22egl_glx: Clean up eglGetProcAddress.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22egl_glx: Clean up context functions.Chia-I Wu
This lifts the requirement that a context must be direct. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22egl_glx: Clean up surface functions.Chia-I Wu
Separete Drawable and GLXDrawable. Add support for pbuffer and pixmap surfaces on GLX <= 1.3. Remove surface binding code that will never work. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22egl_glx: Clean up the initialization code.Chia-I Wu
Proper detection of GLX extensions. Convert fbconfigs or visuals in a more unified way and validate the resulting configs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl_xdri: Report full list of supported configs.Chia-I Wu
Call _eglConfigFromContextModesRec to convert __GLcontextModes to _EGLConfig. Single-buffered configs are no longer skipped. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Introduce config keys.Chia-I Wu
Config keys are almost config attributes. A valid config attribute is a valid config key, but a valid config key may not be a valid config attribute. This commit does not distinguish the differences. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26egl_glx: Make fbconfigs and visuals per display.Chia-I Wu
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24egl_xdri: Revive the driver.Chia-I Wu
egl_xdri does not compile for some time. This commit revives the driver. It no longer depends on libGL.so for GLX related functions. Instead, it uses code from src/glx/ directly. Both DRI and DRI2 are supported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Remove eglhash.c and eglhash.h.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Some per-driver data should be per-display.Chia-I Wu
Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>