diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-11-25 16:11:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-08 10:20:48 +0000 |
commit | 148c95331d30c44a6a5b5559088cf88d46905bc2 (patch) | |
tree | bfe66f8397224b1e6e6d9f51a8a20b087708bade /meta/recipes-graphics/cogl/cogl-1.0 | |
parent | f54d4e4f480c70d584de8862382292e7c5ff7990 (diff) | |
download | poky-148c95331d30c44a6a5b5559088cf88d46905bc2.tar.gz |
cogl-1.0: Upgrade 1.20.0 -> 1.22.0
Remove patch that is no longer necessary.
(From OE-Core rev: 4781de242473bb53876380d784b00cbdb6700517)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cogl/cogl-1.0')
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch b/meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch deleted file mode 100644 index 8e839579fe..0000000000 --- a/meta/recipes-graphics/cogl/cogl-1.0/cogl-framebuffer-gl-Work-again-on-GLESv2.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | |||
4 | |||
5 | |||
6 | From f8cce5f6cb2958a4074f87cd345bfe46e0dda6e1 Mon Sep 17 00:00:00 2001 | ||
7 | From: "Jasper St. Pierre" <jstpierre@mecheye.net> | ||
8 | Date: Mon, 20 Apr 2015 12:08:29 -0700 | ||
9 | Subject: cogl-framebuffer-gl: Work again on GLESv2 | ||
10 | |||
11 | |||
12 | diff --git a/cogl/driver/gl/cogl-framebuffer-gl.c b/cogl/driver/gl/cogl-framebuffer-gl.c | ||
13 | index 793b10b..609cfb3 100644 | ||
14 | --- a/cogl/driver/gl/cogl-framebuffer-gl.c | ||
15 | +++ b/cogl/driver/gl/cogl-framebuffer-gl.c | ||
16 | @@ -107,6 +107,12 @@ | ||
17 | #ifndef GL_PACK_INVERT_MESA | ||
18 | #define GL_PACK_INVERT_MESA 0x8758 | ||
19 | #endif | ||
20 | +#ifndef GL_BACK_LEFT | ||
21 | +#define GL_BACK_LEFT 0x0402 | ||
22 | +#endif | ||
23 | +#ifndef GL_BACK_RIGHT | ||
24 | +#define GL_BACK_RIGHT 0x0403 | ||
25 | +#endif | ||
26 | |||
27 | #ifndef GL_COLOR | ||
28 | #define GL_COLOR 0x1800 | ||
29 | @@ -245,6 +251,9 @@ _cogl_framebuffer_gl_flush_stereo_mode_state (CoglFramebuffer *framebuffer) | ||
30 | if (framebuffer->type == COGL_FRAMEBUFFER_TYPE_OFFSCREEN) | ||
31 | return; | ||
32 | |||
33 | + if (!ctx->glDrawBuffer) | ||
34 | + return; | ||
35 | + | ||
36 | /* The one-shot default draw buffer setting in _cogl_framebuffer_gl_bind | ||
37 | * must have already happened. If not it would override what we set here. */ | ||
38 | g_assert (ctx->was_bound_to_onscreen); | ||
39 | -- | ||
40 | cgit v0.10.2 | ||
41 | |||