| Index: include/gpu/GrTypesPriv.h
|
| diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h
|
| index 6cbd6bb0be3de165bf27d82ea94d086c46258f4d..16e2b0bc56d4468d771296aaf5d2e668bace848f 100644
|
| --- a/include/gpu/GrTypesPriv.h
|
| +++ b/include/gpu/GrTypesPriv.h
|
| @@ -268,6 +268,17 @@ private:
|
| SkIRect fRect;
|
| };
|
|
|
| +/**
|
| + * Indicates the transfer direction for a transfer buffer
|
| + */
|
| +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, ...) \
|
|
|