Home
last modified time | relevance | path

Searched refs:GrMtlGpu (Results 1 – 25 of 70) sorted by relevance

123

/third_party/skia/src/gpu/mtl/
DGrMtlAttachment.h16 class GrMtlGpu; variable
20 static sk_sp<GrMtlAttachment> MakeStencil(GrMtlGpu* gpu,
25 static sk_sp<GrMtlAttachment> MakeMSAA(GrMtlGpu* gpu,
30 static sk_sp<GrMtlAttachment> MakeTexture(GrMtlGpu* gpu,
38 static sk_sp<GrMtlAttachment> MakeWrapped(GrMtlGpu* gpu,
63 static sk_sp<GrMtlAttachment> Make(GrMtlGpu* gpu,
73 GrMtlAttachment(GrMtlGpu* gpu,
79 GrMtlAttachment(GrMtlGpu* gpu,
85 GrMtlGpu* getMtlGpu() const;
DGrMtlTexture.h15 class GrMtlGpu; variable
19 static sk_sp<GrMtlTexture> MakeNewTexture(GrMtlGpu*,
26 static sk_sp<GrMtlTexture> MakeWrappedTexture(GrMtlGpu*,
43 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
46 GrMtlTexture(GrMtlGpu*, SkISize, sk_sp<GrMtlAttachment>, GrMipmapStatus);
48 GrMtlGpu* getMtlGpu() const;
66 GrMtlTexture(GrMtlGpu*, SkBudgeted, SkISize, sk_sp<GrMtlAttachment>, GrMipmapStatus);
68 GrMtlTexture(GrMtlGpu*,
DGrMtlAttachment.mm10 #include "src/gpu/mtl/GrMtlGpu.h"
19 GrMtlAttachment::GrMtlAttachment(GrMtlGpu* gpu,
31 GrMtlAttachment::GrMtlAttachment(GrMtlGpu* gpu,
43 sk_sp<GrMtlAttachment> GrMtlAttachment::MakeStencil(GrMtlGpu* gpu,
57 sk_sp<GrMtlAttachment> GrMtlAttachment::MakeMSAA(GrMtlGpu* gpu,
71 sk_sp<GrMtlAttachment> GrMtlAttachment::MakeTexture(GrMtlGpu* gpu,
96 sk_sp<GrMtlAttachment> GrMtlAttachment::Make(GrMtlGpu* gpu,
147 GrMtlGpu* gpu,
172 GrMtlGpu* GrMtlAttachment::getMtlGpu() const {
174 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlPipelineStateBuilder.h22 class GrMtlGpu; variable
42 GrMtlGpu*,
47 static bool PrecompileShaders(GrMtlGpu*, const SkData&,
51 GrMtlPipelineStateBuilder(GrMtlGpu*, const GrProgramDesc&, const GrProgramInfo&);
74 GrMtlGpu* fGpu;
DGrMtlRenderTarget.h20 class GrMtlGpu; variable
26 static sk_sp<GrMtlRenderTarget> MakeWrappedRenderTarget(GrMtlGpu*,
61 GrMtlRenderTarget(GrMtlGpu* gpu,
66 GrMtlGpu* getMtlGpu() const;
80 GrMtlRenderTarget(GrMtlGpu* gpu,
DGrMtlResourceProvider.h24 class GrMtlGpu; variable
29 GrMtlResourceProvider(GrMtlGpu* gpu);
61 PipelineStateCache(GrMtlGpu* gpu);
83 GrMtlGpu* fGpu;
86 GrMtlGpu* fGpu;
DGrMtlBuffer.h17 class GrMtlGpu; variable
21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType,
29 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
35 GrMtlGpu* mtlGpu() const;
DGrMtlTextureRenderTarget.h16 static sk_sp<GrMtlTextureRenderTarget> MakeNewTextureRenderTarget(GrMtlGpu*,
24 static sk_sp<GrMtlTextureRenderTarget> MakeWrappedTextureRenderTarget(GrMtlGpu*,
45 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
53 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
DGrMtlTexture.mm11 #include "src/gpu/mtl/GrMtlGpu.h"
20 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
40 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
62 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
77 sk_sp<GrMtlTexture> GrMtlTexture::MakeNewTexture(GrMtlGpu* gpu,
93 sk_sp<GrMtlTexture> GrMtlTexture::MakeWrappedTexture(GrMtlGpu* gpu,
120 GrMtlGpu* GrMtlTexture::getMtlGpu() const {
122 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlGpu.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
45 sk_sp<GrGpu> GrMtlGpu::Make(const GrMtlBackendContext& context, const GrContextOptions& options,
65 return sk_sp<GrGpu>(new GrMtlGpu(direct, options, device, queue, context.fBinaryArchive.get()));
74 GrMtlGpu::GrMtlGpu(GrDirectContext* direct, const GrContextOptions& options, function
97 GrMtlGpu::~GrMtlGpu() { function
103 void GrMtlGpu::disconnect(DisconnectType type) {
112 GrThreadSafePipelineBuilder* GrMtlGpu::pipelineBuilder() {
116 sk_sp<GrThreadSafePipelineBuilder> GrMtlGpu::refPipelineBuilder() {
120 void GrMtlGpu::destroyResources() {
143 GrOpsRenderPass* GrMtlGpu::onGetOpsRenderPass(
[all …]
DGrMtlUtil.h18 class GrMtlGpu; variable
71 bool GrSkSLToMSL(const GrMtlGpu* gpu,
82 id<MTLLibrary> GrCompileMtlShaderLibrary(const GrMtlGpu* gpu,
90 void GrPrecompileMtlShaderLibrary(const GrMtlGpu* gpu,
DGrMtlPipelineState.h21 class GrMtlGpu; variable
38 GrMtlPipelineState(GrMtlGpu*,
99 SamplerBindings(GrSamplerState state, GrTexture* texture, GrMtlGpu*);
102 GrMtlGpu* fGpu;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlTexture.h15 class GrMtlGpu; variable
19 static sk_sp<GrMtlTexture> MakeNewTexture(GrMtlGpu*, SkBudgeted budgeted,
24 static sk_sp<GrMtlTexture> MakeWrappedTexture(GrMtlGpu*, const GrSurfaceDesc&, id<MTLTexture>,
37 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
40 GrMtlTexture(GrMtlGpu*, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus);
42 GrMtlGpu* getMtlGpu() const;
60 GrMtlTexture(GrMtlGpu*, SkBudgeted, const GrSurfaceDesc&, id<MTLTexture>,
63 GrMtlTexture(GrMtlGpu*, Wrapped, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus,
DGrMtlRenderTarget.h17 class GrMtlGpu; variable
21 static sk_sp<GrMtlRenderTarget> MakeWrappedRenderTarget(GrMtlGpu*,
48 GrMtlRenderTarget(GrMtlGpu* gpu,
54 GrMtlRenderTarget(GrMtlGpu* gpu,
58 GrMtlGpu* getMtlGpu() const;
82 GrMtlRenderTarget(GrMtlGpu* gpu,
88 GrMtlRenderTarget(GrMtlGpu* gpu,
DGrMtlTextureRenderTarget.h16 static sk_sp<GrMtlTextureRenderTarget> MakeNewTextureRenderTarget(GrMtlGpu*,
23 static sk_sp<GrMtlTextureRenderTarget> MakeWrappedTextureRenderTarget(GrMtlGpu*,
44 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
52 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
58 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
66 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
DGrMtlPipelineStateBuilder.h20 class GrMtlGpu; variable
43 GrMtlGpu* gpu);
61 static GrMtlPipelineState* CreatePipelineState(GrMtlGpu*,
69 GrMtlPipelineStateBuilder(GrMtlGpu*, GrRenderTarget*, GrSurfaceOrigin,
95 GrMtlGpu* fGpu;
DGrMtlTexture.mm11 #include "src/gpu/mtl/GrMtlGpu.h"
18 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
31 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
49 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
60 sk_sp<GrMtlTexture> GrMtlTexture::MakeNewTexture(GrMtlGpu* gpu, SkBudgeted budgeted,
72 sk_sp<GrMtlTexture> GrMtlTexture::MakeWrappedTexture(GrMtlGpu* gpu,
89 GrMtlGpu* GrMtlTexture::getMtlGpu() const {
91 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlStencilAttachment.h16 class GrMtlGpu; variable
27 static GrMtlStencilAttachment* Create(GrMtlGpu* gpu, int width, int height,
43 GrMtlStencilAttachment(GrMtlGpu* gpu,
47 GrMtlGpu* getMtlGpu() const;
DGrMtlResourceProvider.h20 class GrMtlGpu; variable
25 GrMtlResourceProvider(GrMtlGpu* gpu);
54 PipelineStateCache(GrMtlGpu* gpu);
81 GrMtlGpu* fGpu;
111 GrMtlGpu* fGpu;
DGrMtlBuffer.h17 class GrMtlGpu; variable
21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType,
30 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
36 GrMtlGpu* mtlGpu() const;
DGrMtlRenderTarget.mm10 #include "src/gpu/mtl/GrMtlGpu.h"
18 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
33 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
45 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
58 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
66 sk_sp<GrMtlRenderTarget> GrMtlRenderTarget::MakeWrappedRenderTarget(GrMtlGpu* gpu,
120 GrMtlGpu* GrMtlRenderTarget::getMtlGpu() const {
122 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlTextureRenderTarget.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
16 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
29 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
40 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
53 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
64 id<MTLTexture> create_msaa_texture(GrMtlGpu* gpu, const GrSurfaceDesc& desc, int sampleCnt) {
85 GrMtlGpu* gpu,
112 GrMtlGpu* gpu,
DGrMtlGpu.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
85 sk_sp<GrGpu> GrMtlGpu::Make(GrContext* context, const GrContextOptions& options,
94 return sk_sp<GrGpu>(new GrMtlGpu(context, options, device, queue, featureSet));
97 GrMtlGpu::GrMtlGpu(GrContext* context, const GrContextOptions& options, function
110 GrMtlGpu::~GrMtlGpu() { function
116 void GrMtlGpu::disconnect(DisconnectType type) {
134 void GrMtlGpu::destroyResources() {
143 GrGpuRTCommandBuffer* GrMtlGpu::getCommandBuffer(
150 GrGpuTextureCommandBuffer* GrMtlGpu::getCommandBuffer(GrTexture* texture,
155 void GrMtlGpu::submit(GrGpuCommandBuffer* buffer) {
[all …]
DGrMtlStencilAttachment.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
15 GrMtlStencilAttachment::GrMtlStencilAttachment(GrMtlGpu* gpu,
25 GrMtlStencilAttachment* GrMtlStencilAttachment::Create(GrMtlGpu* gpu,
67 GrMtlGpu* GrMtlStencilAttachment::getMtlGpu() const {
69 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlPipelineState.h19 class GrMtlGpu; variable
35 GrMtlGpu* gpu,
112 SamplerBindings(const GrSamplerState& state, GrTexture* texture, GrMtlGpu*);
115 GrMtlGpu* fGpu;

123