Chia-I Wu
982cb36584
wayland-drm: remove depend on "make clean"
2011-06-13 12:19:47 +08:00
Chia-I Wu
77e031a1c4
egl_dri2: try swrastg_dri if swrast_dri fails
...
Per libGL.
2011-06-13 12:19:39 +08:00
Chia-I Wu
cf69eeacc6
egl_dri2: add dri2_load_driver_swrast
...
Refactor dri2_load_driver and add dri2_load_driver_swrast for loading
swrast DRI driver.
2011-06-13 11:11:43 +08:00
Benjamin Franzke
16e30276e8
egl_dri2: Compare configs before matching them
...
This compares attribs like buffer size, and will prevent merging
unequal configs because of match criterion is e.g. ATLEAST.
2011-06-12 08:56:35 -04:00
Benjamin Franzke
b8325fd255
egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAY
2011-06-12 08:56:35 -04:00
Benjamin Franzke
ac3c2c8ece
egl_dri2: Add missing header
2011-06-07 17:59:16 -04:00
Benjamin Franzke
3b11d67ef6
egl_dri2: Add missing license
2011-06-07 17:58:59 -04:00
Benjamin Franzke
ec2b08de77
egl_dri2: Use libudev only if available
...
Broken since 7f881c43df .
2011-06-07 17:58:47 -04:00
Benjamin Franzke
7f881c43df
egl_dri2: Use external driver pci list
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:19 -04:00
Benjamin Franzke
089aa313b4
wayland-drm: Check visual for being NULL
2011-05-31 15:13:37 -04:00
Benjamin Franzke
aa87a938fb
egl_dri2: Fix usage of bool values
2011-05-31 15:13:36 -04:00
Benjamin Franzke
5bf6cc95c1
wayland-egl: Remove left-over headers and struct
2011-05-31 15:13:36 -04:00
Alex Deucher
c44dad559a
egl_dri2: add new cayman pci ids
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-25 01:27:34 -04:00
Kristian Høgsberg
339544f4bb
wayland-drm: Use new generic error event
2011-05-19 12:07:00 -04:00
Kristian Høgsberg
bfaa458445
wayland: Fix link order for libwayland-drm.a
2011-05-18 18:57:05 -04:00
Kenneth Graunke
b2c1f8ff1d
egl: Recognize Ivybridge PCI IDs.
...
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-05-17 23:33:02 -07:00
Benjamin Franzke
b8033a5651
egl: Compile wayland-drm.a into libEGL independent of egl_dri2
...
Fixes egl_gallium when egl_dri2 is not enabled.
2011-05-16 10:36:36 +02:00
Benjamin Franzke
83c68758be
egl_dri2: Discard similar configs
2011-05-13 09:31:09 -04:00
Kristian Høgsberg
93aea63a33
egl_dri2: Make it possible to not compile in the X11 platform
2011-05-13 09:31:09 -04:00
José Fonseca
5de2c67ba7
egl/dri2: Avoid unused static functions.
2011-05-12 15:24:26 +01:00
José Fonseca
4a47d6d46b
egl/dri2: Prevent uninitialized variable dereference.
2011-05-12 15:23:48 +01:00
José Fonseca
6c26072bd1
egl/dri2: Fix const pointer duplication, prevent unitialized variable dereference.
...
Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-12 15:23:02 +01:00
José Fonseca
6a661895e9
egl: Fix int <-> ptr casts.
...
Based on zhigang gong <zhigang.gong@gmail.com>'s patch.
2011-05-12 15:12:16 +01:00
Benjamin Franzke
6bb230970c
egl/wayland: Follow wl_resource_destroy changes
2011-05-06 16:50:45 -04:00
Kostas Georgiou
8c3226be90
Add pci id for FirePro 2270
...
Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
2011-05-06 13:03:40 -04:00
Alex Deucher
2c3232da7a
egl_dri2: add new radeon pci ids
...
There seriously needs to be a better way to do
this.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-06 13:02:24 -04:00
Kristian Høgsberg
e5169e9615
egl: Add a cursor use bit to MESA_drm_image
2011-05-06 10:33:50 -04:00
Benjamin Franzke
834b84149d
egl/wayland-drm: Generalize interface
...
Do not depend on _EGLDisplay and _EGLImage.
2011-05-06 10:33:50 -04:00
Benjamin Franzke
dc520d4fef
egl/wayland: Fix possible lockup in drm initialization
...
Lockup happens when wl_drm interface is not available.
2011-04-29 17:05:16 +02:00
Kristian Høgsberg
f274dfaca4
egl: Use the right extension name in #ifdef
2011-04-25 15:34:04 -04:00
Benjamin Franzke
01b036adea
egl/wayland: Follow buffer.attach removal
2011-04-22 12:21:46 -04:00
Benjamin Franzke
b1a9172277
egl/wayland: Update to buffer.damage addition
2011-04-22 12:21:37 -04:00
Benjamin Franzke
f09c66b3cc
egl_dri2: Create wl_buffers for pixmap surfaces
...
Needed since wayland-egl doesnt do this anymore.
2011-04-22 08:56:33 -04:00
Benjamin Franzke
1617b268ef
egl/wayland: Add new version parameter for post_drm
2011-04-22 08:56:30 -04:00
Benjamin Franzke
2225397d1c
egl/wayland: Fix prefixes for interface names
2011-04-22 08:56:27 -04:00
Kristian Høgsberg
c0f8c9911c
wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_display
2011-04-20 17:47:20 -04:00
Benjamin Franzke
f05751aa2a
egl/wayland: Update to per-surface frame events
2011-04-12 11:08:17 -04:00
Kristian Høgsberg
55a629cee5
egl_dri2.c: Open drm device with O_CLOEXEC
...
Not a good fd to leak.
2011-04-07 18:27:56 -04:00
Feng, Haitao
58f95f9d01
egl_dri2 x11: Fix a typo
...
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-03-30 08:29:09 -04:00
Benjamin Franzke
62d5f7a04a
egl/wayland-drm: Fix include path
...
src/egl/main/egltypedefs.h needs the path for EGL/egl.h
Reported by jlind on irc.
2011-03-26 10:57:31 -04:00
Kristian Høgsberg
a1bd012473
egl_dri2: We don't actually support KHR_gl_texture_2D_image
2011-03-26 10:57:31 -04:00
Kristian Høgsberg
981e338611
egl_dri2: Enable image extensions in one place
...
We know what we can support in egl_dri2.c so just enable the extensions
there.
2011-03-26 10:57:31 -04:00
Benjamin Franzke
4f6fbfa0ed
egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE
...
Broken since 6538b5824e .
Thanks to iskren on #wayland for helping on finding this.
2011-03-07 00:32:05 +01:00
Benjamin Franzke
22d9ae11bc
egl_dri2: Fix incompatible vfunc-pointer warning
2011-03-04 16:36:37 -05:00
Benjamin Franzke
e71920929e
egl/wayland: Move wayland-egl into a subdir
...
This hopefully fixes wayland-egl's dependency
resolution for autogenerated wayland-drm headers.
2011-03-04 16:36:37 -05:00
Benjamin Franzke
4ca075ac4f
egl_dri2 x11: Workaround device_name xcb-dri2 bug
...
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."
2011-03-02 20:41:38 +01:00
Benjamin Franzke
648a16d079
egl/wayland: build subdirs (wayland-drm) before depend
...
Autogenerated files need to be generated first.
2011-03-02 20:17:26 +01:00
Benjamin Franzke
6b369c4c7c
egl: Add EGL_WL_bind_wayland_display
2011-03-01 17:23:50 -05:00
Chia-I Wu
bf0c56522e
egl_dri2: Return NULL when xcb_get_geometry_reply fails.
...
This should fix bug #33946 .
2011-02-20 12:26:31 -07:00
Haitao Feng
f55d027ac2
egl_dri2: add swrast
...
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 <haitao.feng@intel.com>
2011-02-16 23:06:36 -05:00