| Index: src/gpu/GrGpu.h
|
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
|
| index af3502add7827e433f300fd9a32ee7d98bcbe0f0..0d59fe9c20b9faf6875d46a43e5ab27dd3f889df 100644
|
| --- a/src/gpu/GrGpu.h
|
| +++ b/src/gpu/GrGpu.h
|
| @@ -412,6 +412,24 @@ public:
|
| */
|
| void setIndexSourceToBuffer(const GrIndexBuffer* buffer);
|
|
|
| + virtual void draw(const GrDrawTarget::DrawInfo&,
|
| + const GrClipMaskManager::ScissorState&);
|
| + virtual void stencilPath(const GrPath*,
|
| + const GrClipMaskManager::ScissorState&,
|
| + const GrStencilSettings&);
|
| + virtual void drawPath(const GrPath*,
|
| + const GrClipMaskManager::ScissorState&,
|
| + const GrStencilSettings&,
|
| + const GrDeviceCoordTexture* dstCopy);
|
| + virtual void drawPaths(const GrPathRange*,
|
| + const uint32_t indices[],
|
| + int count,
|
| + const float transforms[],
|
| + GrDrawTarget::PathTransformType,
|
| + const GrClipMaskManager::ScissorState&,
|
| + const GrStencilSettings&,
|
| + const GrDeviceCoordTexture*);
|
| +
|
| protected:
|
| DrawType PrimTypeToDrawType(GrPrimitiveType type) {
|
| switch (type) {
|
| @@ -535,25 +553,6 @@ private:
|
| // Given a rt, find or create a stencil buffer and attach it
|
| bool attachStencilBufferToRenderTarget(GrRenderTarget* target);
|
|
|
| - // GrDrawTarget overrides
|
| - virtual void onDraw(const GrDrawTarget::DrawInfo&,
|
| - const GrClipMaskManager::ScissorState&);
|
| - virtual void onStencilPath(const GrPath*,
|
| - const GrClipMaskManager::ScissorState&,
|
| - const GrStencilSettings&);
|
| - virtual void onDrawPath(const GrPath*,
|
| - const GrClipMaskManager::ScissorState&,
|
| - const GrStencilSettings&,
|
| - const GrDeviceCoordTexture* dstCopy);
|
| - virtual void onDrawPaths(const GrPathRange*,
|
| - const uint32_t indices[],
|
| - int count,
|
| - const float transforms[],
|
| - GrDrawTarget::PathTransformType,
|
| - const GrClipMaskManager::ScissorState&,
|
| - const GrStencilSettings&,
|
| - const GrDeviceCoordTexture*);
|
| -
|
| virtual void didAddGpuTraceMarker() = 0;
|
| virtual void didRemoveGpuTraceMarker() = 0;
|
|
|
| @@ -583,9 +582,6 @@ private:
|
| // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu.
|
| GrContext* fContext;
|
|
|
| - // TODO fix this
|
| - friend class GrInOrderDrawBuffer;
|
| -
|
| typedef SkRefCnt INHERITED;
|
| };
|
|
|
|
|