/third_party/skia/src/gpu/d3d/ |
D | GrD3DCpuDescriptorManager.h | 14 class GrD3DGpu; variable 18 GrD3DCpuDescriptorManager(GrD3DGpu*); 20 GrD3DDescriptorHeap::CPUHandle createRenderTargetView(GrD3DGpu*, 24 GrD3DDescriptorHeap::CPUHandle createDepthStencilView(GrD3DGpu*, 28 GrD3DDescriptorHeap::CPUHandle createConstantBufferView(GrD3DGpu*, 32 GrD3DDescriptorHeap::CPUHandle createShaderResourceView(GrD3DGpu*, 36 GrD3DDescriptorHeap::CPUHandle createUnorderedAccessView(GrD3DGpu*, 41 GrD3DDescriptorHeap::CPUHandle createSampler(GrD3DGpu*, 51 static std::unique_ptr<Heap> Make(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, 79 HeapPool(GrD3DGpu*, D3D12_DESCRIPTOR_HEAP_TYPE); [all …]
|
D | GrD3DDescriptorTableManager.h | 16 class GrD3DGpu; variable 47 GrD3DDescriptorTableManager(GrD3DGpu*); 49 sk_sp<GrD3DDescriptorTable> createShaderViewTable(GrD3DGpu*, unsigned int count); 50 sk_sp<GrD3DDescriptorTable> createSamplerTable(GrD3DGpu*, unsigned int count); 52 void prepForSubmit(GrD3DGpu* gpu); 57 static sk_sp<Heap> Make(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, 74 Heap(GrD3DGpu* gpu, std::unique_ptr<GrD3DDescriptorHeap>& heap, in Heap() 93 GrD3DGpu* fGpu; 104 HeapPool(GrD3DGpu*, D3D12_DESCRIPTOR_HEAP_TYPE); 106 sk_sp<GrD3DDescriptorTable> allocateTable(GrD3DGpu*, unsigned int count); [all …]
|
D | GrD3DGpu.cpp | 33 GrThreadSafePipelineBuilder* GrD3DGpu::pipelineBuilder() { in pipelineBuilder() 37 sk_sp<GrThreadSafePipelineBuilder> GrD3DGpu::refPipelineBuilder() { in refPipelineBuilder() 42 sk_sp<GrGpu> GrD3DGpu::Make(const GrD3DBackendContext& backendContext, in Make() 55 return sk_sp<GrGpu>(new GrD3DGpu(direct, contextOptions, backendContext, memoryAllocator)); in Make() 67 GrD3DGpu::GrD3DGpu(GrDirectContext* direct, const GrContextOptions& contextOptions, in GrD3DGpu() function in GrD3DGpu 97 GrD3DGpu::~GrD3DGpu() { in ~GrD3DGpu() 101 void GrD3DGpu::destroyResources() { in destroyResources() 127 GrOpsRenderPass* GrD3DGpu::onGetOpsRenderPass( in onGetOpsRenderPass() 147 bool GrD3DGpu::submitDirectCommandList(SyncQueue sync) { in submitDirectCommandList() 191 void GrD3DGpu::checkForFinishedCommandLists() { in checkForFinishedCommandLists() [all …]
|
D | GrD3DTexture.h | 19 static sk_sp<GrD3DTexture> MakeNewTexture(GrD3DGpu*, 26 static sk_sp<GrD3DTexture> MakeWrappedTexture(GrD3DGpu*, 33 static sk_sp<GrD3DTexture> MakeAliasingTexture(GrD3DGpu*, 48 GrD3DTexture(GrD3DGpu*, 55 GrD3DGpu* getD3DGpu() const; 65 GrD3DTexture(GrD3DGpu*, SkBudgeted, SkISize dimensions, const GrD3DTextureResourceInfo&, 69 GrD3DTexture(GrD3DGpu*, SkISize dimensions, const GrD3DTextureResourceInfo&,
|
D | GrD3DBuffer.h | 16 class GrD3DGpu; variable 20 static sk_sp<GrD3DBuffer> Make(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern); 29 void setResourceState(const GrD3DGpu* gpu, D3D12_RESOURCE_STATES newResourceState); 32 GrD3DBuffer(GrD3DGpu*, size_t size, GrGpuBufferType, GrAccessPattern, gr_cp<ID3D12Resource>, 52 GrD3DGpu* getD3DGpu() const { in getD3DGpu() 54 return reinterpret_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
|
D | GrD3DTextureRenderTarget.h | 16 class GrD3DGpu; variable 28 static sk_sp<GrD3DTextureRenderTarget> MakeNewTextureRenderTarget(GrD3DGpu*, SkBudgeted, 36 GrD3DGpu*, SkISize dimensions, int sampleCnt, GrWrapCacheable, 56 GrD3DTextureRenderTarget(GrD3DGpu* gpu, 69 GrD3DTextureRenderTarget(GrD3DGpu* gpu, 79 GrD3DTextureRenderTarget(GrD3DGpu* gpu, 92 GrD3DTextureRenderTarget(GrD3DGpu* gpu,
|
D | GrD3DTexture.cpp | 17 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, in GrD3DTexture() 35 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, in GrD3DTexture() 52 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, in GrD3DTexture() 65 sk_sp<GrD3DTexture> GrD3DTexture::MakeNewTexture(GrD3DGpu* gpu, SkBudgeted budgeted, in MakeNewTexture() 89 sk_sp<GrD3DTexture> GrD3DTexture::MakeWrappedTexture(GrD3DGpu* gpu, in MakeWrappedTexture() 111 sk_sp<GrD3DTexture> GrD3DTexture::MakeAliasingTexture(GrD3DGpu* gpu, in MakeAliasingTexture() 136 GrD3DGpu* gpu = this->getD3DGpu(); in onRelease() 144 GrD3DGpu* gpu = this->getD3DGpu(); in onAbandon() 154 GrD3DGpu* GrD3DTexture::getD3DGpu() const { in getD3DGpu() 156 return static_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
|
D | GrD3DPipelineStateBuilder.h | 19 class GrD3DGpu; variable 30 static std::unique_ptr<GrD3DPipelineState> MakePipelineState(GrD3DGpu*, 35 static sk_sp<GrD3DPipeline> MakeComputePipeline(GrD3DGpu*, GrD3DRootSignature*, 40 GrD3DGpu* gpu() const { return fGpu; } in gpu() 48 GrD3DPipelineStateBuilder(GrD3DGpu*, GrD3DRenderTarget*, const GrProgramDesc&, 65 GrD3DGpu* fGpu;
|
D | GrD3DRenderTarget.h | 20 class GrD3DGpu; variable 27 static sk_sp<GrD3DRenderTarget> MakeWrappedRenderTarget(GrD3DGpu*, SkISize, int sampleCnt, 59 GrD3DRenderTarget(GrD3DGpu* gpu, 68 GrD3DRenderTarget(GrD3DGpu* gpu, 91 GrD3DRenderTarget(GrD3DGpu* gpu, 101 GrD3DRenderTarget(GrD3DGpu* gpu, 108 GrD3DGpu* getD3DGpu() const;
|
D | GrD3DResourceProvider.h | 28 class GrD3DGpu; variable 35 GrD3DResourceProvider(GrD3DGpu*); 96 PipelineStateCache(GrD3DGpu* gpu); 115 GrD3DGpu* fGpu; 125 DescriptorTableCache(GrD3DGpu* gpu) : fGpu(gpu), fMap(64) { in DescriptorTableCache() 136 typedef std::function<sk_sp<GrD3DDescriptorTable>(GrD3DGpu*, unsigned int)> CreateFunc; 141 GrD3DGpu* fGpu; 156 GrD3DGpu* fGpu;
|
D | GrD3DDescriptorTableManager.cpp | 12 GrD3DDescriptorTableManager::GrD3DDescriptorTableManager(GrD3DGpu* gpu) in GrD3DDescriptorTableManager() 17 GrD3DDescriptorTableManager::createShaderViewTable(GrD3DGpu* gpu, unsigned int size) { in createShaderViewTable() 23 GrD3DGpu* gpu, unsigned int size) { in createSamplerTable() 28 void GrD3DDescriptorTableManager::prepForSubmit(GrD3DGpu* gpu) { in prepForSubmit() 53 GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int descriptorCount) { in Make() 81 GrD3DDescriptorTableManager::HeapPool::HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) in HeapPool() 89 GrD3DGpu* gpu, unsigned int count) { in allocateTable() 121 void GrD3DDescriptorTableManager::HeapPool::prepForSubmit(GrD3DGpu* gpu) { in prepForSubmit()
|
D | GrD3DCpuDescriptorManager.cpp | 12 GrD3DCpuDescriptorManager::GrD3DCpuDescriptorManager(GrD3DGpu* gpu) in GrD3DCpuDescriptorManager() 19 GrD3DGpu* gpu, ID3D12Resource* textureResource) { in createRenderTargetView() 31 GrD3DGpu* gpu, ID3D12Resource* textureResource) { in createDepthStencilView() 43 GrD3DGpu* gpu, ID3D12Resource* bufferResource, size_t offset, size_t size) { in createConstantBufferView() 54 GrD3DGpu* gpu, ID3D12Resource* resource, in createShaderResourceView() 71 GrD3DGpu* gpu, ID3D12Resource* resource, unsigned int mipSlice) { in createUnorderedAccessView() 93 GrD3DGpu* gpu, in createSampler() 123 GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int numDescriptors) { in Make() 150 GrD3DCpuDescriptorManager::HeapPool::HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) in HeapPool() 159 GrD3DGpu* gpu) { in allocateHandle()
|
D | GrD3DAttachment.cpp | 12 GrD3DAttachment::GrD3DAttachment(GrD3DGpu* gpu, in GrD3DAttachment() 28 sk_sp<GrD3DAttachment> GrD3DAttachment::MakeStencil(GrD3DGpu* gpu, in MakeStencil() 68 GrD3DGpu* gpu = this->getD3DGpu(); in onRelease() 75 GrD3DGpu* gpu = this->getD3DGpu(); in onAbandon() 81 GrD3DGpu* GrD3DAttachment::getD3DGpu() const { in getD3DGpu() 83 return static_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
|
D | GrD3DTextureResource.h | 18 class GrD3DGpu; variable 54 void setResourceState(const GrD3DGpu* gpu, D3D12_RESOURCE_STATES newResourceState, 58 void prepareForPresent(GrD3DGpu* gpu); 69 static bool InitTextureResourceInfo(GrD3DGpu* gpu, const D3D12_RESOURCE_DESC& desc, 73 GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, const GrD3DTextureResourceInfo& info, 79 void releaseResource(GrD3DGpu* gpu);
|
D | GrD3DRenderTarget.cpp | 20 GrD3DRenderTarget::GrD3DRenderTarget(GrD3DGpu* gpu, in GrD3DRenderTarget() 43 GrD3DRenderTarget::GrD3DRenderTarget(GrD3DGpu* gpu, in GrD3DRenderTarget() 64 GrD3DRenderTarget::GrD3DRenderTarget(GrD3DGpu* gpu, in GrD3DRenderTarget() 80 GrD3DRenderTarget::GrD3DRenderTarget(GrD3DGpu* gpu, in GrD3DRenderTarget() 92 GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, const GrD3DTextureResourceInfo& info, in MakeWrappedRenderTarget() 153 GrD3DGpu* gpu = this->getD3DGpu(); in releaseInternalObjects() 180 GrD3DGpu* GrD3DRenderTarget::getD3DGpu() const { in getD3DGpu() 182 return static_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
|
D | GrD3DAttachment.h | 17 class GrD3DGpu; variable 21 static sk_sp<GrD3DAttachment> MakeStencil(GrD3DGpu* gpu, 37 GrD3DAttachment(GrD3DGpu* gpu, 46 GrD3DGpu* getD3DGpu() const;
|
D | GrD3DTextureResource.cpp | 13 void GrD3DTextureResource::setResourceState(const GrD3DGpu* gpu, in setResourceState() 31 bool GrD3DTextureResource::InitTextureResourceInfo(GrD3DGpu* gpu, const D3D12_RESOURCE_DESC& desc, in InitTextureResourceInfo() 64 GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, const GrD3DTextureResourceInfo& info, in CreateMSAA() 107 void GrD3DTextureResource::prepareForPresent(GrD3DGpu* gpu) { in prepareForPresent() 111 void GrD3DTextureResource::releaseResource(GrD3DGpu* gpu) { in releaseResource()
|
D | GrD3DPipelineState.h | 21 class GrD3DGpu; variable 45 void setAndBindConstants(GrD3DGpu*, const GrRenderTarget*, const GrProgramInfo&); 47 void setAndBindTextures(GrD3DGpu*, 52 void bindBuffers(GrD3DGpu*, sk_sp<const GrBuffer> indexBuffer,
|
D | GrD3DTextureRenderTarget.cpp | 14 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 41 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 57 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 84 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 100 GrD3DGpu* gpu, in MakeNewTextureRenderTarget() 156 GrD3DGpu* gpu, in MakeWrappedTextureRenderTarget()
|
D | GrD3DResourceProvider.cpp | 21 GrD3DResourceProvider::GrD3DResourceProvider(GrD3DGpu* gpu) in GrD3DResourceProvider() 183 auto createFunc = [this](GrD3DGpu* gpu, unsigned int numDesc) { in findOrCreateShaderViewTable() 191 auto createFunc = [this](GrD3DGpu* gpu, unsigned int numDesc) { in findOrCreateSamplerTable() 298 Entry(GrD3DGpu* gpu, std::unique_ptr<GrD3DPipelineState> pipelineState) in Entry() 301 GrD3DGpu* fGpu; 305 GrD3DResourceProvider::PipelineStateCache::PipelineStateCache(GrD3DGpu* gpu) in PipelineStateCache() 378 std::function<sk_sp<GrD3DDescriptorTable>(GrD3DGpu*, unsigned int numDesc)> createFunc) { in findOrCreateDescTable() argument
|
D | GrD3DOpsRenderPass.h | 16 class GrD3DGpu; variable 21 GrD3DOpsRenderPass(GrD3DGpu*); 66 GrD3DGpu* fGpu;
|
D | GrD3DOpsRenderPass.cpp | 29 GrD3DOpsRenderPass::GrD3DOpsRenderPass(GrD3DGpu* gpu) : fGpu(gpu) {} in GrD3DOpsRenderPass() 78 void set_stencil_ref(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_stencil_ref() 93 void set_blend_factor(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_blend_factor() 113 void set_primitive_topology(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_primitive_topology() 139 void set_scissor_rects(GrD3DGpu* gpu, const GrRenderTarget* renderTarget, GrSurfaceOrigin rtOrigin, in set_scissor_rects() 160 void set_viewport(GrD3DGpu* gpu, const GrRenderTarget* renderTarget) { in set_viewport() 211 void update_resource_state(GrTexture* tex, GrRenderTarget* rt, GrD3DGpu* gpu) { in update_resource_state()
|
D | GrD3DPipelineStateDataManager.h | 17 class GrD3DGpu; variable 26 D3D12_GPU_VIRTUAL_ADDRESS uploadConstants(GrD3DGpu* gpu);
|
D | GrD3DSemaphore.h | 16 class GrD3DGpu; variable 20 static std::unique_ptr<GrD3DSemaphore> Make(GrD3DGpu* gpu);
|
D | GrD3DBuffer.cpp | 19 static gr_cp<ID3D12Resource> make_d3d_buffer(GrD3DGpu* gpu, 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() 95 void GrD3DBuffer::setResourceState(const GrD3DGpu* gpu, in setResourceState()
|