[Tizen-submit] 21522: Changes to Tizen:Generic/weston

noreply at tizen.org noreply at tizen.org
Mon Feb 24 20:07:27 GMT 2014


Hi,
Ossama Othman have made the following changes to weston in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21522

  submit:       Tizen:Generic:build/weston(cleanup) -> Tizen:Generic


Message:
Submitter: Ossama Othman <ossama.othman at intel.com>
Comments: Reinstate gl renderer read_surface_pixels() implementation.
Git project: platform/upstream/weston
Tag: submit/tizen/20140224.200618
Commit: 13640d5c849085fa2b099c2d54e656eec8a1318f This vfunc lets us read out a rectangle of pixels from the currently attached surface buffer.

State:   new        2014-02-24T20:07:08 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch

spec files:
-----------
--- weston.spec
+++ weston.spec
@@ -7,7 +7,7 @@
 %endif
 
 Name:           weston
-VCS:            platform/upstream/weston#804c40d5e1d0f4a42db1cbc7d6cf0666b82c1e7d
+VCS:            platform/upstream/weston#13640d5c849085fa2b099c2d54e656eec8a1318f
 Version:        1.4.0
 Release:        0
 Summary:        Wayland Compositor Infrastructure
@@ -20,6 +20,8 @@
 Source0:         %name-%version.tar.xz
 Source1:        weston.target
 Source1001: 	weston.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:        0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch
 BuildRequires:	autoconf >= 2.64, automake >= 1.11
 BuildRequires:  expat-devel
 BuildRequires:  libjpeg-devel
@@ -85,6 +87,8 @@
 
 %prep
 %setup -q
+# 0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch
+%patch0 -p1
 cp %{SOURCE1001} .
 
 %build

other changes:
--------------

++++++ 0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch (new)
--- 0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch
+++ 0001-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch
@@ -0,0 +1,111 @@
+From: =?utf-8?q?Kristian_H=C3=B8gsberg?= <krh at bitplanet.net>
+Date: Wed, 29 Jan 2014 15:55:09 +0900
+Subject: This vfunc lets us read out a rectangle of pixels from the currently
+ attached surface buffer.
+
+Change-Id: Ia12d01fd0d157654602a2c46dd5874218252dd2f
+---
+ src/compositor.h  |    3 ++
+ src/gl-renderer.c |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 57 insertions(+), 0 deletions(-)
+
+diff --git a/src/compositor.h b/src/compositor.h
+index 22a485f..ace75da 100644
+--- a/src/compositor.h
++++ b/src/compositor.h
+@@ -540,6 +540,9 @@ struct weston_renderer {
+ 			       pixman_format_code_t format, void *pixels,
+ 			       uint32_t x, uint32_t y,
+ 			       uint32_t width, uint32_t height);
++	int (*read_surface_pixels)(struct weston_surface *es,
++				   pixman_format_code_t format, void *pixels,
++				   int x, int y, int width, int height);
+ 	void (*repaint_output)(struct weston_output *output,
+ 			       pixman_region32_t *output_damage);
+ 	void (*flush_damage)(struct weston_surface *surface);
+diff --git a/src/gl-renderer.c b/src/gl-renderer.c
+index 0e5afbe..dca2e05 100644
+--- a/src/gl-renderer.c
++++ b/src/gl-renderer.c
+@@ -106,6 +106,8 @@ struct gl_renderer {
+ 	EGLContext egl_context;
+ 	EGLConfig egl_config;
+ 
++	GLuint fbo;
++
+ 	struct wl_array vertices;
+ 	struct wl_array vtxcnt;
+ 
+@@ -585,6 +587,54 @@ out:
+ 	pixman_region32_fini(&repaint);

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list