summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* egl_dri2: Enable pixmap bind_to_texture according to the extensionBenjamin Franzke2011-02-071-1/+2
|
* 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.
* egl: Improve driver selection.Chia-I Wu2011-01-132-0/+8
| | | | | | | | | | | | | | | | | | | | | | | The idea is to be able to match a driver using the following order try egl_gallium with hw renderer try egl_dri2 try egl_gallium with sw renderer try egl_glx given the module list egl_gallium egl_dri2 egl_glx For that, UseFallback initialization option is added. The module list is matched twice: with the option unset and with the option set. In the first pass, egl_gallium skips its sw renderer and egl_glx rejects to initialize since UseFallback is not set. In the second pass, egl_gallium skips its hw renderer and egl_dri2 rejects to initialize since UseFallback is set. The process stops at the first driver that initializes the display.
* egl: Simplify driver matching.Chia-I Wu2011-01-132-0/+7
| | | | | | Add initialization options that drv->API.Initialize should support. Replace drv->Probe by TestOnly initialization option and simplify _eglMatchDriver.
* egl: Cleanup _EGLDisplay initialization.Chia-I Wu2011-01-132-23/+19
| | | | | Reorder/rename and document the fields that should be set by the driver during initialization. Drop the major/minor arguments from drv->API.Initialize.
* egl_dri2: Fix eglGetProcAddress.Chia-I Wu2011-01-121-1/+2
| | | | The driver struct is zeroed after dri2_load. Oops.
* egl: Make egl_dri2 and egl_glx built-in drivers.Chia-I Wu2011-01-105-12/+32
| | | | | These two drivers are small in size. Making them built-in should simplify packaging.
* egl_glx: Load libGL dynamically.Chia-I Wu2011-01-102-107/+238
| | | | | | This is a step forward for compatibility with really old GLX. But the real reason for making this change now is so that we can make egl_glx a built-in driver without having to link to libGL.