• Home
  • Raw
  • Download

Lines Matching refs:GrMtlGpu

8 #include "src/gpu/mtl/GrMtlGpu.h"
45 sk_sp<GrGpu> GrMtlGpu::Make(const GrMtlBackendContext& context, const GrContextOptions& options,
65 return sk_sp<GrGpu>(new GrMtlGpu(direct, options, device, queue, context.fBinaryArchive.get()));
74 GrMtlGpu::GrMtlGpu(GrDirectContext* direct, const GrContextOptions& options, function
97 GrMtlGpu::~GrMtlGpu() { function
103 void GrMtlGpu::disconnect(DisconnectType type) {
112 GrThreadSafePipelineBuilder* GrMtlGpu::pipelineBuilder() {
116 sk_sp<GrThreadSafePipelineBuilder> GrMtlGpu::refPipelineBuilder() {
120 void GrMtlGpu::destroyResources() {
143 GrOpsRenderPass* GrMtlGpu::onGetOpsRenderPass(
177 GrMtlCommandBuffer* GrMtlGpu::commandBuffer() {
190 void GrMtlGpu::takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) {
195 void GrMtlGpu::submit(GrOpsRenderPass* renderPass) {
201 bool GrMtlGpu::submitCommandBuffer(SyncQueue sync) {
236 void GrMtlGpu::checkForFinishedCommandBuffers() {
252 void GrMtlGpu::finishOutstandingGpuWork() {
261 void GrMtlGpu::addFinishedProc(GrGpuFinishedProc finishedProc,
267 void GrMtlGpu::addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback) {
282 bool GrMtlGpu::onSubmitToGpu(bool syncCpu) {
290 std::unique_ptr<GrSemaphore> GrMtlGpu::prepareTextureForCrossContextUsage(GrTexture*) {
295 sk_sp<GrGpuBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrGpuBufferType type,
308 bool GrMtlGpu::uploadToTexture(GrMtlTexture* tex,
421 bool GrMtlGpu::clearTexture(GrMtlTexture* tex, size_t bpp, uint32_t levelMask) {
517 sk_sp<GrAttachment> GrMtlGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
525 sk_sp<GrAttachment> GrMtlGpu::makeMSAAAttachment(SkISize dimensions,
544 sk_sp<GrTexture> GrMtlGpu::onCreateTexture(SkISize dimensions,
585 sk_sp<GrTexture> GrMtlGpu::onCreateCompressedTexture(SkISize dimensions,
710 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
727 sk_sp<GrTexture> GrMtlGpu::onWrapCompressedBackendTexture(const GrBackendTexture& backendTex,
743 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
774 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) {
792 bool GrMtlGpu::onRegenerateMipMapLevels(GrTexture* texture) {
863 bool GrMtlGpu::createMtlTextureForBackendSurface(MTLPixelFormat mtlFormat,
908 GrBackendTexture GrMtlGpu::onCreateBackendTexture(SkISize dimensions,
925 bool GrMtlGpu::onClearBackendTexture(const GrBackendTexture& backendTexture,
1013 GrBackendTexture GrMtlGpu::onCreateCompressedBackendTexture(
1027 bool GrMtlGpu::onUpdateCompressedBackendTexture(const GrBackendTexture& backendTexture,
1114 void GrMtlGpu::deleteBackendTexture(const GrBackendTexture& tex) {
1119 bool GrMtlGpu::compile(const GrProgramDesc& desc, const GrProgramInfo& programInfo) {
1132 bool GrMtlGpu::precompileShader(const SkData& key, const SkData& data) {
1137 bool GrMtlGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
1155 GrBackendRenderTarget GrMtlGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions,
1182 void GrMtlGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
1194 void GrMtlGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src) {
1210 void GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurface* src,
1245 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
1315 bool GrMtlGpu::onWritePixels(GrSurface* surface,
1339 bool GrMtlGpu::onReadPixels(GrSurface* surface,
1388 bool GrMtlGpu::onTransferPixelsTo(GrTexture* texture,
1443 bool GrMtlGpu::onTransferPixelsFrom(GrSurface* surface,
1479 bool GrMtlGpu::readOrTransferPixels(GrSurface* surface,
1536 GrFence SK_WARN_UNUSED_RESULT GrMtlGpu::insertFence() {
1549 bool GrMtlGpu::waitFence(GrFence fence) {
1558 void GrMtlGpu::deleteFence(GrFence fence) const {
1564 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrMtlGpu::makeSemaphore(bool /*isOwned*/) {
1569 std::unique_ptr<GrSemaphore> GrMtlGpu::wrapBackendSemaphore(const GrBackendSemaphore& semaphore,
1576 void GrMtlGpu::insertSemaphore(GrSemaphore* semaphore) {
1585 void GrMtlGpu::waitSemaphore(GrSemaphore* semaphore) {
1594 void GrMtlGpu::onResolveRenderTarget(GrRenderTarget* target, const SkIRect&) {
1607 void GrMtlGpu::resolve(GrMtlAttachment* resolveAttachment,
1625 GrMtlRenderCommandEncoder* GrMtlGpu::loadMSAAFromResolve(
1710 void GrMtlGpu::testingOnly_startCapture() {
1732 void GrMtlGpu::testingOnly_endCapture() {
1744 void GrMtlGpu::onDumpJSON(SkJSONWriter* writer) const {