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

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 5 years 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 d1b0802721e97e8005f3491238da1c295eeb429e..0122b81c626190b293e77709680802c69a051d15 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -35,6 +35,8 @@ class GrTransferBuffer;
class GrVertexBuffer;
class GrVertices;
+//#define ENABLE_PLS
+
class GrGpu : public SkRefCnt {
public:
/**
@@ -331,6 +333,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