Home
last modified time | relevance | path

Searched refs:GrD3DBuffer (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/d3d/
DGrD3DBuffer.cpp64 sk_sp<GrD3DBuffer> GrD3DBuffer::Make(GrD3DGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make()
76 return sk_sp<GrD3DBuffer>(new GrD3DBuffer(gpu, size, intendedType, accessPattern, in Make()
81 GrD3DBuffer::GrD3DBuffer(GrD3DGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrD3DBuffer() function in GrD3DBuffer
95 void GrD3DBuffer::setResourceState(const GrD3DGpu* gpu, in setResourceState()
115 void GrD3DBuffer::onRelease() { in onRelease()
126 void GrD3DBuffer::onAbandon() { in onAbandon()
137 void GrD3DBuffer::onMap() { in onMap()
141 void GrD3DBuffer::onUnmap() { in onUnmap()
145 bool GrD3DBuffer::onUpdateData(const void* src, size_t size) { in onUpdateData()
169 void GrD3DBuffer::internalMap(size_t size) { in internalMap()
[all …]
DGrD3DBuffer.h18 class GrD3DBuffer : public GrGpuBuffer {
20 static sk_sp<GrD3DBuffer> Make(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern);
22 ~GrD3DBuffer() override {} in ~GrD3DBuffer()
32 GrD3DBuffer(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern, gr_cp<ID3D12Resource>,
DGrD3DPipelineState.cpp156 auto* d3dVertexBuffer = static_cast<const GrD3DBuffer*>(vertexBuffer.get()); in bindBuffers()
159 const_cast<GrD3DBuffer*>(d3dVertexBuffer)->setResourceState( in bindBuffers()
163 auto* d3dInstanceBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in bindBuffers()
166 const_cast<GrD3DBuffer*>(d3dInstanceBuffer)->setResourceState( in bindBuffers()
172 if (auto* d3dIndexBuffer = static_cast<const GrD3DBuffer*>(indexBuffer.get())) { in bindBuffers()
175 const_cast<GrD3DBuffer*>(d3dIndexBuffer)->setResourceState( in bindBuffers()
DGrD3DCommandList.h20 class GrD3DBuffer; variable
95 void copyBufferToBuffer(sk_sp<GrD3DBuffer> dstBuffer, uint64_t dstOffset,
184 const GrD3DBuffer* argumentBuffer, size_t argumentBufferOffset);
DGrD3DCommandList.cpp246 void GrD3DCommandList::copyBufferToBuffer(sk_sp<GrD3DBuffer> dst, uint64_t dstOffset, in copyBufferToBuffer()
403 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(vertexBuffer.get()); in setVertexBuffers()
410 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in setVertexBuffers()
422 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(indexBuffer.get()); in setIndexBuffer()
455 const GrD3DBuffer* argumentBuffer, in executeIndirect()
DGrD3DGpu.cpp405 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onCreateCompressedTexture()
614 GrD3DBuffer* d3dBuf = static_cast<GrD3DBuffer*>(transferBuffer.get()); in onReadPixels()
748 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in uploadToTexture()
1052 sk_sp<GrD3DBuffer> buffer = GrD3DBuffer::Make(this, sizeInBytes, type, accessPattern); in onCreateBuffer()
1266 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onClearBackendTexture()
1359 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onUpdateCompressedBackendTexture()
1454 void GrD3DGpu::addBufferResourceBarriers(GrD3DBuffer* buffer, in addBufferResourceBarriers()
DGrD3DResourceProvider.cpp277 GrD3DBuffer* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer); in uploadConstantData()
DGrD3DOpsRenderPass.cpp282 static_cast<const GrD3DBuffer*>(buffer), offset); in onDrawIndirect()
292 static_cast<const GrD3DBuffer*>(buffer), offset); in onDrawIndexedIndirect()
DGrD3DGpu.h97 void addBufferResourceBarriers(GrD3DBuffer* buffer,
/external/skia/gn/
Dgpu.gni732 "$_src/gpu/d3d/GrD3DBuffer.cpp",
733 "$_src/gpu/d3d/GrD3DBuffer.h",