diff options
author | 2012-01-31 13:35:56 +0000 | |
---|---|---|
committer | 2012-01-31 13:35:56 +0000 | |
commit | 75f9f25d8bf2adc0494f9afbbd5965809ee13aca (patch) | |
tree | ac1c54a28cbc3a8e1b6cc6bbf2ae6b148aa1b87d /src/gpu/GrGpu.cpp | |
parent | 75942098c500904edd0b52a56d344a63f5814631 (diff) |
Add code path for Gr client to resolve an Gr-created MSAA render target.
Review URL: http://codereview.appspot.com/5580049/
git-svn-id: http://skia.googlecode.com/svn/trunk@3112 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index 27a4497e7b..39960de054 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -260,6 +260,13 @@ void GrGpu::writeTexturePixels(GrTexture* texture, config, buffer, rowBytes); } +void GrGpu::resolveRenderTarget(GrRenderTarget* target) { + GrAssert(target); + this->handleDirtyContext(); + this->onResolveRenderTarget(target); +} + + //////////////////////////////////////////////////////////////////////////////// static const int MAX_QUADS = 1 << 12; // max possible: (1 << 14) - 1; |