Home
last modified time | relevance | path

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

/third_party/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::releaseResource() { in releaseResource()
131 void GrD3DBuffer::onRelease() { in onRelease()
136 void GrD3DBuffer::onAbandon() { in onAbandon()
141 void GrD3DBuffer::onMap() { in onMap()
145 void GrD3DBuffer::onUnmap() { in onUnmap()
149 bool GrD3DBuffer::onUpdateData(const void* src, size_t size) { in onUpdateData()
[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.cpp160 auto* d3dVertexBuffer = static_cast<const GrD3DBuffer*>(vertexBuffer.get()); in bindBuffers()
163 const_cast<GrD3DBuffer*>(d3dVertexBuffer)->setResourceState( in bindBuffers()
167 auto* d3dInstanceBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in bindBuffers()
170 const_cast<GrD3DBuffer*>(d3dInstanceBuffer)->setResourceState( in bindBuffers()
176 if (auto* d3dIndexBuffer = static_cast<const GrD3DBuffer*>(indexBuffer.get())) { in bindBuffers()
179 const_cast<GrD3DBuffer*>(d3dIndexBuffer)->setResourceState( in bindBuffers()
DGrD3DCommandList.h20 class GrD3DBuffer; variable
95 void copyBufferToBuffer(sk_sp<GrD3DBuffer> dstBuffer, uint64_t dstOffset,
180 const GrD3DBuffer* argumentBuffer, size_t argumentBufferOffset);
DGrD3DCommandList.cpp246 void GrD3DCommandList::copyBufferToBuffer(sk_sp<GrD3DBuffer> dst, uint64_t dstOffset, in copyBufferToBuffer()
387 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(vertexBuffer.get()); in setVertexBuffers()
394 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in setVertexBuffers()
406 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(indexBuffer.get()); in setIndexBuffer()
439 const GrD3DBuffer* argumentBuffer, in executeIndirect()
DGrD3DGpu.cpp406 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onCreateCompressedTexture()
642 GrD3DBuffer* d3dBuf = static_cast<GrD3DBuffer*>(transferBuffer.get()); in readOrTransferPixels()
766 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in uploadToTexture()
836 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(transferBuffer.get())->d3dResource(); in onTransferPixelsTo()
1254 sk_sp<GrD3DBuffer> buffer = GrD3DBuffer::Make(this, sizeInBytes, type, accessPattern); in onCreateBuffer()
1468 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onClearBackendTexture()
1561 ID3D12Resource* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in onUpdateCompressedBackendTexture()
1656 void GrD3DGpu::addBufferResourceBarriers(GrD3DBuffer* buffer, in addBufferResourceBarriers()
DGrD3DResourceProvider.cpp277 GrD3DBuffer* d3dBuffer = static_cast<GrD3DBuffer*>(slice.fBuffer); in uploadConstantData()
DGrD3DOpsRenderPass.cpp277 static_cast<const GrD3DBuffer*>(buffer), offset); in onDrawIndirect()
287 static_cast<const GrD3DBuffer*>(buffer), offset); in onDrawIndexedIndirect()
DGrD3DGpu.h98 void addBufferResourceBarriers(GrD3DBuffer* buffer,
/third_party/skia/gn/
Dgpu.gni687 "$_src/gpu/d3d/GrD3DBuffer.cpp",
688 "$_src/gpu/d3d/GrD3DBuffer.h",