Re: [Mesa-dev] [RFC 1/5] wayland-drm: add a few lovely notes about future work.

2016-04-25 Thread Daniel Stone
Hi,

On 21 April 2016 at 13:24, Emil Velikov  wrote:
> diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h 
> b/src/egl/wayland/wayland-drm/wayland-drm.h
> index 7892d56..33d7fd4 100644
> --- a/src/egl/wayland/wayland-drm/wayland-drm.h
> +++ b/src/egl/wayland/wayland-drm/wayland-drm.h
> @@ -3,6 +3,10 @@
>
>  #include 
>
> +// XXX: These formats should go. One should use the auto-generated ones.
> +// XXX: Ensure that no-one but wayland-egl and/or wayland EGL platform codes
> +// includes this. Doing so give us an ABI, which we don't check but perhaps 
> we should.
> +
>  #ifndef WL_DRM_FORMAT_ENUM
>  #define WL_DRM_FORMAT_ENUM
>  enum wl_drm_format {

Indeed, this is already provided by wayland-drm-*-protocol.h, and only
used in places which may include those files.

Reviewed-by: Daniel Stone 

Cheers,
Daniel
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [RFC 1/5] wayland-drm: add a few lovely notes about future work.

2016-04-21 Thread Emil Velikov
---
 src/egl/wayland/wayland-drm/wayland-drm.h | 4 
 1 file changed, 4 insertions(+)

diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h 
b/src/egl/wayland/wayland-drm/wayland-drm.h
index 7892d56..33d7fd4 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.h
+++ b/src/egl/wayland/wayland-drm/wayland-drm.h
@@ -3,6 +3,10 @@
 
 #include 
 
+// XXX: These formats should go. One should use the auto-generated ones.
+// XXX: Ensure that no-one but wayland-egl and/or wayland EGL platform codes
+// includes this. Doing so give us an ABI, which we don't check but perhaps we 
should.
+
 #ifndef WL_DRM_FORMAT_ENUM
 #define WL_DRM_FORMAT_ENUM
 enum wl_drm_format {
-- 
2.8.0

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev