[Tizen-submit] 9369: Changes to Tizen/dri2proto

noreply at tizen.org noreply at tizen.org
Thu Aug 29 12:50:45 GMT 2013


Hi,
Sangjin Lee have made the following changes to dri2proto in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #9369

  submit:       Tizen:build/dri2proto(cleanup) -> Tizen


Message:
Submitter: Sangjin Lee <lsj119 at samsung.com>
Comments: add X_DRI2SwapBuffersWithRegion protocol for tizem
Git project: platform/upstream/dri2proto
Tag: submit/tizen/20130829.125334
Commit: d934b92165df5be63c52b91fae572fb5a6cd0702 add  X_DRI2SwapBuffersWithRegion protocol for tizen

State:   new        2013-08-29T05:47:26 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch

spec files:
-----------
--- dri2proto.spec
+++ dri2proto.spec
@@ -2,12 +2,14 @@
 Summary:  X.Org X11 Protocol dri2proto
 Version:  2.8
 Release:  1
-VCS:      platform/upstream/dri2proto#submit/tizen/20130710.130342-0-g0aab30d283fe0ff2efd1e6f98b0b403da62117d0
+VCS:      platform/upstream/dri2proto#submit/tizen/20130829.125334-0-gd934b92165df5be63c52b91fae572fb5a6cd0702
 Group:    Development/System
 License:  MIT
 URL:      http://www.x.org
 Source0:  %{name}-%{version}.tar.bz2
 Source1001: 	dri2proto.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch
 
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig(xorg-macros)
@@ -17,6 +19,8 @@
 
 %prep
 %setup -q
+# 0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch
+%patch0 -p1
 cp %{SOURCE1001} .
 
 %build

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

++++++ 0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch (new)
--- 0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch
+++ 0001-add-X_DRI2SwapBuffersWithRegion-protocol-for-tizen.patch
@@ -0,0 +1,43 @@
+From: SooChan Lim <sc1.lim at samsung.com>
+Date: Thu, 22 Aug 2013 17:33:53 +0900
+Subject: add  X_DRI2SwapBuffersWithRegion protocol for tizen
+
+---
+ dri2proto.h |   17 ++++++++++++++++-
+ 1 files changed, 16 insertions(+), 1 deletions(-)
+
+diff --git a/dri2proto.h b/dri2proto.h
+index 128b807..52ea6ac 100644
+--- a/dri2proto.h
++++ b/dri2proto.h
+@@ -55,7 +55,7 @@
+ #define X_DRI2WaitSBC			11
+ #define X_DRI2SwapInterval		12
+ #define X_DRI2GetParam			13
+-
++#define X_DRI2SwapBuffersWithRegion  50  /*Experimental protocol for TIZEN*/
+ /*
+  * Events
+  */
+@@ -217,6 +217,21 @@ typedef struct {
+ } xDRI2SwapBuffersReq;
+ #define sz_xDRI2SwapBuffersReq  32
+ 
++/*Experimental protocol for TIZEN*/
++typedef struct {
++    CARD8   reqType;
++    CARD8   dri2ReqType;
++    CARD16  length B16;
++    CARD32  drawable B32;
++    CARD32  region B32;
++    CARD32  pad3 B32;
++    CARD32  pad4 B32;
++    CARD32  pad5 B32;
++    CARD32  pad6 B32;
++    CARD32  pad7 B32;
++} xDRI2SwapBuffersWithRegionReq;
++#define sz_xDRI2SwapBuffersWithRegionReq  32
++
+ typedef struct {
+     BYTE    type;   /* X_Reply */

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


More information about the Tizen-submit mailing list