[oe-commits] Martin Jansa : mesa-dri_7.8.1: update glamo patch a bit

git version control git at git.openembedded.org
Thu May 27 13:54:00 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 53d71738a2a4da3587c6d8a6d65c76581d04468d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=53d71738a2a4da3587c6d8a6d65c76581d04468d

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue May 25 16:03:45 2010 +0200

mesa-dri_7.8.1: update glamo patch a bit

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/mesa/mesa-dri-7.8.1/glamo.patch |   13 +++++++++++++
 recipes/mesa/mesa-dri_7.8.1.bb          |    2 +-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/recipes/mesa/mesa-dri-7.8.1/glamo.patch b/recipes/mesa/mesa-dri-7.8.1/glamo.patch
index cc55c8b..52b4f3f 100644
--- a/recipes/mesa/mesa-dri-7.8.1/glamo.patch
+++ b/recipes/mesa/mesa-dri-7.8.1/glamo.patch
@@ -2371,3 +2371,16 @@ index 0000000..ba8f997
 +                                   unsigned int count);
 +
 +#endif   /* __GLAMO_TRIS_H */
+diff --git a/src/mesa/drivers/dri/glamo/glamo_screen.c b/src/mesa/drivers/dri/glamo/glamo_screen.c
+index 39148f3..8244ec3 100644
+--- a/src/mesa/drivers/dri/glamo/glamo_screen.c
++++ b/src/mesa/drivers/dri/glamo/glamo_screen.c
+@@ -166,7 +166,7 @@ static GLboolean glamoCreateBuffer(__DRIscreen *driScrnPriv,
+    gfb = CALLOC_STRUCT(glamo_framebuffer);
+    if ( !gfb ) return GL_FALSE;
+ 
+-   _mesa_initialize_framebuffer(&gfb->base, mesaVis);
++   _mesa_initialize_window_framebuffer(&gfb->base, mesaVis);
+ 
+    /* we only support this one format at the moment */
+    rgbFormat = GL_RGB5;
diff --git a/recipes/mesa/mesa-dri_7.8.1.bb b/recipes/mesa/mesa-dri_7.8.1.bb
index 1d8e764..5609cb4 100644
--- a/recipes/mesa/mesa-dri_7.8.1.bb
+++ b/recipes/mesa/mesa-dri_7.8.1.bb
@@ -15,7 +15,7 @@ SRC_URI[archive.sha256sum] = "b0b46e5abfd75db44501e308125fa92bcf1c91d91e97a043a3
 SRC_URI[demos.md5sum] = "9ef47f911869657c6bf2f43ebce86b61"
 SRC_URI[demos.sha256sum] = "e9f20b9345240064ac35ec914ebce63322a96d3f7c566963791d0daf7e7a93e5"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 # most of our targets do not have DRI so will use mesa-xlib
 DEFAULT_PREFERENCE = "-1"





More information about the Openembedded-commits mailing list