1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/patches/archive/0012-Bug-751418-Add-our-own-GrUserConfig-r-mattwoodrow.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +From 4c25387e6e6cdb55f19e51631a78c3fa9b4a3c73 Mon Sep 17 00:00:00 2001 1.5 +From: George Wright <gw@gwright.org.uk> 1.6 +Date: Thu, 1 Nov 2012 17:29:50 -0400 1.7 +Subject: [PATCH 2/8] Bug 751418 - Add our own GrUserConfig r=mattwoodrow 1.8 + 1.9 +--- 1.10 + gfx/skia/include/gpu/GrUserConfig.h | 6 ++++++ 1.11 + 1 file changed, 6 insertions(+) 1.12 + 1.13 +diff --git a/gfx/skia/include/gpu/GrUserConfig.h b/gfx/skia/include/gpu/GrUserConfig.h 1.14 +index d514486..b729ab3 100644 1.15 +--- a/gfx/skia/include/gpu/GrUserConfig.h 1.16 ++++ b/gfx/skia/include/gpu/GrUserConfig.h 1.17 +@@ -64,6 +64,12 @@ 1.18 + #define GR_TEXT_SCALAR_IS_FIXED 0 1.19 + #define GR_TEXT_SCALAR_IS_FLOAT 1 1.20 + 1.21 ++/* 1.22 ++ * This allows us to set a callback to be called before each GL call to ensure 1.23 ++ * that our context is set correctly 1.24 ++ */ 1.25 ++#define GR_GL_PER_GL_FUNC_CALLBACK 1 1.26 ++ 1.27 + #endif 1.28 + 1.29 + 1.30 +-- 1.31 +1.7.11.7 1.32 +