Hello community, here is the log from the commit of package cogl for openSUSE:Factory checked in at 2012-06-10 20:20:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cogl (Old) and /work/SRC/openSUSE:Factory/.cogl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cogl", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/cogl/cogl.changes 2012-05-03 10:54:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cogl.new/cogl.changes 2012-06-10 21:52:39.000000000 +0200 @@ -1,0 +2,7 @@ +Wed May 30 16:57:09 UTC 2012 - [email protected] + +- Add cogl-1.8.2-lp-no-framebuffer-blit.patch: Disable the + subbuffer blit code when running on llvmpipe until it's unbroken. + (Fedora) + +------------------------------------------------------------------- New: ---- cogl-1.8.2-lp-no-framebuffer-blit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cogl.spec ++++++ --- /var/tmp/diff_new_pack.RRgoVd/_old 2012-06-10 21:52:40.000000000 +0200 +++ /var/tmp/diff_new_pack.RRgoVd/_new 2012-06-10 21:52:40.000000000 +0200 @@ -25,6 +25,8 @@ Url: http://clutter-project.org/ Source0: http://download.gnome.org/sources/cogl/1.10/%{name}-%{version}.tar.xz Source99: baselibs.conf +# PATCH-FIX-UPSTREAM cogl-1.8.2-lp-no-framebuffer-blit.patch [email protected] -- improve llvmpipe (from Fedora) +Patch0: cogl-1.8.2-lp-no-framebuffer-blit.patch BuildRequires: fdupes BuildRequires: gtk-doc >= 1.13 BuildRequires: pkgconfig(cairo) >= 1.10 @@ -103,6 +105,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build %configure \ ++++++ cogl-1.8.2-lp-no-framebuffer-blit.patch ++++++ diff -up cogl-1.8.2/cogl/winsys/cogl-winsys-glx.c.jx cogl-1.8.2/cogl/winsys/cogl-winsys-glx.c --- cogl-1.8.2/cogl/winsys/cogl-winsys-glx.c.jx 2011-11-03 16:58:15.000000000 -0400 +++ cogl-1.8.2/cogl/winsys/cogl-winsys-glx.c 2011-11-03 17:28:23.313469639 -0400 @@ -418,8 +418,15 @@ update_winsys_features (CoglContext *con TRUE); if (glx_renderer->pf_glXCopySubBuffer || context->glBlitFramebuffer) - COGL_FLAGS_SET (context->winsys_features, - COGL_WINSYS_FEATURE_SWAP_REGION, TRUE); + { + /* hack hack hack hack. llvmpipe's support for both is broken */ + const GLubyte *renderer = context->glGetString (GL_RENDERER); + if (!strstr (renderer, "llvmpipe")) + { + COGL_FLAGS_SET (context->winsys_features, + COGL_WINSYS_FEATURE_SWAP_REGION, TRUE); + } + } /* Note: glXCopySubBuffer and glBlitFramebuffer won't be throttled * by the SwapInterval so we have to throttle swap_region requests -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
