aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpuGL.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-31 13:35:56 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-31 13:35:56 +0000
commit75f9f25d8bf2adc0494f9afbbd5965809ee13aca (patch)
treeac1c54a28cbc3a8e1b6cc6bbf2ae6b148aa1b87d /src/gpu/GrGpuGL.h
parent75942098c500904edd0b52a56d344a63f5814631 (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/GrGpuGL.h')
-rw-r--r--src/gpu/GrGpuGL.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrGpuGL.h b/src/gpu/GrGpuGL.h
index 3196c89c47..6ac48090c1 100644
--- a/src/gpu/GrGpuGL.h
+++ b/src/gpu/GrGpuGL.h
@@ -41,6 +41,7 @@ public:
GrPixelConfig config,
size_t rowBytes) const SK_OVERRIDE;
virtual bool fullReadPixelsIsFasterThanPartial() const SK_OVERRIDE;
+
protected:
GrGpuGL(const GrGLInterface* glInterface, GrGLBinding glBinding);
@@ -193,6 +194,9 @@ protected:
GrPixelConfig config, const void* buffer,
size_t rowBytes) SK_OVERRIDE;
+ virtual void onResolveRenderTarget(GrRenderTarget* target) SK_OVERRIDE;
+
+
virtual void onGpuDrawIndexed(GrPrimitiveType type,
uint32_t startVertex,
uint32_t startIndex,
@@ -276,8 +280,6 @@ private:
void flushStencil();
void flushAAState(GrPrimitiveType type);
- void resolveRenderTarget(GrGLRenderTarget* texture);
-
bool configToGLFormats(GrPixelConfig config,
bool getSizedInternal,
GrGLenum* internalFormat,