diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-13 18:00:36 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-13 18:00:36 +0000 |
commit | 3319f33470abc50a6f3da3a565d917050f9b2f53 (patch) | |
tree | 79205270c99437aa2e28828364f19839b5007aaf /include | |
parent | 9c2ea846351a29208cb4a36301ee611e7fb384ea (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 6 |
1 files changed, 6 insertions, 0 deletions
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, |