gfx/skia/patches/archive/0012-Bug-751418-Add-our-own-GrUserConfig-r-mattwoodrow.patch

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 From 4c25387e6e6cdb55f19e51631a78c3fa9b4a3c73 Mon Sep 17 00:00:00 2001
     2 From: George Wright <gw@gwright.org.uk>
     3 Date: Thu, 1 Nov 2012 17:29:50 -0400
     4 Subject: [PATCH 2/8] Bug 751418 - Add our own GrUserConfig r=mattwoodrow
     6 ---
     7  gfx/skia/include/gpu/GrUserConfig.h | 6 ++++++
     8  1 file changed, 6 insertions(+)
    10 diff --git a/gfx/skia/include/gpu/GrUserConfig.h b/gfx/skia/include/gpu/GrUserConfig.h
    11 index d514486..b729ab3 100644
    12 --- a/gfx/skia/include/gpu/GrUserConfig.h
    13 +++ b/gfx/skia/include/gpu/GrUserConfig.h
    14 @@ -64,6 +64,12 @@
    15  #define GR_TEXT_SCALAR_IS_FIXED     0
    16  #define GR_TEXT_SCALAR_IS_FLOAT     1
    18 +/*
    19 + * This allows us to set a callback to be called before each GL call to ensure
    20 + * that our context is set correctly
    21 + */
    22 +#define GR_GL_PER_GL_FUNC_CALLBACK  1
    23 +
    24  #endif
    27 -- 
    28 1.7.11.7

mercurial