/third_party/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 37 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make() 40 (GrGpuBufferType::kXferCpuToGpu == intendedType || in Make() 41 GrGpuBufferType::kXferGpuToCpu == intendedType)) { in Make() 56 inline static GrGLenum gr_to_gl_access_pattern(GrGpuBufferType bufferType, in gr_to_gl_access_pattern() 84 auto usageType = [&drawUsage, &readUsage, &caps](GrGpuBufferType type, in gr_to_gl_access_pattern() 91 case GrGpuBufferType::kVertex: in gr_to_gl_access_pattern() 92 case GrGpuBufferType::kIndex: in gr_to_gl_access_pattern() 93 case GrGpuBufferType::kDrawIndirect: in gr_to_gl_access_pattern() 94 case GrGpuBufferType::kXferCpuToGpu: in gr_to_gl_access_pattern() 95 case GrGpuBufferType::kUniform: in gr_to_gl_access_pattern() [all …]
|
D | GrGLBuffer.h | 19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrGpuBufferType intendedType, 39 GrGLBuffer(GrGLGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern, 59 GrGpuBufferType fIntendedType;
|
/third_party/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 22 GrGpuBufferType bufferType, in GrVkBuffer() 33 SkASSERT(bufferType != GrGpuBufferType::kUniform || uniformDescriptorSet); in GrVkBuffer() 69 GrGpuBufferType bufferType, in Make() 92 case GrGpuBufferType::kVertex: in Make() 96 case GrGpuBufferType::kIndex: in Make() 100 case GrGpuBufferType::kDrawIndirect: in Make() 104 case GrGpuBufferType::kUniform: in Make() 108 case GrGpuBufferType::kXferCpuToGpu: in Make() 112 case GrGpuBufferType::kXferGpuToCpu: in Make() 142 if (bufferType == GrGpuBufferType::kUniform) { in Make() [all …]
|
D | GrVkBuffer.h | 21 GrGpuBufferType bufferType, 39 GrGpuBufferType bufferType,
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DBuffer.cpp | 21 GrGpuBufferType intendedType, in make_d3d_buffer() 27 SkASSERT(intendedType != GrGpuBufferType::kXferCpuToGpu && in make_d3d_buffer() 28 intendedType != GrGpuBufferType::kXferGpuToCpu); in make_d3d_buffer() 33 if (intendedType == GrGpuBufferType::kXferGpuToCpu) { in make_d3d_buffer() 64 sk_sp<GrD3DBuffer> GrD3DBuffer::Make(GrD3DGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make() 81 GrD3DBuffer::GrD3DBuffer(GrD3DGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrD3DBuffer() 239 SkASSERT(this->intendedType() == GrGpuBufferType::kVertex || in validate() 240 this->intendedType() == GrGpuBufferType::kIndex || in validate() 241 this->intendedType() == GrGpuBufferType::kDrawIndirect || in validate() 242 this->intendedType() == GrGpuBufferType::kXferCpuToGpu || in validate() [all …]
|
D | GrD3DBuffer.h | 20 static sk_sp<GrD3DBuffer> Make(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern); 32 GrD3DBuffer(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern, gr_cp<ID3D12Resource>,
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 32 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make() 35 (GrGpuBufferType::kXferCpuToGpu == intendedType || in Make() 36 GrGpuBufferType::kXferGpuToCpu == intendedType)) { in Make() 51 inline static GrGLenum gr_to_gl_access_pattern(GrGpuBufferType bufferType, in gr_to_gl_access_pattern() 78 auto usageType = [&drawUsage, &readUsage](GrGpuBufferType type, GrAccessPattern pattern) { in gr_to_gl_access_pattern() 80 case GrGpuBufferType::kVertex: in gr_to_gl_access_pattern() 81 case GrGpuBufferType::kIndex: in gr_to_gl_access_pattern() 82 case GrGpuBufferType::kXferCpuToGpu: in gr_to_gl_access_pattern() 84 case GrGpuBufferType::kXferGpuToCpu: in gr_to_gl_access_pattern() 93 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrGLBuffer() [all …]
|
D | GrGLBuffer.h | 19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrGpuBufferType intendedType, 39 GrGLBuffer(GrGLGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern, 59 GrGpuBufferType fIntendedType;
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 13 dawn::BufferUsageBit GrGpuBufferTypeToDawnUsageBit(GrGpuBufferType type) { in GrGpuBufferTypeToDawnUsageBit() 15 case GrGpuBufferType::kVertex: in GrGpuBufferTypeToDawnUsageBit() 17 case GrGpuBufferType::kIndex: in GrGpuBufferTypeToDawnUsageBit() 19 case GrGpuBufferType::kXferCpuToGpu: in GrGpuBufferTypeToDawnUsageBit() 21 case GrGpuBufferType::kXferGpuToCpu: in GrGpuBufferTypeToDawnUsageBit() 30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 13 wgpu::BufferUsage GrGpuBufferTypeToDawnUsageBit(GrGpuBufferType type) { in GrGpuBufferTypeToDawnUsageBit() 15 case GrGpuBufferType::kVertex: in GrGpuBufferTypeToDawnUsageBit() 17 case GrGpuBufferType::kIndex: in GrGpuBufferTypeToDawnUsageBit() 19 case GrGpuBufferType::kXferCpuToGpu: in GrGpuBufferTypeToDawnUsageBit() 21 case GrGpuBufferType::kXferGpuToCpu: in GrGpuBufferTypeToDawnUsageBit() 30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer()
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpuBuffer.h | 22 static void ComputeScratchKeyForDynamicVBO(size_t size, GrGpuBufferType, GrScratchKey*); 84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern); 85 GrGpuBufferType intendedType() const { return fIntendedType; } in intendedType() 100 GrGpuBufferType fIntendedType;
|
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() 44 if (this->intendedType() == GrGpuBufferType::kXferGpuToCpu) { in updateData() 50 void GrGpuBuffer::ComputeScratchKeyForDynamicVBO(size_t size, GrGpuBufferType intendedType, in ComputeScratchKeyForDynamicVBO()
|
D | GrOnFlushResourceProvider.h | 85 sk_sp<GrGpuBuffer> makeBuffer(GrGpuBufferType, size_t, const void* data = nullptr); 88 sk_sp<const GrGpuBuffer> findOrMakeStaticBuffer(GrGpuBufferType, size_t, const void* data,
|
D | GrBufferAllocPool.h | 85 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache); 164 GrGpuBufferType fBufferType;
|
/third_party/skia/src/gpu/ |
D | GrGpuBuffer.h | 22 static void ComputeScratchKeyForDynamicBuffer(size_t size, GrGpuBufferType, GrScratchKey*); 84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern); 85 GrGpuBufferType intendedType() const { return fIntendedType; } in intendedType() 100 GrGpuBufferType fIntendedType;
|
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() 49 if (this->intendedType() == GrGpuBufferType::kXferGpuToCpu) { in updateData() 61 void GrGpuBuffer::ComputeScratchKeyForDynamicBuffer(size_t size, GrGpuBufferType intendedType, in ComputeScratchKeyForDynamicBuffer()
|
D | GrRingBuffer.h | 25 GrRingBuffer(GrGpu* gpu, size_t size, size_t alignment, GrGpuBufferType intendedType) in GrRingBuffer() 64 GrGpuBufferType fType;
|
D | GrBufferAllocPool.h | 86 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache); 165 GrGpuBufferType fBufferType; 321 : GrBufferAllocPool(gpu, GrGpuBufferType::kDrawIndirect, std::move(cpuBufferCache)) {} in GrDrawIndirectBufferAllocPool()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 38 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType, 47 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType, 189 this->intendedType() == GrGpuBufferType::kVertex || 190 this->intendedType() == GrGpuBufferType::kIndex || 191 this->intendedType() == GrGpuBufferType::kXferCpuToGpu || 192 this->intendedType() == GrGpuBufferType::kXferGpuToCpu || 193 this->intendedType() == GrGpuBufferType::kDrawIndirect || 194 this->intendedType() == GrGpuBufferType::kUniform);
|
D | GrMtlBuffer.h | 21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, 29 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 24 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType, 33 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrGpuBufferType intendedType, 168 this->intendedType() == GrGpuBufferType::kVertex || 169 this->intendedType() == GrGpuBufferType::kIndex || 170 this->intendedType() == GrGpuBufferType::kXferCpuToGpu || 171 this->intendedType() == GrGpuBufferType::kXferGpuToCpu);
|
D | GrMtlBuffer.h | 21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, 30 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrVSCoverageProcessor.cpp | 463 GrGpuBufferType::kVertex, sizeof(kTriangleVertices), kTriangleVertices, in reset() 468 GrGpuBufferType::kIndex, sizeof(kTriangleIndicesAsStrips), in reset() 473 GrGpuBufferType::kIndex, sizeof(kTriangleIndicesAsTris), in reset() 485 GrGpuBufferType::kVertex, sizeof(kCurveVertices), kCurveVertices, in reset() 490 GrGpuBufferType::kIndex, sizeof(kCurveIndicesAsStrips), in reset() 495 GrGpuBufferType::kIndex, sizeof(kCurveIndicesAsTris), kCurveIndicesAsTris, in reset()
|
D | GrCCPathProcessor.cpp | 41 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kVertex, sizeof(kOctoEdgeNorms), in FindVertexBuffer() 72 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kIndex, in FindIndexBuffer() 76 return onFlushRP->findOrMakeStaticBuffer(GrGpuBufferType::kIndex, in FindIndexBuffer()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkTransferBuffer.cpp | 35 kCopyRead_Type == desc.fType ? GrGpuBufferType::kXferCpuToGpu in GrVkTransferBuffer() 36 : GrGpuBufferType::kXferGpuToCpu, in GrVkTransferBuffer()
|