Lines Matching refs:GrMtlGpu
8 #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) {
164 GrMtlCommandBuffer* GrMtlGpu::commandBuffer() {
171 void GrMtlGpu::submitCommandBuffer(SyncQueue sync) {
180 sk_sp<GrGpuBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrGpuBufferType type,
193 bool GrMtlGpu::uploadToTexture(GrMtlTexture* tex, int left, int top, int width, int height,
290 bool GrMtlGpu::clearTexture(GrMtlTexture* tex, GrColorType dataColorType, uint32_t levelMask) {
376 GrStencilAttachment* GrMtlGpu::createStencilAttachmentForRenderTarget(
395 sk_sp<GrTexture> GrMtlGpu::onCreateTexture(const GrSurfaceDesc& desc,
504 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
523 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
554 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT,
576 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendTextureAsRenderTarget(
602 bool GrMtlGpu::onRegenerateMipMapLevels(GrTexture* texture) {
650 bool GrMtlGpu::createTestingOnlyMtlTextureInfo(MTLPixelFormat format,
793 GrBackendTexture GrMtlGpu::createBackendTexture(int w, int h,
816 void GrMtlGpu::deleteBackendTexture(const GrBackendTexture& tex) {
822 bool GrMtlGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
836 GrBackendRenderTarget GrMtlGpu::createTestingOnlyBackendRenderTarget(int w, int h, GrColorType ct) {
858 void GrMtlGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
869 void GrMtlGpu::testingOnly_flushGpuAndSync() {
881 void GrMtlGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src) {
897 void GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
920 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
948 bool GrMtlGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height,
969 bool GrMtlGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height,
1046 void GrMtlGpu::internalResolveRenderTarget(GrRenderTarget* target, bool requiresSubmit) {
1058 void GrMtlGpu::resolveTexture(id<MTLTexture> resolveTexture, id<MTLTexture> colorTexture) {