Home
last modified time | relevance | path

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

123

/external/skia/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);
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,
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());
DGrMtlResourceProvider.h18 class GrMtlGpu; variable
22 GrMtlResourceProvider(GrMtlGpu* gpu);
43 PipelineStateCache(GrMtlGpu* gpu);
69 GrMtlGpu* fGpu;
79 GrMtlGpu* fGpu;
DGrMtlRenderTarget.h17 class GrMtlGpu; variable
21 static sk_sp<GrMtlRenderTarget> MakeWrappedRenderTarget(GrMtlGpu*,
49 GrMtlRenderTarget(GrMtlGpu* gpu,
53 GrMtlGpu* getMtlGpu() const;
77 GrMtlRenderTarget(GrMtlGpu* gpu,
DGrMtlPipelineStateBuilder.h20 class GrMtlGpu; variable
43 GrMtlGpu* gpu);
61 static GrMtlPipelineState* CreatePipelineState(GrMtlGpu*,
69 GrMtlPipelineStateBuilder(GrMtlGpu*, GrRenderTarget*, GrSurfaceOrigin,
95 GrMtlGpu* fGpu;
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;
DGrMtlStencilAttachment.mm8 #include "GrMtlGpu.h"
11 GrMtlStencilAttachment::GrMtlStencilAttachment(GrMtlGpu* gpu,
21 GrMtlStencilAttachment* GrMtlStencilAttachment::Create(GrMtlGpu* gpu,
59 GrMtlGpu* GrMtlStencilAttachment::getMtlGpu() const {
61 return static_cast<GrMtlGpu*>(this->getGpu());
DGrMtlBuffer.h16 class GrMtlGpu; variable
20 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType,
28 GrMtlBuffer(GrMtlGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern);
34 GrMtlGpu* mtlGpu() const;
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
111 GrGpuRTCommandBuffer* GrMtlGpu::getCommandBuffer(
118 GrGpuTextureCommandBuffer* GrMtlGpu::getCommandBuffer(GrTexture* texture,
123 void GrMtlGpu::submit(GrGpuCommandBuffer* buffer) {
127 void GrMtlGpu::submitCommandBuffer(SyncQueue sync) {
138 sk_sp<GrGpuBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrGpuBufferType type,
151 bool GrMtlGpu::uploadToTexture(GrMtlTexture* tex, int left, int top, int width, int height,
[all …]
DGrMtlPipelineState.h19 class GrMtlGpu; variable
35 GrMtlGpu* gpu,
103 SamplerBindings(const GrSamplerState& state, GrTexture* texture, GrMtlGpu*);
106 GrMtlGpu* fGpu;
/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;
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());
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;
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 …]
DGrMtlPipelineStateBuilder.h20 class GrMtlGpu; variable
30 GrMtlGpu*);
37 GrProgramDesc*, GrMtlGpu*);
58 GrMtlGpu* fGpu;
DGrMtlResourceProvider.h16 class GrMtlGpu; variable
20 GrMtlResourceProvider(GrMtlGpu* gpu) : fGpu(gpu) {} in GrMtlResourceProvider()
30 GrMtlGpu* fGpu;

123