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

Unified Diff: include/gpu/GrTypes.h

Issue 1320533005: Add new surface flag (Closed) Base URL: https://chromium.googlesource.com/skia@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrTypes.h
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index ed4827d62765204439df80c01a72109abb29d474..8a8e08c949910c0b60f5932d5bb817e54acdbe10 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -417,6 +417,10 @@ enum GrSurfaceFlags {
*/
kRenderTarget_GrSurfaceFlag = 0x1,
/**
+ * Placeholder for managing zero-copy textures
+ */
+ kZeroCopy_GrSurfaceFlag = 0x2,
+ /**
* Indicates that all allocations (color buffer, FBO completeness, etc)
* should be verified.
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698