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
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,
276 GrStencilAttachment* GrMtlGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt,
295 sk_sp<GrTexture> GrMtlGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
403 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
417 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
437 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) {
453 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendTextureAsRenderTarget(
472 bool GrMtlGpu::createTestingOnlyMtlTextureInfo(GrColorType colorType, int w, int h, bool texturable,
570 GrBackendTexture GrMtlGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h,
589 bool GrMtlGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
604 void GrMtlGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) {
614 GrBackendRenderTarget GrMtlGpu::createTestingOnlyBackendRenderTarget(int w, int h, GrColorType ct) {
632 void GrMtlGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
643 void GrMtlGpu::testingOnly_flushGpuAndSync() {
655 bool GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
706 bool GrMtlGpu::copySurfaceAsDrawThenBlit(GrSurface* dst, GrSurfaceOrigin dstOrigin,
771 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin,
812 bool GrMtlGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height,
833 bool GrMtlGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height,