| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef GrBuffer_DEFINED | 8 #ifndef GrBuffer_DEFINED |
| 9 #define GrBuffer_DEFINED | 9 #define GrBuffer_DEFINED |
| 10 | 10 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0; | 132 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0; |
| 133 | 133 |
| 134 size_t fGpuMemorySize; | 134 size_t fGpuMemorySize; |
| 135 GrAccessPattern fAccessPattern; | 135 GrAccessPattern fAccessPattern; |
| 136 bool fCPUBacked; | 136 bool fCPUBacked; |
| 137 | 137 |
| 138 typedef GrGpuResource INHERITED; | 138 typedef GrGpuResource INHERITED; |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 #endif | 141 #endif |
| OLD | NEW |