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

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

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

mercurial