diff options
author | 2016-02-02 12:48:13 -0800 | |
---|---|---|
committer | 2016-02-02 12:48:14 -0800 | |
commit | c92159c8250c62cc47b7b63686538d61d54d2835 (patch) | |
tree | c1bafdab01881da55d0bd0fdf3a1337ce2af9e0f /src/gpu/gl/GrGLGpu.cpp | |
parent | 1497f9f2641b539f0bc45b4f1496ceab7d56b18c (diff) |
Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files.
Does not change the public API.
TBR=reed
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1656143003
Review URL: https://codereview.chromium.org/1656143003
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 5 |
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; |