Home
last modified time | relevance | path

Searched refs:GrD3DGpu (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/src/gpu/d3d/
DGrD3DDescriptorTableManager.h15 class GrD3DGpu; variable
43 GrD3DDescriptorTableManager(GrD3DGpu*);
45 sk_sp<GrD3DDescriptorTable> createShaderViewTable(GrD3DGpu*, unsigned int count);
46 sk_sp<GrD3DDescriptorTable> createSamplerTable(GrD3DGpu*, unsigned int count);
48 void prepForSubmit(GrD3DGpu* gpu);
53 static sk_sp<Heap> Make(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type,
70 Heap(GrD3DGpu* gpu, std::unique_ptr<GrD3DDescriptorHeap>& heap, in Heap()
89 GrD3DGpu* fGpu;
100 HeapPool(GrD3DGpu*, D3D12_DESCRIPTOR_HEAP_TYPE);
102 sk_sp<GrD3DDescriptorTable> allocateTable(GrD3DGpu*, unsigned int count);
[all …]
DGrD3DCpuDescriptorManager.h13 class GrD3DGpu; variable
17 GrD3DCpuDescriptorManager(GrD3DGpu*);
19 GrD3DDescriptorHeap::CPUHandle createRenderTargetView(GrD3DGpu*,
23 GrD3DDescriptorHeap::CPUHandle createDepthStencilView(GrD3DGpu*,
27 GrD3DDescriptorHeap::CPUHandle createConstantBufferView(GrD3DGpu*,
31 GrD3DDescriptorHeap::CPUHandle createShaderResourceView(GrD3DGpu*,
35 GrD3DDescriptorHeap::CPUHandle createUnorderedAccessView(GrD3DGpu*,
40 GrD3DDescriptorHeap::CPUHandle createSampler(GrD3DGpu*,
50 static std::unique_ptr<Heap> Make(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type,
78 HeapPool(GrD3DGpu*, D3D12_DESCRIPTOR_HEAP_TYPE);
[all …]
DGrD3DGpu.cpp33 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()
190 void GrD3DGpu::checkForFinishedCommandLists() { in checkForFinishedCommandLists()
[all …]
DGrD3DTexture.h19 static sk_sp<GrD3DTexture> MakeNewTexture(GrD3DGpu*,
26 static sk_sp<GrD3DTexture> MakeWrappedTexture(GrD3DGpu*,
33 static sk_sp<GrD3DTexture> MakeAliasingTexture(GrD3DGpu*,
47 GrD3DTexture(GrD3DGpu*,
54 GrD3DGpu* getD3DGpu() const;
64 GrD3DTexture(GrD3DGpu*, SkBudgeted, SkISize dimensions, const GrD3DTextureResourceInfo&,
68 GrD3DTexture(GrD3DGpu*, SkISize dimensions, const GrD3DTextureResourceInfo&,
DGrD3DBuffer.h16 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>,
50 GrD3DGpu* getD3DGpu() const { in getD3DGpu()
52 return reinterpret_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
DGrD3DTextureRenderTarget.h16 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,
DGrD3DDescriptorTableManager.cpp12 GrD3DDescriptorTableManager::GrD3DDescriptorTableManager(GrD3DGpu* gpu) in GrD3DDescriptorTableManager()
17 GrD3DDescriptorTableManager::createShaderViewTable(GrD3DGpu* gpu, unsigned int size) { in createShaderViewTable()
24 GrD3DGpu* gpu, unsigned int size) { in createSamplerTable()
30 void GrD3DDescriptorTableManager::setHeaps(GrD3DGpu* gpu) { in setHeaps()
40 void GrD3DDescriptorTableManager::prepForSubmit(GrD3DGpu* gpu) { in prepForSubmit()
65 GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int descriptorCount) { in Make()
92 GrD3DDescriptorTableManager::HeapPool::HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) in HeapPool()
100 GrD3DGpu* gpu, unsigned int count) { in allocateTable()
127 void GrD3DDescriptorTableManager::HeapPool::prepForSubmit(GrD3DGpu* gpu) { in prepForSubmit()
DGrD3DPipelineStateBuilder.h19 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;
DGrD3DTexture.cpp17 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()
137 GrD3DGpu* gpu = this->getD3DGpu(); in onRelease()
145 GrD3DGpu* gpu = this->getD3DGpu(); in onAbandon()
155 GrD3DGpu* GrD3DTexture::getD3DGpu() const { in getD3DGpu()
157 return static_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
DGrD3DRenderTarget.h20 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;
DGrD3DResourceProvider.h28 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;
DGrD3DCpuDescriptorManager.cpp12 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()
DGrD3DAttachment.cpp12 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()
DGrD3DTextureResource.h18 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);
DGrD3DAttachment.h17 class GrD3DGpu; variable
21 static sk_sp<GrD3DAttachment> MakeStencil(GrD3DGpu* gpu,
37 GrD3DAttachment(GrD3DGpu* gpu,
46 GrD3DGpu* getD3DGpu() const;
DGrD3DRenderTarget.cpp20 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()
DGrD3DTextureResource.cpp13 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()
DGrD3DPipelineState.h21 class GrD3DGpu; variable
45 void setAndBindConstants(GrD3DGpu*, const GrRenderTarget*, const GrProgramInfo&);
47 void setAndBindTextures(GrD3DGpu*,
52 void bindBuffers(GrD3DGpu*, sk_sp<const GrBuffer> indexBuffer,
DGrD3DTextureRenderTarget.cpp14 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()
DGrD3DResourceProvider.cpp21 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
DGrD3DOpsRenderPass.h16 class GrD3DGpu; variable
21 GrD3DOpsRenderPass(GrD3DGpu*);
66 GrD3DGpu* fGpu;
DGrD3DOpsRenderPass.cpp28 GrD3DOpsRenderPass::GrD3DOpsRenderPass(GrD3DGpu* gpu) : fGpu(gpu) {} in GrD3DOpsRenderPass()
77 void set_stencil_ref(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_stencil_ref()
92 void set_blend_factor(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_blend_factor()
112 void set_primitive_topology(GrD3DGpu* gpu, const GrProgramInfo& info) { in set_primitive_topology()
138 void set_scissor_rects(GrD3DGpu* gpu, const GrRenderTarget* renderTarget, GrSurfaceOrigin rtOrigin, in set_scissor_rects()
159 void set_viewport(GrD3DGpu* gpu, const GrRenderTarget* renderTarget) { in set_viewport()
216 void update_resource_state(GrTexture* tex, GrRenderTarget* rt, GrD3DGpu* gpu) { in update_resource_state()
DGrD3DPipelineStateDataManager.h17 class GrD3DGpu; variable
26 D3D12_GPU_VIRTUAL_ADDRESS uploadConstants(GrD3DGpu* gpu);
DGrD3DSemaphore.h16 class GrD3DGpu; variable
20 static std::unique_ptr<GrD3DSemaphore> Make(GrD3DGpu* gpu);
DGrD3DBuffer.cpp19 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()

12