Bug 1320644 - Don't use __stdcall with SkiaGLGlue. r=mchang, a=jcristau
authorLee Salzman <lsalzman@mozilla.com>
Wed, 30 Nov 2016 15:12:40 -0500
changeset 352804 d59e82481c869123324aa0f25fb03f3dd9c60aad
parent 352803 5e17b3d541189991000429d69b22d80d0f6f716f
child 352805 c6e3c316f1c0b1559deccd984d2219dc9b9b0e37
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmchang, jcristau
bugs1320644
milestone52.0a2
Bug 1320644 - Don't use __stdcall with SkiaGLGlue. r=mchang, a=jcristau MozReview-Commit-ID: 5pljJkGSN8R
gfx/skia/skia/include/config/SkUserConfig.h
--- a/gfx/skia/skia/include/config/SkUserConfig.h
+++ b/gfx/skia/skia/include/config/SkUserConfig.h
@@ -147,16 +147,19 @@
 
 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
 
 #define SK_SUPPORT_LEGACY_GETDEVICE
 #define SK_SUPPORT_LEGACY_GETTOPDEVICE
 
 #define SK_IGNORE_ETC1_SUPPORT
 
+// Don't use __stdcall with SkiaGLGlue - bug 1320644
+#define GR_GL_FUNCTION_TYPE
+
 #define SK_RASTERIZE_EVEN_ROUNDING
 
 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER
 
 #define SK_DISABLE_SLOW_DEBUG_VALIDATION 1
 
 #define MOZ_SKIA 1