]> code.ossystems Code Review - openembedded-core.git/commit
cairo: backport fix for compatibility with OpenGL ES 2.0
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 21 Oct 2015 03:20:35 +0000 (20:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Oct 2015 11:17:48 +0000 (12:17 +0100)
commit18358a04930722ffec856cab359ed32f061ba555
treec4d51c20de0a547243d3eff7ef878f3bea1dea11
parentf3566af923a9559fa77c1fb0cd22557afb724835
cairo: backport fix for compatibility with OpenGL ES 2.0

To maintain compatibility with OpenGL ES 2.0, the matrix in
_cairo_gl_shader_bind_matrix() should be manually transposed,
and GL_FALSE passed as the transpose argument to the
glUniformMatrix3fv() call as it is the only valid value for
that parameter in OpenGL ES 2.0.

  http://lists.cairographics.org/archives/cairo/2015-May/026253.html
  http://cgit.freedesktop.org/cairo/commit/?id=f52f0e2feb1ad0a4de23c475a8c020d41a1764a8

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/cairo/cairo/Manually-transpose-the-matrix-in-_cairo_gl_shader_bi.patch [new file with mode: 0644]
meta/recipes-graphics/cairo/cairo_1.14.2.bb