Skip to content

Commit

Permalink
Add new surface flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanverth authored and Commit bot committed Sep 2, 2015
1 parent 06f989a commit 5a42c33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/gpu/GrTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,10 @@ enum GrSurfaceFlags {
* GrTexture::asRenderTarget() to access.
*/
kRenderTarget_GrSurfaceFlag = 0x1,
/**
* Placeholder for managing zero-copy textures
*/
kZeroCopy_GrSurfaceFlag = 0x2,
/**
* Indicates that all allocations (color buffer, FBO completeness, etc)
* should be verified.
Expand Down

0 comments on commit 5a42c33

Please sign in to comment.