Add new surface flag
authorjvanverth <jvanverth@google.com>
Wed, 2 Sep 2015 19:26:10 +0000 (12:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 2 Sep 2015 19:26:10 +0000 (12:26 -0700)
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/1320533005

include/gpu/GrTypes.h

index ed4827d..8a8e08c 100644 (file)
@@ -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.
      */