From 3319f33470abc50a6f3da3a565d917050f9b2f53 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Mon, 13 Aug 2012 18:00:36 +0000 Subject: Move resize functionality out of createAndLockTexture and into createResizedTexture http://codereview.appspot.com/6459080/ git-svn-id: http://skia.googlecode.com/svn/trunk@5066 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/gpu/GrContext.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/gpu') diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index abe745384c..8cefa77dec 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -806,6 +806,12 @@ private: kDontFlush_PixelOpsFlag = 0x1, }; + GrTexture* createResizedTexture(const GrTextureDesc& desc, + const GrCacheData& cacheData, + void* srcData, + size_t rowBytes, + bool needsFiltering); + bool internalReadRenderTargetPixels(GrRenderTarget* target, int left, int top, int width, int height, -- cgit v1.2.3