Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index af31480ba74d80db4716ccffaf3aad370f9d4c0a..73c7d6b742f323fe7c325112dce08f85da8b1518 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -401,14 +401,14 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, |
// On many GPUs, map memory is very expensive, so we effectively disable it here by setting the |
// threshold to the maximum unless the client gives us a hint that map memory is cheap. |
- if (fGeometryBufferMapThreshold < 0) { |
+ if (fBufferMapThreshold < 0) { |
// We think mapping on Chromium will be cheaper once we know ahead of time how much space |
// we will use for all GrBatchs. Right now we might wind up mapping a large buffer and using |
// a small subset. |
#if 0 |
- fGeometryBufferMapThreshold = kChromium_GrGLDriver == ctxInfo.driver() ? 0 : SK_MaxS32; |
+ fBufferMapThreshold = kChromium_GrGLDriver == ctxInfo.driver() ? 0 : SK_MaxS32; |
#else |
- fGeometryBufferMapThreshold = SK_MaxS32; |
+ fBufferMapThreshold = SK_MaxS32; |
#endif |
} |