summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
Commit message (Collapse)AuthorAgeFilesLines
* egl_dri2: Hookup gbm as drm platformBenjamin Franzke2011-06-234-61/+127
|
* egl_dri2/wayland: Hook up new buffer.release eventBenjamin Franzke2011-06-212-16/+127
|
* wayland: Pass use_invalidate extension to driverKristian Høgsberg2011-06-202-2/+3
|
* egl_dri2/x11: Check availability of the dri2 extensionBenjamin Franzke2011-06-201-0/+9
| | | | | Do this before query versions, or xcb will shutdown and the connection can not be used for swrast.
* egl_dri2: try swrastg_dri if swrast_dri failsChia-I Wu2011-06-131-0/+6
| | | | Per libGL.
* egl_dri2: add dri2_load_driver_swrastChia-I Wu2011-06-133-19/+44
| | | | | Refactor dri2_load_driver and add dri2_load_driver_swrast for loading swrast DRI driver.
* egl_dri2: Compare configs before matching themBenjamin Franzke2011-06-121-1/+13
| | | | | This compares attribs like buffer size, and will prevent merging unequal configs because of match criterion is e.g. ATLEAST.
* egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAYBenjamin Franzke2011-06-122-3/+23
|
* egl_dri2: Add missing headerBenjamin Franzke2011-06-071-0/+1
|
* egl_dri2: Add missing licenseBenjamin Franzke2011-06-071-0/+28
|
* egl_dri2: Use libudev only if availableBenjamin Franzke2011-06-071-2/+7
| | | | Broken since 7f881c43dfb4f1aeeab3a84125b5c106c191a43f.
* egl_dri2: Use external driver pci listBenjamin Franzke2011-06-074-664/+116
| | | | Reviewed-by: Alex Deucher <[email protected]>
* egl_dri2: Fix usage of bool valuesBenjamin Franzke2011-05-311-3/+3
|
* egl_dri2: add new cayman pci idsAlex Deucher2011-05-251-0/+15
| | | | Signed-off-by: Alex Deucher <[email protected]>
* egl: Recognize Ivybridge PCI IDs.Kenneth Graunke2011-05-171-0/+5
| | | | | Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* 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-133-6/+23
|
* 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-123-4/+4
| | | | Based on zhigang gong <[email protected]>'s patch.
* 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-061-17/+54
| | | | 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/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-221-0/+2
|
* egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke2011-04-221-12/+21
| | | | Needed since wayland-egl doesnt do this anymore.
* egl/wayland: Fix prefixes for interface namesBenjamin Franzke2011-04-221-2/+2
|
* wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg2011-04-202-41/+79
|
* 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_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-041-1/+1
| | | | | 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: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-016-17/+224
|
* 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: Force roundtrips to get device name and authenticate correctlyKristian Høgsberg2011-02-071-4/+28
| | | | | | | | 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
|