aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 1c7cb865c3..ee6130b13d 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -254,6 +254,8 @@ public:
const GrRenderTarget* getRenderTarget() const;
GrRenderTarget* getRenderTarget();
+ GrAARectRenderer* getAARectRenderer() { return fAARectRenderer; }
+
/**
* Can the provided configuration act as a color render target?
*/
@@ -705,9 +707,9 @@ private:
GrIndexBufferAllocPool* fDrawBufferIBAllocPool;
GrInOrderDrawBuffer* fDrawBuffer;
- GrContext(GrGpu* gpu);
+ GrAARectRenderer* fAARectRenderer;
- GrAARectRenderer* fAARectRenderer;
+ GrContext(GrGpu* gpu);
void setupDrawBuffer();