Lines Matching refs:GrMtlGpu
8 #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,
219 GrStencilAttachment* GrMtlGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt,
238 sk_sp<GrTexture> GrMtlGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
344 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
358 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
378 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) {
394 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendTextureAsRenderTarget(
413 bool GrMtlGpu::createTestingOnlyMtlTextureInfo(GrColorType colorType, int w, int h, bool texturable,
508 GrBackendTexture GrMtlGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h,
527 bool GrMtlGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
542 void GrMtlGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) {
552 GrBackendRenderTarget GrMtlGpu::createTestingOnlyBackendRenderTarget(int w, int h, GrColorType ct) {
570 void GrMtlGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
581 void GrMtlGpu::testingOnly_flushGpuAndSync() {
593 bool GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
644 bool GrMtlGpu::copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
709 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
748 bool GrMtlGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height,
767 bool GrMtlGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height,