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

Unified Diff: src/gpu/GrGpu.h

Issue 1705133002: Add GrGpu support for Vulkan command buffer flush (Closed) Base URL: https://chromium.googlesource.com/skia@master
Patch Set: Merge postFlush and performFlushWorkaround Created 4 years, 10 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/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 27a97e3ea9151e169c7aa6278a21894746f18d2d..ce46142896e15ea9b5f9dd4671bb64d58d7bae32 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -349,8 +349,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();
+ // Called by drawtarget when flushing.
+ // Provides a hook for post-flush actions (e.g. PLS reset and Vulkan command buffer submits).
+ virtual void finishDrawTarget() {}
///////////////////////////////////////////////////////////////////////////
// Debugging and Stats
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698