Home
last modified time | relevance | path

Searched refs:GrMtlBuffer (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/mtl/
DGrMtlBuffer.mm8 #include "GrMtlBuffer.h"
19 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrBufferType intendedType,
24 sk_sp<GrMtlBuffer> buffer(new GrMtlBuffer(gpu, size, intendedType, accessPattern));
31 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrBufferType intendedType, function
37 // synchronize gpu and cpu access of a resource yet. See comments in GrMtlBuffer::internalMap()
54 GrMtlBuffer::~GrMtlBuffer() { function
60 bool GrMtlBuffer::onUpdateData(const void* src, size_t srcInBytes) {
86 inline GrMtlGpu* GrMtlBuffer::mtlGpu() const {
91 void GrMtlBuffer::onAbandon() {
99 void GrMtlBuffer::onRelease() {
[all …]
DGrMtlBuffer.h18 class GrMtlBuffer: public GrBuffer {
20 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrBufferType intendedType,
23 ~GrMtlBuffer() override;
28 GrMtlBuffer(GrMtlGpu*, size_t size, GrBufferType intendedType, GrAccessPattern);
DGrMtlPipelineState.h40 sk_sp<GrMtlBuffer> geometryUniformBuffer,
41 sk_sp<GrMtlBuffer> fragmentUniformBuffer,
115 sk_sp<GrMtlBuffer> fGeometryUniformBuffer;
116 sk_sp<GrMtlBuffer> fFragmentUniformBuffer;
DGrMtlPipelineStateDataManager.h15 class GrMtlBuffer; variable
58 GrMtlBuffer* geometryBuffer,
59 GrMtlBuffer* fragmentBuffer) const;
DGrMtlCopyManager.mm12 #include "GrMtlBuffer.h"
32 sk_sp<GrMtlBuffer> mtlBuffer = GrMtlBuffer::Make(fGpu, sizeof(vdata), kVertex_GrBufferType,
DGrMtlPipelineState.mm16 #include "GrMtlBuffer.h"
40 sk_sp<GrMtlBuffer> geometryUniformBuffer,
41 sk_sp<GrMtlBuffer> fragmentUniformBuffer,
DGrMtlGpuCommandBuffer.mm280 auto mtlVertexBuffer = static_cast<const GrMtlBuffer*>(vertexBuffer)->mtlBuffer();
290 auto mtlInstanceBuffer = static_cast<const GrMtlBuffer*>(instanceBuffer)->mtlBuffer();
333 mtlIndexBuffer = static_cast<const GrMtlBuffer*>(indexBuffer)->mtlBuffer();
DGrMtlPipelineStateDataManager.mm10 #include "GrMtlBuffer.h"
364 GrMtlBuffer* geometryBuffer,
365 GrMtlBuffer* fragmentBuffer) const {
DGrMtlPipelineStateBuilder.mm367 GrMtlBuffer::Make(fGpu,
371 GrMtlBuffer::Make(fGpu,
DGrMtlGpu.mm10 #include "GrMtlBuffer.h"
136 return GrMtlBuffer::Make(this, size, type, accessPattern, data);
/external/skia/src/gpu/mtl/
DGrMtlBuffer.mm10 #include "src/gpu/mtl/GrMtlBuffer.h"
26 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType,
28 sk_sp<GrMtlBuffer> buffer(new GrMtlBuffer(gpu, size, intendedType, accessPattern));
35 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType, function
64 GrMtlBuffer::~GrMtlBuffer() { function
70 bool GrMtlBuffer::onUpdateData(const void* src, size_t srcInBytes) {
96 inline GrMtlGpu* GrMtlBuffer::mtlGpu() const {
101 void GrMtlBuffer::onAbandon() {
109 void GrMtlBuffer::onRelease() {
120 void GrMtlBuffer::internalMap(size_t sizeInBytes) {
[all …]
DGrMtlBuffer.h19 class GrMtlBuffer: public GrGpuBuffer {
21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType,
24 ~GrMtlBuffer() override;
30 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
DGrMtlOpsRenderPass.mm308 auto mtlIndexBuffer = static_cast<const GrMtlBuffer*>(fActiveIndexBuffer.get());
343 auto mtlIndexBuffer = static_cast<const GrMtlBuffer*>(fActiveIndexBuffer.get());
368 auto mtlIndirectBuffer = static_cast<const GrMtlBuffer*>(drawIndirectBuffer);
393 auto mtlIndexBuffer = static_cast<const GrMtlBuffer*>(fActiveIndexBuffer.get());
394 auto mtlIndirectBuffer = static_cast<const GrMtlBuffer*>(drawIndirectBuffer);
422 auto mtlBuffer = static_cast<const GrMtlBuffer*>(buffer);
DGrMtlPipelineStateDataManager.h17 class GrMtlBuffer; variable
DGrMtlGpu.mm20 #include "src/gpu/mtl/GrMtlBuffer.h"
332 return GrMtlBuffer::Make(this, size, type, accessPattern, data);
402 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
680 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
989 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
1086 GrMtlBuffer* mtlBuffer = static_cast<GrMtlBuffer*>(slice.fBuffer);
1315 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get());
1344 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get());
1392 GrMtlBuffer* grMtlBuffer = static_cast<GrMtlBuffer*>(transferBuffer.get());
DGrMtlOpsRenderPass.h18 class GrMtlBuffer; variable
DGrMtlPipelineStateDataManager.mm10 #include "src/gpu/mtl/GrMtlBuffer.h"
DGrMtlPipelineState.mm16 #include "src/gpu/mtl/GrMtlBuffer.h"
/external/skqp/gn/
Dgpu.gni678 "$_src/gpu/mtl/GrMtlBuffer.h",
679 "$_src/gpu/mtl/GrMtlBuffer.mm",
/external/skia/gn/
Dgpu.gni810 "$_src/gpu/mtl/GrMtlBuffer.h",
811 "$_src/gpu/mtl/GrMtlBuffer.mm",