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

Unified Diff: src/gpu/effects/GrDitherEffect.h

Issue 321253002: Simple GPU based dithering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Sync to head Created 6 years, 6 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 | « src/gpu/SkGr.cpp ('k') | src/gpu/effects/GrDitherEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDitherEffect.h
diff --git a/src/gpu/effects/GrOvalEffect.h b/src/gpu/effects/GrDitherEffect.h
similarity index 52%
copy from src/gpu/effects/GrOvalEffect.h
copy to src/gpu/effects/GrDitherEffect.h
index 796ee5befb5790bd8fc586e24f8e5631ff8769df..63036c0c7f23beaa85c3715c7128673b00229fc7 100644
--- a/src/gpu/effects/GrOvalEffect.h
+++ b/src/gpu/effects/GrDitherEffect.h
@@ -5,20 +5,19 @@
* found in the LICENSE file.
*/
-#ifndef GrOvalEffect_DEFINED
-#define GrOvalEffect_DEFINED
+#ifndef GrDitherEffect_DEFINED
+#define GrDitherEffect_DEFINED
#include "GrTypes.h"
#include "GrTypesPriv.h"
class GrEffectRef;
-struct SkRect;
-namespace GrOvalEffect {
+namespace GrDitherEffect {
/**
- * Creates an effect that performs clipping against an oval.
+ * Creates an effect that dithers the resulting color to an RGBA8 framebuffer
*/
- GrEffectRef* Create(GrEffectEdgeType, const SkRect&);
+ GrEffectRef* Create();
};
#endif
« no previous file with comments | « src/gpu/SkGr.cpp ('k') | src/gpu/effects/GrDitherEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698