Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/mtl/
DGrMtlTexture.h15 class GrMtlGpu; variable
19 static sk_sp<GrMtlTexture> MakeNewTexture(GrMtlGpu*,
25 static sk_sp<GrMtlTexture> MakeWrappedTexture(GrMtlGpu*,
41 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
44 GrMtlTexture(GrMtlGpu*, SkISize, id<MTLTexture>, GrMipmapStatus);
46 GrMtlGpu* getMtlGpu() const;
64 GrMtlTexture(GrMtlGpu*, SkBudgeted, SkISize, id<MTLTexture>, GrMipmapStatus);
66 GrMtlTexture(GrMtlGpu*,
DGrMtlRenderTarget.h18 class GrMtlGpu; variable
24 static sk_sp<GrMtlRenderTarget> MakeWrappedRenderTarget(GrMtlGpu*,
44 GrMtlRenderTarget(GrMtlGpu* gpu,
50 GrMtlRenderTarget(GrMtlGpu* gpu, SkISize, id<MTLTexture> colorTexture);
52 GrMtlGpu* getMtlGpu() const;
76 GrMtlRenderTarget(GrMtlGpu* gpu,
82 GrMtlRenderTarget(GrMtlGpu* gpu, SkISize, id<MTLTexture> colorTexture, Wrapped);
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,
DGrMtlResourceProvider.h22 class GrMtlGpu; variable
27 GrMtlResourceProvider(GrMtlGpu* gpu);
55 PipelineStateCache(GrMtlGpu* gpu);
77 GrMtlGpu* fGpu;
80 GrMtlGpu* fGpu;
DGrMtlPipelineStateBuilder.h22 class GrMtlGpu; variable
41 GrMtlGpu*,
46 static bool PrecompileShaders(GrMtlGpu*, const SkData&,
50 GrMtlPipelineStateBuilder(GrMtlGpu*, const GrProgramDesc&, const GrProgramInfo&);
73 GrMtlGpu* fGpu;
DGrMtlTexture.mm11 #include "src/gpu/mtl/GrMtlGpu.h"
20 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
39 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
60 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
74 sk_sp<GrMtlTexture> GrMtlTexture::MakeNewTexture(GrMtlGpu* gpu,
89 sk_sp<GrMtlTexture> GrMtlTexture::MakeWrappedTexture(GrMtlGpu* gpu,
108 GrMtlGpu* GrMtlTexture::getMtlGpu() const {
110 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlAttachment.h16 class GrMtlGpu; variable
20 static sk_sp<GrMtlAttachment> MakeStencil(GrMtlGpu* gpu,
40 GrMtlAttachment(GrMtlGpu* gpu,
45 GrMtlGpu* getMtlGpu() const;
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;
DGrMtlAttachment.mm10 #include "src/gpu/mtl/GrMtlGpu.h"
19 GrMtlAttachment::GrMtlAttachment(GrMtlGpu* gpu,
29 sk_sp<GrMtlAttachment> GrMtlAttachment::MakeStencil(GrMtlGpu* gpu,
65 GrMtlGpu* GrMtlAttachment::getMtlGpu() const {
67 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlRenderTarget.mm10 #include "src/gpu/mtl/GrMtlGpu.h"
20 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
34 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
46 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
58 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu, SkISize dimensions, id<MTLTexture> colorTexture)
64 sk_sp<GrMtlRenderTarget> GrMtlRenderTarget::MakeWrappedRenderTarget(GrMtlGpu* gpu,
131 GrMtlGpu* GrMtlRenderTarget::getMtlGpu() const {
133 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlTextureRenderTarget.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
18 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
31 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
42 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
55 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
66 id<MTLTexture> create_msaa_texture(GrMtlGpu* gpu, SkISize dimensions, MTLPixelFormat format,
89 GrMtlGpu* gpu,
121 GrMtlGpu* gpu,
DGrMtlGpu.mm8 #include "src/gpu/mtl/GrMtlGpu.h"
107 sk_sp<GrGpu> GrMtlGpu::Make(const GrMtlBackendContext& context, const GrContextOptions& options,
132 return sk_sp<GrGpu>(new GrMtlGpu(direct, options, device, queue, context.fBinaryArchive.get(),
142 GrMtlGpu::GrMtlGpu(GrDirectContext* direct, const GrContextOptions& options, function
162 GrMtlGpu::~GrMtlGpu() { function
168 void GrMtlGpu::disconnect(DisconnectType type) {
177 GrThreadSafePipelineBuilder* GrMtlGpu::pipelineBuilder() {
181 sk_sp<GrThreadSafePipelineBuilder> GrMtlGpu::refPipelineBuilder() {
185 void GrMtlGpu::destroyResources() {
206 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,
/external/skqp/src/gpu/mtl/
DGrMtlTexture.h15 class GrMtlGpu; variable
19 static sk_sp<GrMtlTexture> CreateNewTexture(GrMtlGpu*, SkBudgeted budgeted,
24 static sk_sp<GrMtlTexture> MakeWrappedTexture(GrMtlGpu*, const GrSurfaceDesc&, id<MTLTexture>,
37 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
53 GrMtlTexture(GrMtlGpu*, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus);
55 GrMtlGpu* getMtlGpu() const;
87 GrMtlTexture(GrMtlGpu*, SkBudgeted, const GrSurfaceDesc&, id<MTLTexture>,
90 GrMtlTexture(GrMtlGpu*, Wrapped, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus,
DGrMtlTextureRenderTarget.h16 static sk_sp<GrMtlTextureRenderTarget> CreateNewTextureRenderTarget(GrMtlGpu*,
22 static sk_sp<GrMtlTextureRenderTarget> MakeWrappedTextureRenderTarget(GrMtlGpu*,
42 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
49 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
55 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
61 GrMtlTextureRenderTarget(GrMtlGpu* gpu,
DGrMtlTexture.mm10 #include "GrMtlGpu.h"
14 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
26 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
43 GrMtlTexture::GrMtlTexture(GrMtlGpu* gpu,
53 sk_sp<GrMtlTexture> GrMtlTexture::CreateNewTexture(GrMtlGpu* gpu, SkBudgeted budgeted,
67 sk_sp<GrMtlTexture> GrMtlTexture::MakeWrappedTexture(GrMtlGpu* gpu,
88 GrMtlGpu* GrMtlTexture::getMtlGpu() const {
90 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlRenderTarget.h17 class GrMtlGpu; variable
21 static sk_sp<GrMtlRenderTarget> MakeWrappedRenderTarget(GrMtlGpu*,
49 GrMtlRenderTarget(GrMtlGpu* gpu,
53 GrMtlGpu* getMtlGpu() const;
77 GrMtlRenderTarget(GrMtlGpu* gpu,
DGrMtlRenderTarget.mm10 #include "GrMtlGpu.h"
14 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
27 GrMtlRenderTarget::GrMtlRenderTarget(GrMtlGpu* gpu,
38 GrMtlRenderTarget::MakeWrappedRenderTarget(GrMtlGpu* gpu, const GrSurfaceDesc& desc,
61 GrMtlGpu* GrMtlRenderTarget::getMtlGpu() const {
63 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;
DGrMtlBuffer.h16 class GrMtlGpu; variable
20 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrBufferType intendedType,
28 GrMtlBuffer(GrMtlGpu*, size_t size, GrBufferType intendedType, GrAccessPattern);
34 GrMtlGpu* mtlGpu() const;
DGrMtlStencilAttachment.mm8 #include "GrMtlGpu.h"
11 GrMtlStencilAttachment::GrMtlStencilAttachment(GrMtlGpu* gpu,
21 GrMtlStencilAttachment* GrMtlStencilAttachment::Create(GrMtlGpu* gpu,
58 GrMtlGpu* GrMtlStencilAttachment::getMtlGpu() const {
60 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlPipelineStateBuilder.h20 class GrMtlGpu; variable
30 GrMtlGpu*);
37 GrProgramDesc*, GrMtlGpu*);
58 GrMtlGpu* fGpu;
DGrMtlTextureRenderTarget.mm9 #include "GrMtlGpu.h"
12 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
23 GrMtlTextureRenderTarget::GrMtlTextureRenderTarget(GrMtlGpu* gpu,
35 GrMtlTextureRenderTarget::CreateNewTextureRenderTarget(GrMtlGpu* gpu,
51 GrMtlGpu* gpu,
DGrMtlGpu.mm8 #include "GrMtlGpu.h"
82 sk_sp<GrGpu> GrMtlGpu::Make(GrContext* context, const GrContextOptions& options,
91 return sk_sp<GrGpu>(new GrMtlGpu(context, options, device, queue, featureSet));
94 GrMtlGpu::GrMtlGpu(GrContext* context, const GrContextOptions& options, function
109 GrGpuRTCommandBuffer* GrMtlGpu::getCommandBuffer(
116 GrGpuTextureCommandBuffer* GrMtlGpu::getCommandBuffer(GrTexture* texture,
121 void GrMtlGpu::submit(GrGpuCommandBuffer* buffer) {
125 void GrMtlGpu::submitCommandBuffer(SyncQueue sync) {
134 sk_sp<GrBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrBufferType type,
147 bool GrMtlGpu::uploadToTexture(GrMtlTexture* tex, int left, int top, int width, int height,
[all …]
DGrMtlResourceProvider.h16 class GrMtlGpu; variable
20 GrMtlResourceProvider(GrMtlGpu* gpu) : fGpu(gpu) {} in GrMtlResourceProvider()
30 GrMtlGpu* fGpu;

123