Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: include/gpu/GrContext.h

Issue 12657003: Move oval rendering code to GrOvalRenderer (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Remove spurious comments Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrOvalRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrOvalRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698