From c92159c8250c62cc47b7b63686538d61d54d2835 Mon Sep 17 00:00:00 2001 From: benjaminwagner Date: Tue, 2 Feb 2016 12:48:13 -0800 Subject: 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 --- src/gpu/gl/GrGLGpu.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gpu/gl/GrGLGpu.cpp') 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; -- cgit v1.2.3