aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.cpp
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2016-02-02 12:48:13 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-02 12:48:14 -0800
commitc92159c8250c62cc47b7b63686538d61d54d2835 (patch)
treec1bafdab01881da55d0bd0fdf3a1337ce2af9e0f /src/gpu/gl/GrGLGpu.cpp
parent1497f9f2641b539f0bc45b4f1496ceab7d56b18c (diff)
Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files.
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 3b7ccd3241..8a0d7282cc 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -857,12 +857,7 @@ bool GrGLGpu::uploadTexData(const GrSurfaceDesc& desc,
size_t trimRowBytes = width * bpp;
// in case we need a temporary, trimmed copy of the src pixels
-#if defined(GOOGLE3)
- // Stack frame size is limited in GOOGLE3.
- SkAutoSMalloc<64 * 128> tempStorage;
-#else
SkAutoSMalloc<128 * 128> tempStorage;
-#endif
// Internal format comes from the texture desc.
GrGLenum internalFormat;