Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Compile wayland-drm.a into libEGL independent of egl_dri2 | Benjamin Franzke | 2011-05-16 | 1 | -3/+4 |
| | | | | Fixes egl_gallium when egl_dri2 is not enabled. | ||||
* | egl_dri2: Discard similar configs | Benjamin Franzke | 2011-05-13 | 1 | -4/+2 |
| | |||||
* | egl_dri2: Make it possible to not compile in the X11 platform | Kristian Høgsberg | 2011-05-13 | 4 | -7/+28 |
| | |||||
* | egl/dri2: Avoid unused static functions. | José Fonseca | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | egl/dri2: Prevent uninitialized variable dereference. | José Fonseca | 2011-05-12 | 1 | -2/+5 |
| | |||||
* | egl/dri2: Fix const pointer duplication, prevent unitialized variable ↵ | José Fonseca | 2011-05-12 | 1 | -5/+7 |
| | | | | | | dereference. Based on zhigang gong <[email protected]>'s patch. | ||||
* | egl: Fix int <-> ptr casts. | José Fonseca | 2011-05-12 | 4 | -5/+5 |
| | | | | Based on zhigang gong <[email protected]>'s patch. | ||||
* | egl/wayland: Follow wl_resource_destroy changes | Benjamin Franzke | 2011-05-06 | 1 | -1/+1 |
| | |||||
* | Add pci id for FirePro 2270 | Kostas Georgiou | 2011-05-06 | 1 | -0/+1 |
| | | | | Signed-off-by: Kostas Georgiou <[email protected]> | ||||
* | egl_dri2: add new radeon pci ids | Alex Deucher | 2011-05-06 | 1 | -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_image | Kristian Høgsberg | 2011-05-06 | 1 | -1/+4 |
| | |||||
* | egl/wayland-drm: Generalize interface | Benjamin Franzke | 2011-05-06 | 3 | -63/+113 |
| | | | | Do not depend on _EGLDisplay and _EGLImage. | ||||
* | egl/wayland: Fix possible lockup in drm initialization | Benjamin Franzke | 2011-04-29 | 1 | -1/+1 |
| | | | | Lockup happens when wl_drm interface is not available. | ||||
* | egl: Use the right extension name in #ifdef | Kristian Høgsberg | 2011-04-25 | 1 | -1/+1 |
| | |||||
* | egl/wayland: Follow buffer.attach removal | Benjamin Franzke | 2011-04-22 | 1 | -1/+0 |
| | |||||
* | egl/wayland: Update to buffer.damage addition | Benjamin Franzke | 2011-04-22 | 2 | -4/+5 |
| | |||||
* | egl_dri2: Create wl_buffers for pixmap surfaces | Benjamin Franzke | 2011-04-22 | 2 | -12/+23 |
| | | | | Needed since wayland-egl doesnt do this anymore. | ||||
* | egl/wayland: Add new version parameter for post_drm | Benjamin Franzke | 2011-04-22 | 1 | -1/+3 |
| | |||||
* | egl/wayland: Fix prefixes for interface names | Benjamin Franzke | 2011-04-22 | 2 | -5/+5 |
| | |||||
* | wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_display | Kristian Høgsberg | 2011-04-20 | 4 | -175/+84 |
| | |||||
* | egl/wayland: Update to per-surface frame events | Benjamin Franzke | 2011-04-12 | 1 | -2/+3 |
| | |||||
* | egl_dri2.c: Open drm device with O_CLOEXEC | Kristian Høgsberg | 2011-04-07 | 1 | -1/+1 |
| | | | | Not a good fd to leak. | ||||
* | egl_dri2 x11: Fix a typo | Feng, Haitao | 2011-03-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Haitao Feng <[email protected]> | ||||
* | egl/wayland-drm: Fix include path | Benjamin Franzke | 2011-03-26 | 1 | -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_image | Kristian Høgsberg | 2011-03-26 | 1 | -1/+0 |
| | |||||
* | egl_dri2: Enable image extensions in one place | Kristian Høgsberg | 2011-03-26 | 4 | -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_CAPABLE | Benjamin Franzke | 2011-03-07 | 1 | -0/+1 |
| | | | | | Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this. | ||||
* | egl_dri2: Fix incompatible vfunc-pointer warning | Benjamin Franzke | 2011-03-04 | 1 | -1/+1 |
| | |||||
* | egl/wayland: Move wayland-egl into a subdir | Benjamin Franzke | 2011-03-04 | 6 | -64/+86 |
| | | | | | This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers. | ||||
* | egl_dri2 x11: Workaround device_name xcb-dri2 bug | Benjamin Franzke | 2011-03-02 | 1 | -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 depend | Benjamin Franzke | 2011-03-02 | 1 | -1/+1 |
| | | | | Autogenerated files need to be generated first. | ||||
* | egl: Add EGL_WL_bind_wayland_display | Benjamin Franzke | 2011-03-01 | 19 | -23/+620 |
| | |||||
* | egl_dri2: Return NULL when xcb_get_geometry_reply fails. | Chia-I Wu | 2011-02-20 | 1 | -0/+1 |
| | | | | This should fix bug #33946. | ||||
* | egl_dri2: add swrast | Haitao Feng | 2011-02-16 | 5 | -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 Airlie | 2011-02-14 | 1 | -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_extension | Haitao Feng | 2011-02-10 | 3 | -18/+18 |
| | | | | Signed-off-by: Haitao Feng <[email protected]> | ||||
* | egl_dri2 wayland: Sync front buffer release | Benjamin Franzke | 2011-02-10 | 2 | -26/+67 |
| | |||||
* | egl_dri2: Always unbind old contexts | Benjamin Franzke | 2011-02-10 | 1 | -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 surfaces | Benjamin Franzke | 2011-02-10 | 5 | -40/+110 |
| | |||||
* | wayland-egl: Add struct wl_egl_display argument to +wl_egl_window_create() | Kristian Høgsberg | 2011-02-07 | 1 | -1/+2 |
| | |||||
* | wayland-egl: Force roundtrips to get device name and authenticate correctly | Kristian Høgsberg | 2011-02-07 | 2 | -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 platform | Benjamin Franzke | 2011-02-07 | 4 | -0/+644 |
| | |||||
* | egl_dri2: Export dri2_get_driver_for_fd | Benjamin Franzke | 2011-02-07 | 2 | -1/+4 |
| | |||||
* | egl_dri2: Enable pixmap bind_to_texture according to the extension | Benjamin Franzke | 2011-02-07 | 1 | -1/+2 |
| | |||||
* | egl: Implement libwayland-egl | Benjamin Franzke | 2011-02-07 | 4 | -0/+363 |
| | | | | | This library is required and defined by wayland for EGL implementations supporting wayland. | ||||
* | egl: Add wayland platform | Benjamin Franzke | 2011-02-07 | 4 | -1/+10 |
| | |||||
* | egl_dri2: Add new radeon pci ids | Alex Deucher | 2011-02-03 | 1 | -1/+40 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | egl_dri2: Split out drm platform implementation to a separate file | Kristian Høgsberg | 2011-02-03 | 4 | -595/+640 |
| | |||||
* | egl_dri2: Split out x11 platform code | Kristian Høgsberg | 2011-02-03 | 4 | -826/+936 |
| | |||||
* | egl_dri2: Export glapi symbols for DRI drivers. | Chia-I Wu | 2011-01-30 | 2 | -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. |