Index: include/gpu/GrContext.h |
=================================================================== |
--- include/gpu/GrContext.h (revision 8284) |
+++ include/gpu/GrContext.h (working copy) |
@@ -29,6 +29,7 @@ |
class GrIndexBuffer; |
class GrIndexBufferAllocPool; |
class GrInOrderDrawBuffer; |
+class GrOvalRenderer; |
class GrPathRenderer; |
class GrResourceEntry; |
class GrResourceCache; |
@@ -866,6 +867,7 @@ |
GrInOrderDrawBuffer* fDrawBuffer; |
GrAARectRenderer* fAARectRenderer; |
+ GrOvalRenderer* fOvalRenderer; |
bool fDidTestPMConversions; |
int fPMToUPMConversion; |
@@ -889,12 +891,9 @@ |
/// draw state is left unmodified. |
GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw); |
- void internalDrawPath(const GrPaint& paint, const SkPath& path, const SkStrokeRec& stroke); |
+ void internalDrawPath(GrDrawTarget* target, const GrPaint& paint, const SkPath& path, |
+ const SkStrokeRec& stroke); |
- void internalDrawOval(const GrPaint& paint, const GrRect& oval, const SkStrokeRec& stroke); |
- void internalDrawCircle(const GrPaint& paint, const GrRect& circle, const SkStrokeRec& stroke); |
- bool canDrawOval(const GrPaint& paint, const GrRect& oval, bool* isCircle) const; |
- |
GrTexture* createResizedTexture(const GrTextureDesc& desc, |
const GrCacheID& cacheID, |
void* srcData, |