diff options
author | obache <obache@pkgsrc.org> | 2014-05-16 01:56:59 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-05-16 01:56:59 +0000 |
commit | 0579d0754d896f7af7cfef3897534be366652d56 (patch) | |
tree | 2974828780335f4f4e44eaab433355486e90a28d /graphics/cogl | |
parent | dec14d4e4ff06b2d4c89fc247f746b2dd9a474df (diff) | |
download | pkgsrc-0579d0754d896f7af7cfef3897534be366652d56.tar.gz |
prepare missing OpenGL ARB_sync extension.
Diffstat (limited to 'graphics/cogl')
-rw-r--r-- | graphics/cogl/distinfo | 3 | ||||
-rw-r--r-- | graphics/cogl/patches/patch-cogl_driver_gl_gl_cogl-driver-gl.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/cogl/distinfo b/graphics/cogl/distinfo index ab7fb10d0aa..d88dcbee822 100644 --- a/graphics/cogl/distinfo +++ b/graphics/cogl/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2014/01/26 08:44:04 obache Exp $ +$NetBSD: distinfo,v 1.7 2014/05/16 01:56:59 obache Exp $ SHA1 (cogl-1.16.2.tar.xz) = a97b917ae6033aba7b132c0095e24bd8bfb62aee RMD160 (cogl-1.16.2.tar.xz) = 420838ca3de6db8dce4093fc20578a22f778d5d6 Size (cogl-1.16.2.tar.xz) = 1647192 bytes SHA1 (patch-cogl-winsys-cogl-winsys-glx.c) = 1d651b757c1ae2e4705922a7c7ac3a7c557bf0e4 +SHA1 (patch-cogl_driver_gl_gl_cogl-driver-gl.c) = 91e72c0c54f4c79a4cb555bc5cf42e639680210a diff --git a/graphics/cogl/patches/patch-cogl_driver_gl_gl_cogl-driver-gl.c b/graphics/cogl/patches/patch-cogl_driver_gl_gl_cogl-driver-gl.c new file mode 100644 index 00000000000..b6a6f49175e --- /dev/null +++ b/graphics/cogl/patches/patch-cogl_driver_gl_gl_cogl-driver-gl.c @@ -0,0 +1,17 @@ +$NetBSD: patch-cogl_driver_gl_gl_cogl-driver-gl.c,v 1.1 2014/05/16 01:56:59 obache Exp $ + +* prepare missing OpenGL ARB_sync extension. + +--- cogl/driver/gl/gl/cogl-driver-gl.c.orig 2014-01-20 17:31:02.000000000 +0000 ++++ cogl/driver/gl/gl/cogl-driver-gl.c +@@ -616,8 +616,10 @@ _cogl_driver_update_features (CoglContex + COGL_PRIVATE_FEATURE_QUERY_TEXTURE_PARAMETERS | + COGL_PRIVATE_FEATURE_TEXTURE_MAX_LEVEL); + ++#ifdef GL_ARB_sync + if (ctx->glFenceSync) + COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_FENCE, TRUE); ++#endif + + /* Cache features */ + ctx->private_feature_flags |= private_flags; |