OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #include "GrVkVertexBuffer.h" | 8 #include "GrVkVertexBuffer.h" |
9 #include "GrVkGpu.h" | 9 #include "GrVkGpu.h" |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); | 64 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); |
65 } else { | 65 } else { |
66 return false; | 66 return false; |
67 } | 67 } |
68 } | 68 } |
69 | 69 |
70 GrVkGpu* GrVkVertexBuffer::getVkGpu() const { | 70 GrVkGpu* GrVkVertexBuffer::getVkGpu() const { |
71 SkASSERT(!this->wasDestroyed()); | 71 SkASSERT(!this->wasDestroyed()); |
72 return static_cast<GrVkGpu*>(this->getGpu()); | 72 return static_cast<GrVkGpu*>(this->getGpu()); |
73 } | 73 } |
74 | |
OLD | NEW |