aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@google.com>2015-10-23 13:54:12 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-23 13:54:12 -0700
commit6df232d251cefe8f3498a1ae4dad449bafa9ebb3 (patch)
treee39e0892367fe2a0e37df4a7969046957d294e56 /include/gpu
parent043a75e234864161013863c0bf92002a165bb31b (diff)
Revert of Experimental CL to stop using subdata (patchset #1 id:1 of https://codereview.chromium.org/1413263006/ )
Reason for revert: might be breaking tsan Original issue's description: > Experimental CL to stop using subdata > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/383ce32e3e5ca0c8997ece827205f61d348ee56f TBR=bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1409123004
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/gl/GrGLConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h
index b9769ea7e7..c91537cc38 100644
--- a/include/gpu/gl/GrGLConfig.h
+++ b/include/gpu/gl/GrGLConfig.h
@@ -111,6 +111,10 @@
#define GR_GL_CHECK_ERROR_START 1
#endif
+#if !defined(GR_GL_USE_BUFFER_DATA_NULL_HINT)
+ #define GR_GL_USE_BUFFER_DATA_NULL_HINT 1
+#endif
+
#if !defined(GR_GL_PER_GL_FUNC_CALLBACK)
#define GR_GL_PER_GL_FUNC_CALLBACK 0
#endif