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

Unified Diff: src/gpu/GrGpu.h

Issue 1541903002: added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 3eaa3fc035e27ebc821b16825f26d24443e02f8c..67f6c8ef664c1447c335be660d549050522bbb97 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -35,6 +35,8 @@ class GrTransferBuffer;
class GrVertexBuffer;
class GrVertices;
+//#define ENABLE_PLS
bsalomon 2016/01/13 19:15:34 Since this macro spans multiple files maybe prefix
+
class GrGpu : public SkRefCnt {
public:
/**
@@ -345,6 +347,9 @@ public:
void draw(const DrawArgs&, const GrVertices&);
+ // Called by drawtarget when flushing. Provides a hook for working around an ARM PLS driver bug.
+ virtual void performFlushWorkaround();
+
///////////////////////////////////////////////////////////////////////////
// Debugging and Stats

Powered by Google App Engine
This is Rietveld 408576698