Index: include/gpu/GrTypesPriv.h |
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h |
index 6135c14c12198232b67e41dbc7ea63545a278634..3d45c173ece2c2504e35d2307f01bc33ce63b77b 100644 |
--- a/include/gpu/GrTypesPriv.h |
+++ b/include/gpu/GrTypesPriv.h |
@@ -267,6 +267,17 @@ private: |
SkIRect fRect; |
}; |
+/** |
+* Indicates the transfer direction for a transfer buffer |
bsalomon
2016/01/05 14:01:17
nit the single *s should be one space out to align
jvanverth1
2016/01/05 17:21:28
Done.
|
+*/ |
+enum TransferType { |
+ /** Caller intends to use the buffer to transfer data to the GPU */ |
+ kCpuToGpu_TransferType, |
+ /** Caller intends to use the buffer to transfer data from the GPU */ |
+ kGpuToCpu_TransferType |
+}; |
+ |
+ |
#ifdef SK_DEBUG |
// Takes a pointer to a GrCaps, and will suppress prints if required |
#define GrCapsDebugf(caps, ...) \ |