gfx/skia/patches/0009-Bug-848491-Re-apply-bug-751418-Add-our-own-GrUserCon.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/patches/0009-Bug-848491-Re-apply-bug-751418-Add-our-own-GrUserCon.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +From: George Wright <gw@gwright.org.uk>
     1.5 +Date: Thu, 25 Apr 2013 20:52:32 -0400
     1.6 +Subject: Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig
     1.7 +
     1.8 +
     1.9 +diff --git a/gfx/skia/include/gpu/GrUserConfig.h b/gfx/skia/include/gpu/GrUserConfig.h
    1.10 +index 11d4feb..77ab850 100644
    1.11 +--- a/gfx/skia/include/gpu/GrUserConfig.h
    1.12 ++++ b/gfx/skia/include/gpu/GrUserConfig.h
    1.13 +@@ -43,6 +43,10 @@
    1.14 +  */
    1.15 + //#define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96
    1.16 + 
    1.17 ++/*
    1.18 ++ * This allows us to set a callback to be called before each GL call to ensure
    1.19 ++ * that our context is set correctly
    1.20 ++ */
    1.21 + #define GR_GL_PER_GL_FUNC_CALLBACK  1
    1.22 + 
    1.23 + #endif
    1.24 +-- 
    1.25 +1.7.11.7
    1.26 +

mercurial