History log of /external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b565197c5c1a516fa416bb2587365e15bb38b5b0 16-Oct-2012 Kristian Høgsberg <krh@bitplanet.net> wayland: Remove 0.85 compatibility #ifdefs
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
1aaec8c60985ffe03af265bf8f659ee0319926ca 05-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Add protocol to create planar buffers
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
379eb47ea61c87c9ac071fa6d93e49ae3f02ac2c 05-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Pass struct wl_drm_buffer to the driver

We're going to extend this to support multi-plane buffers, so pass this
to the driver so it can access the details.
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
4f2eafe4dcea26d7275b121360c4f4e0b28455f5 11-Apr-2012 Neil Roberts <neil@linux.intel.com> wayland-drm: Implement wl_buffer.damage in old versions of Wayland

Commit 272bc48976 removed the damage implementation for the
wl_buffer_interface because that has been removed from git master of
Wayland. However this breaks building with the 0.85 branch of Wayland
because it would end up initialising the struct incorrectly.

For the time being it's quite convenient for some compositors to track
the 0.85 branch of Wayland because the protocol is stable but they
will also want to track the master branch of Mesa so that they can use
the gbm surface changes.

This patch adds a compile-time check for the version of Wayland so
that it can work with either Wayland master or the 0.85 branch.

krh: Edited to also account for API changes in 6802eaa68, which
removes the timestamp argument from wl_resource_destroy().
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
272bc489762c6946e3c0314e9e035b281c567310 10-Apr-2012 Pekka Paalanen <ppaalanen@gmail.com> wayland-drm: remove wl_buffer.damage

This is a related fix for the Wayland change:

commit 83685c506e76212ae4e5cb722205d98d3b0603b9
Author: Kristian Høgsberg <krh@bitplanet.net>
Date: Mon Mar 26 16:33:24 2012 -0400

Remove wl_buffer.damage and simplify shm implementation

Apparently, this should also fix a memory leak. When wl_buffer.damage
was removed from Wayland and Mesa was not fixed, wl_buffer.destroy ended
up in the (empty) damage function instead of calling
wl_resource_destroy().

Spotted during build as:
CC wayland-drm-protocol.lo
wayland-drm.c:80:2: warning: initialization from incompatible pointer type
wayland-drm.c:82:1: warning: excess elements in struct initializer
wayland-drm.c:82:1: warning: (near initialization for 'drm_buffer_interface')

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
58dc1b28d1ef4d1931c52b079d304f2e1546329d 11-Jan-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.h
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
670f182a1f0401f34b1fb7ead50644589737f0d2 10-Jan-2012 Robert Bragg <robert@linux.intel.com> egl_dri2/wayland: handle creating xrgb8888 images

When creating an EGLImage from a struct wl_buffer * this ensures
that we create an XRGB8888 image if the wayland buffer doesn't have an
alpha channel. To determine if a wl_buffer has a valid alpha channel
this patch adds an internal wayland_drm_buffer_has_alpha() function.

It's important to get the internal format for an EGLImage right so that
if a GL texture is later created from the image then the GL driver will
know if it should sample the alpha from the texture or flatten it to
a constant of 1.0.

This avoids needing fragment program workarounds in wayland compositors
to manually ignore the alpha component of textures created from wayland
buffers.

krh: Edited to use wl_buffer_get_format() instead of wl_buffer_has_alpha().

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
64332917c972a075c9e7792d77d8ef5ac2fd5a90 01-Sep-2011 Kristian Høgsberg <krh@bitplanet.net> wayland: Use wl_resource_* error functions
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
59884b9b5922ceb87e5d24acc36ffc70570a873d 01-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> wayland-drm: Fix compilation with wayland master

c661ecce introduced some not-yet-upstream stuff.
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
7b1d94e5d1f53ac5f59000176aea1d02fc9a1181 31-Aug-2011 Kristian Høgsberg <krh@bitplanet.net> wayland: Track changes to drop wl_visual
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
c661ecce1089000c3fca9a543713f8264221be50 22-Aug-2011 Kristian Høgsberg <krh@bitplanet.net> wayland: Track server side wayland changes
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
f747d03b1d3aa4e63417bd8486909f63b4a33be4 06-Jul-2011 Völgyes Dávid <david.volgyes@gmail.com> Fixes for leaks reported by cppcheck.
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
0cb356dd5c93f745bb1b17987d206a24ab708f31 06-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl_dri2/wayland: Hook up new buffer.release event
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
089aa313b40b495e9d9a9d209fe3851d43807f6e 31-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> wayland-drm: Check visual for being NULL
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
339544f4bbef9be1b4b3465f28482b9699a99692 11-May-2011 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Use new generic error event
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
6bb230970cb2da5e3fe9bc63991b4b5f92445e92 06-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Follow wl_resource_destroy changes
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
834b84149d99526e4e7a3cfa6ba9fe81e5fb9eda 30-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland-drm: Generalize interface

Do not depend on _EGLDisplay and _EGLImage.
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
01b036adea7c6534e0c3122c02c289f6fa2804e8 07-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Follow buffer.attach removal
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
b1a91722773152ea96de79d2b446ae488561bb0c 07-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Update to buffer.damage addition
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
1617b268ef79bd7dc527f6dc65f3ef0d3c51a77d 21-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Add new version parameter for post_drm
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c
6b369c4c7cd8a52f99bbff2a57fb316b33a87495 21-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Add EGL_WL_bind_wayland_display
/external/mesa3d/src/egl/wayland/wayland-drm/wayland-drm.c