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

Unified Diff: include/gpu/GrPaint.h

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month 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 | « include/core/SkMaskFilter.h ('k') | include/gpu/GrRenderTargetContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrPaint.h
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
index ade2319b66781e3ba6a4275084dca2723acc8c78..19930d54f45e9aad655125e8b860c1ce3584d1e7 100644
--- a/include/gpu/GrPaint.h
+++ b/include/gpu/GrPaint.h
@@ -20,6 +20,8 @@
#include "SkRefCnt.h"
#include "SkRegion.h"
+class GrTextureProxy;
+
/**
* The paint describes how color and coverage are computed at each pixel by GrContext draw
* functions and the how color is blended with the destination pixel.
@@ -129,6 +131,14 @@ public:
const GrTextureParams&);
void addCoverageTextureProcessor(GrTexture*, const SkMatrix&, const GrTextureParams&);
+ //--
+ void addColorTextureProcessor(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&);
+ void addCoverageTextureProcessor(GrTextureProxy*, const SkMatrix&);
+ void addColorTextureProcessor(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&,
+ const GrTextureParams&);
+ void addCoverageTextureProcessor(GrTextureProxy*, const SkMatrix&, const GrTextureParams&);
+ //--
+
int numColorFragmentProcessors() const { return fColorFragmentProcessors.count(); }
int numCoverageFragmentProcessors() const { return fCoverageFragmentProcessors.count(); }
int numTotalFragmentProcessors() const { return this->numColorFragmentProcessors() +
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/gpu/GrRenderTargetContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698