Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpu.cpp36 sk_sp<GrGpu> GrDawnGpu::Make(const dawn::Device& device, in Make()
42 return sk_sp<GrGpu>(new GrDawnGpu(context, options, device)); in Make()
47 GrDawnGpu::GrDawnGpu(GrContext* context, const GrContextOptions& options, in GrDawnGpu() function in GrDawnGpu
56 GrDawnGpu::~GrDawnGpu() { in ~GrDawnGpu()
60 void GrDawnGpu::disconnect(DisconnectType type) { in disconnect()
66 GrGpuRTCommandBuffer* GrDawnGpu::getCommandBuffer( in getCommandBuffer()
74 GrGpuTextureCommandBuffer* GrDawnGpu::getCommandBuffer(GrTexture* texture, in getCommandBuffer()
81 sk_sp<GrGpuBuffer> GrDawnGpu::onCreateBuffer(size_t size, GrGpuBufferType type, in onCreateBuffer()
91 bool GrDawnGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height, in onWritePixels()
103 bool GrDawnGpu::onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height, in onTransferPixelsTo()
[all …]
DGrDawnTexture.h14 class GrDawnGpu; variable
19 static sk_sp<GrDawnTexture> Make(GrDawnGpu*, const SkISize& size, GrPixelConfig config,
23 static sk_sp<GrDawnTexture> MakeWrapped(GrDawnGpu*, const SkISize& size, GrPixelConfig config,
40 GrDawnTexture(GrDawnGpu*, const SkISize& size, GrPixelConfig config,
43 GrDawnGpu* getDawnGpu() const;
53 GrDawnTexture(GrDawnGpu*, const GrSurfaceDesc&, const GrDawnImageInfo&, GrMipMapsStatus);
DGrDawnRenderTarget.h14 class GrDawnGpu; variable
18 static sk_sp<GrDawnRenderTarget> MakeWrapped(GrDawnGpu*, const SkISize& size,
41 GrDawnRenderTarget(GrDawnGpu* gpu,
47 GrDawnGpu* getDawnGpu() const;
61 static GrDawnRenderTarget* Create(GrDawnGpu*, const GrSurfaceDesc&, int sampleCnt,
DGrDawnStencilAttachment.h15 class GrDawnGpu; variable
19 static GrDawnStencilAttachment* Create(GrDawnGpu* gpu, int width, int height,
32 GrDawnStencilAttachment(GrDawnGpu* gpu, int width, int height, int bits, int samples,
35 GrDawnGpu* getDawnGpu() const;
DGrDawnStencilAttachment.cpp15 GrDawnStencilAttachment::GrDawnStencilAttachment(GrDawnGpu* gpu, in GrDawnStencilAttachment()
28 GrDawnStencilAttachment* GrDawnStencilAttachment::Create(GrDawnGpu* gpu, in Create()
68 GrDawnGpu* GrDawnStencilAttachment::getDawnGpu() const { in getDawnGpu()
70 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnBuffer.h14 class GrDawnGpu; variable
18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType tpye, GrAccessPattern pattern);
25 GrDawnGpu* getDawnGpu() const;
DGrDawnGpuCommandBuffer.h18 class GrDawnGpu; variable
23 GrDawnGpuTextureCommandBuffer(GrDawnGpu* gpu, GrTexture* texture, GrSurfaceOrigin origin);
35 GrDawnGpu* fGpu;
43 GrDawnGpuRTCommandBuffer(GrDawnGpu*, GrRenderTarget*, GrSurfaceOrigin,
124 GrDawnGpu* fGpu;
DGrDawnProgramBuilder.h80 static sk_sp<GrDawnProgram> Build(GrDawnGpu*,
95 GrDawnGpu* gpu() const { return fGpu; } in gpu()
98 GrDawnProgramBuilder(GrDawnGpu*,
107 GrDawnGpu* fGpu;
DGrDawnBuffer.cpp30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer()
70 GrDawnGpu* GrDawnBuffer::getDawnGpu() const { in getDawnGpu()
72 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnTexture.cpp14 GrDawnTexture::GrDawnTexture(GrDawnGpu* gpu, in GrDawnTexture()
26 sk_sp<GrDawnTexture> GrDawnTexture::Make(GrDawnGpu* gpu, const SkISize& size, GrPixelConfig config, in Make()
86 sk_sp<GrDawnTexture> GrDawnTexture::MakeWrapped(GrDawnGpu* gpu, const SkISize& size, in MakeWrapped()
103 GrDawnGpu* GrDawnTexture::getDawnGpu() const { in getDawnGpu()
105 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnTextureRenderTarget.h14 class GrDawnGpu; variable
24 GrDawnTextureRenderTarget(GrDawnGpu* gpu,
DGrDawnRenderTarget.cpp14 GrDawnRenderTarget::GrDawnRenderTarget(GrDawnGpu* gpu, in GrDawnRenderTarget()
25 GrDawnRenderTarget::MakeWrapped(GrDawnGpu* gpu, in MakeWrapped()
/third_party/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, 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.h49 wgpu::BindGroup setUniformData(GrDawnGpu*, const GrRenderTarget*, const GrProgramInfo&);
50 wgpu::BindGroup setTextures(GrDawnGpu*,
58 static sk_sp<GrDawnProgram> Build(GrDawnGpu*,
70 GrDawnGpu* gpu() const { return fGpu; } in gpu()
75 GrDawnProgramBuilder(GrDawnGpu*,
80 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()
73 sk_sp<GrDawnTexture> GrDawnTexture::MakeWrapped(GrDawnGpu* gpu, SkISize dimensions, in MakeWrapped()
97 GrDawnGpu* GrDawnTexture::getDawnGpu() const { in getDawnGpu()
99 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()

12