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

Unified Diff: content/browser/gpu/compositor_util.h

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: tilemanagerconsistency Created 5 years, 7 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: content/browser/gpu/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index 3400fba28474e6aa2856e8a93e4ec999a2199ac1..df1b55eaf911f60f4888d0ff2140f12b2e132c40 100644
--- a/content/browser/gpu/compositor_util.h
+++ b/content/browser/gpu/compositor_util.h
@@ -32,6 +32,10 @@ CONTENT_EXPORT bool IsImplSidePaintingEnabled();
// Only one of one-copy and zero-copy can be enabled at a time.
CONTENT_EXPORT bool IsOneCopyUploadEnabled();
+// Returns true if the GpuMemoryBuffer implementation used by the compositor
+// supports persistent contents across maps.
+CONTENT_EXPORT bool HavePersistentGpuMemoryBuffers();
reveman 2015/05/22 17:15:13 I'm not sure the name of this function makes sense
danakj 2015/05/26 19:02:52 okay~
danakj 2015/05/26 23:37:34 Done.
+
// Returns true if zero-copy uploads is on (via flags, or platform default).
// Only one of one-copy and zero-copy can be enabled at a time.
CONTENT_EXPORT bool IsZeroCopyUploadEnabled();

Powered by Google App Engine
This is Rietveld 408576698