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

Unified Diff: include/core/SkXfermode.h

Issue 1215643006: more threading of GrShaderDataManager (Closed) Base URL: https://skia.googlesource.com/skia.git@GrShaderDataManager3
Patch Set: tweaks Created 5 years, 5 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 | « gm/dcshader.cpp ('k') | include/gpu/effects/GrCustomXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index e7f3bd6541713d27c64cfd70a020f81255587628..7cbde0e7e87657eb42b28f6e649197d664a031a2 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -14,6 +14,7 @@
#include "SkColor.h"
class GrFragmentProcessor;
+class GrShaderDataManager;
class GrTexture;
class GrXPFactory;
class SkString;
@@ -207,7 +208,8 @@ public:
required. Upon success the function returns true and the caller owns a ref to the fragment
parameter. Upon failure false is returned and the processor param is not written to.
*/
- virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture* background) const;
+ virtual bool asFragmentProcessor(GrFragmentProcessor**, GrShaderDataManager*,
+ GrTexture* background) const;
/** A subclass may implement this factory function to work with the GPU backend. It is legal
to call this with xpf NULL to simply test the return value. If xpf is non-NULL then the
« no previous file with comments | « gm/dcshader.cpp ('k') | include/gpu/effects/GrCustomXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698