Home
last modified time | relevance | path

Searched refs:GrDawnGpu (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/dawn/
DGrDawnGpu.cpp111 sk_sp<GrGpu> GrDawnGpu::Make(const wgpu::Device& device, in Make()
117 return sk_sp<GrGpu>(new GrDawnGpu(direct, options, device)); in Make()
122 GrDawnGpu::GrDawnGpu(GrDirectContext* direct, const GrContextOptions& options, in GrDawnGpu() function in GrDawnGpu
134 GrDawnGpu::~GrDawnGpu() { this->finishOutstandingGpuWork(); } in ~GrDawnGpu()
136 void GrDawnGpu::disconnect(DisconnectType type) { in disconnect()
146 GrThreadSafePipelineBuilder* GrDawnGpu::pipelineBuilder() { in pipelineBuilder()
150 sk_sp<GrThreadSafePipelineBuilder> GrDawnGpu::refPipelineBuilder() { in refPipelineBuilder()
156 GrOpsRenderPass* GrDawnGpu::onGetOpsRenderPass( in onGetOpsRenderPass()
171 sk_sp<GrGpuBuffer> GrDawnGpu::onCreateBuffer(size_t size, GrGpuBufferType type, in onCreateBuffer()
181 bool GrDawnGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height, in onWritePixels()
[all …]
DGrDawnTexture.h14 class GrDawnGpu; variable
18 static sk_sp<GrDawnTexture> Make(GrDawnGpu*, SkISize dimensions,
22 static sk_sp<GrDawnTexture> MakeWrapped(GrDawnGpu*, SkISize dimensions, GrRenderable,
36 GrDawnTexture(GrDawnGpu*, SkISize dimensions, const GrDawnTextureInfo&, GrMipmapStatus);
38 GrDawnGpu* getDawnGpu() const;
DGrDawnProgramBuilder.h68 wgpu::BindGroup setUniformData(GrDawnGpu*, const GrRenderTarget*, const GrProgramInfo&);
69 wgpu::BindGroup setTextures(GrDawnGpu*,
77 static sk_sp<GrDawnProgram> Build(GrDawnGpu*,
89 GrDawnGpu* gpu() const { return fGpu; } in gpu()
94 GrDawnProgramBuilder(GrDawnGpu*,
99 GrDawnGpu* fGpu;
DGrDawnAttachment.h15 class GrDawnGpu; variable
19 static sk_sp<GrDawnAttachment> MakeStencil(GrDawnGpu* gpu, SkISize dimensions, int sampleCnt);
32 GrDawnAttachment(GrDawnGpu* gpu,
39 GrDawnGpu* getDawnGpu() const;
DGrDawnAttachment.cpp15 GrDawnAttachment::GrDawnAttachment(GrDawnGpu* gpu, in GrDawnAttachment()
27 sk_sp<GrDawnAttachment> GrDawnAttachment::MakeStencil(GrDawnGpu* gpu, in MakeStencil()
55 GrDawnGpu* GrDawnAttachment::getDawnGpu() const { in getDawnGpu()
57 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnTexture.cpp14 GrDawnTexture::GrDawnTexture(GrDawnGpu* gpu, in GrDawnTexture()
22 sk_sp<GrDawnTexture> GrDawnTexture::Make(GrDawnGpu* gpu, SkISize dimensions, in Make()
75 sk_sp<GrDawnTexture> GrDawnTexture::MakeWrapped(GrDawnGpu* gpu, SkISize dimensions, in MakeWrapped()
99 GrDawnGpu* GrDawnTexture::getDawnGpu() const { in getDawnGpu()
101 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnBuffer.h14 class GrDawnGpu; variable
18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, GrAccessPattern pattern);
26 GrDawnGpu* getDawnGpu() const;
DGrDawnRingBuffer.h13 class GrDawnGpu; variable
17 GrDawnRingBuffer(GrDawnGpu* gpu, wgpu::BufferUsage usage);
38 GrDawnGpu* fGpu;
DGrDawnRenderTarget.h14 class GrDawnGpu; variable
18 static sk_sp<GrDawnRenderTarget> MakeWrapped(GrDawnGpu*,
35 GrDawnRenderTarget(GrDawnGpu* gpu,
DGrDawnOpsRenderPass.h17 class GrDawnGpu; variable
23 GrDawnOpsRenderPass(GrDawnGpu*, GrRenderTarget*, GrSurfaceOrigin,
67 GrDawnGpu* fGpu;
DGrDawnProgramDataManager.h19 class GrDawnGpu; variable
30 wgpu::BindGroup uploadUniformBuffers(GrDawnGpu* gpu, wgpu::BindGroupLayout layout);
DGrDawnTextureRenderTarget.h14 class GrDawnGpu; variable
24 GrDawnTextureRenderTarget(GrDawnGpu* gpu,
DGrDawnBuffer.cpp30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer()
101 GrDawnGpu* GrDawnBuffer::getDawnGpu() const { in getDawnGpu()
103 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnRenderTarget.cpp14 GrDawnRenderTarget::GrDawnRenderTarget(GrDawnGpu* gpu, in GrDawnRenderTarget()
22 sk_sp<GrDawnRenderTarget> GrDawnRenderTarget::MakeWrapped(GrDawnGpu* gpu, in MakeWrapped()
DGrDawnGpu.h29 class GrDawnGpu : public GrGpu {
33 ~GrDawnGpu() override;
109 GrDawnGpu(GrDirectContext*, const GrContextOptions&, const wgpu::Device&);
DGrDawnProgramBuilder.cpp175 static wgpu::BlendState create_blend_state(const GrDawnGpu* gpu, const GrPipeline& pipeline) { in create_blend_state()
251 sk_sp<GrDawnProgram> GrDawnProgramBuilder::Build(GrDawnGpu* gpu, in Build()
420 GrDawnProgramBuilder::GrDawnProgramBuilder(GrDawnGpu* gpu, in GrDawnProgramBuilder()
479 static void set_texture(GrDawnGpu* gpu, GrSamplerState state, GrTexture* texture, in set_texture()
492 wgpu::BindGroup GrDawnProgram::setUniformData(GrDawnGpu* gpu, const GrRenderTarget* renderTarget, in setUniformData()
515 wgpu::BindGroup GrDawnProgram::setTextures(GrDawnGpu* gpu, in setTextures()
DGrDawnTextureRenderTarget.cpp14 GrDawnTextureRenderTarget::GrDawnTextureRenderTarget(GrDawnGpu* gpu, in GrDawnTextureRenderTarget()
DGrDawnRingBuffer.cpp17 GrDawnRingBuffer::GrDawnRingBuffer(GrDawnGpu* gpu, wgpu::BufferUsage usage) in GrDawnRingBuffer()
DGrDawnProgramDataManager.cpp42 wgpu::BindGroup GrDawnProgramDataManager::uploadUniformBuffers(GrDawnGpu* gpu, in uploadUniformBuffers()
DGrDawnOpsRenderPass.cpp43 GrDawnOpsRenderPass::GrDawnOpsRenderPass(GrDawnGpu* gpu, GrRenderTarget* rt, GrSurfaceOrigin origin, in GrDawnOpsRenderPass()
/external/skia/tests/
DTextureProxyTest.cpp274 GrDawnGpu* gpu = static_cast<GrDawnGpu*>(dContext->priv().getGpu()); in invalidation_test()
/external/skia/src/gpu/
DGrDirectContext.cpp1154 direct->fGpu = GrDawnGpu::Make(device, options, direct.get()); in MakeDawn()
/external/skia/gn/
Dgpu.gni785 "$_src/gpu/dawn/GrDawnGpu.cpp",
786 "$_src/gpu/dawn/GrDawnGpu.h",