summaryrefslogtreecommitdiffstats
path: root/src/egl
Commit message (Collapse)AuthorAgeFilesLines
* egl: Compile wayland-drm.a into libEGL independent of egl_dri2Benjamin Franzke2011-05-161-3/+4
| | | | Fixes egl_gallium when egl_dri2 is not enabled.
* egl_dri2: Discard similar configsBenjamin Franzke2011-05-131-4/+2
|
* egl_dri2: Make it possible to not compile in the X11 platformKristian Høgsberg2011-05-134-7/+28
|
* egl/dri2: Avoid unused static functions.José Fonseca2011-05-121-1/+1
|
* egl/dri2: Prevent uninitialized variable dereference.José Fonseca2011-05-121-2/+5
|
* egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵José Fonseca2011-05-121-5/+7
| | | | | | dereference. Based on zhigang gong <[email protected]>'s patch.
* egl: Fix int <-> ptr casts.José Fonseca2011-05-124-5/+5
| | | | Based on zhigang gong <[email protected]>'s patch.
* egl/wayland: Follow wl_resource_destroy changesBenjamin Franzke2011-05-061-1/+1
|
* Add pci id for FirePro 2270Kostas Georgiou2011-05-061-0/+1
| | | | Signed-off-by: Kostas Georgiou <[email protected]>
* egl_dri2: add new radeon pci idsAlex Deucher2011-05-061-0/+6
| | | | | | | There seriously needs to be a better way to do this. Signed-off-by: Alex Deucher <[email protected]>
* egl: Add a cursor use bit to MESA_drm_imageKristian Høgsberg2011-05-061-1/+4
|
* egl/wayland-drm: Generalize interfaceBenjamin Franzke2011-05-063-63/+113
| | | | Do not depend on _EGLDisplay and _EGLImage.
* egl/wayland: Fix possible lockup in drm initializationBenjamin Franzke2011-04-291-1/+1
| | | | Lockup happens when wl_drm interface is not available.
* egl: Use the right extension name in #ifdefKristian Høgsberg2011-04-251-1/+1
|
* egl/wayland: Follow buffer.attach removalBenjamin Franzke2011-04-221-1/+0
|
* egl/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-222-4/+5
|
* egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke2011-04-222-12/+23
| | | | Needed since wayland-egl doesnt do this anymore.
* egl/wayland: Add new version parameter for post_drmBenjamin Franzke2011-04-221-1/+3
|
* egl/wayland: Fix prefixes for interface namesBenjamin Franzke2011-04-222-5/+5
|
* wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg2011-04-204-175/+84
|
* egl/wayland: Update to per-surface frame eventsBenjamin Franzke2011-04-121-2/+3
|
* egl_dri2.c: Open drm device with O_CLOEXECKristian Høgsberg2011-04-071-1/+1
| | | | Not a good fd to leak.
* egl_dri2 x11: Fix a typoFeng, Haitao2011-03-301-1/+1
| | | | Signed-off-by: Haitao Feng <[email protected]>
* egl/wayland-drm: Fix include pathBenjamin Franzke2011-03-261-1/+2
| | | | | | src/egl/main/egltypedefs.h needs the path for EGL/egl.h Reported by jlind on irc.
* egl_dri2: We don't actually support KHR_gl_texture_2D_imageKristian Høgsberg2011-03-261-1/+0
|
* egl_dri2: Enable image extensions in one placeKristian Høgsberg2011-03-264-13/+7
| | | | | We know what we can support in egl_dri2.c so just enable the extensions there.
* egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLEBenjamin Franzke2011-03-071-0/+1
| | | | | Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this.
* egl_dri2: Fix incompatible vfunc-pointer warningBenjamin Franzke2011-03-041-1/+1
|
* egl/wayland: Move wayland-egl into a subdirBenjamin Franzke2011-03-046-64/+86
| | | | | This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.
* egl_dri2 x11: Workaround device_name xcb-dri2 bugBenjamin Franzke2011-03-021-5/+13
| | | | | | | | | This commit is basically a copy-over of the fix Chia-I Wu's commited to wayland: http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95 "Workaround an xcb-dri2 bug. xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken. It only works when the length of the driver name is a multiple of 4."
* egl/wayland: build subdirs (wayland-drm) before dependBenjamin Franzke2011-03-021-1/+1
| | | | Autogenerated files need to be generated first.
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-0119-23/+620
|
* egl_dri2: Return NULL when xcb_get_geometry_reply fails.Chia-I Wu2011-02-201-0/+1
| | | | This should fix bug #33946.
* egl_dri2: add swrastHaitao Feng2011-02-165-52/+395
| | | | | | | | This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are not available, such as in VM. Signed-off-by: Haitao Feng <[email protected]>
* egl_dri2: add nouveau support.Dave Airlie2011-02-141-0/+8
| | | | | | | but really wtf? all these PCI IDs need to be ripped out of here, its totally unscalable and the drivers already have this info so could export it some better way. tested by Darxus on #wayland.
* egl_dri2: rename loader_extension to dri2_loader_extensionHaitao Feng2011-02-103-18/+18
| | | | Signed-off-by: Haitao Feng <[email protected]>
* egl_dri2 wayland: Sync front buffer releaseBenjamin Franzke2011-02-102-26/+67
|
* egl_dri2: Always unbind old contextsBenjamin Franzke2011-02-101-10/+11
| | | | | | This fixes __DRIdrawable refcounting. Binding a context increases their refcount, so we need to decrease it.
* egl_dri2: Use double buffering for window surfacesBenjamin Franzke2011-02-105-40/+110
|
* wayland-egl: Add struct wl_egl_display argument to +wl_egl_window_create()Kristian Høgsberg2011-02-071-1/+2
|
* wayland-egl: Force roundtrips to get device name and authenticate correctlyKristian Høgsberg2011-02-072-4/+29
| | | | | | | | If the client hasn't done the initial wl_display_iterate() at the time we initialize the display, we have to do that in platform_wayland.c. Make sure we detect that correctly instead of dup()ing fd=0, and use the sync callback to make sure we don't wait forever for authorization that won't happen.
* egl_dri2: Add wayland platformBenjamin Franzke2011-02-074-0/+644
|
* egl_dri2: Export dri2_get_driver_for_fdBenjamin Franzke2011-02-072-1/+4
|
* egl_dri2: Enable pixmap bind_to_texture according to the extensionBenjamin Franzke2011-02-071-1/+2
|
* egl: Implement libwayland-eglBenjamin Franzke2011-02-074-0/+363
| | | | | This library is required and defined by wayland for EGL implementations supporting wayland.
* egl: Add wayland platformBenjamin Franzke2011-02-074-1/+10
|
* egl_dri2: Add new radeon pci idsAlex Deucher2011-02-031-1/+40
| | | | Signed-off-by: Alex Deucher <[email protected]>
* egl_dri2: Split out drm platform implementation to a separate fileKristian Høgsberg2011-02-034-595/+640
|
* egl_dri2: Split out x11 platform codeKristian Høgsberg2011-02-034-826/+936
|
* egl_dri2: Export glapi symbols for DRI drivers.Chia-I Wu2011-01-302-10/+27
| | | | | | | | | | | | When an app loads libEGL.so dynamically with RTLD_LOCAL, loading DRI drivers would fail because of missing glapi symbols. This commit makes egl_dri2 load libglapi.so with RTLD_GLOBAL to export glapi symbols for future symbol resolutions. The same trick can be found in GLX. However, egl_dri2 can only do so when --enable-shared-glapi is given. Because, otherwise, both libGL.so and libglapi.so define glapi symbols and egl_dri2 cannot tell which library to load.