• Home
  • Raw
  • Download

Lines Matching refs:GrMtlGpu

8 #include "src/gpu/mtl/GrMtlGpu.h"
107 sk_sp<GrGpu> GrMtlGpu::Make(const GrMtlBackendContext& context, const GrContextOptions& options,
132 return sk_sp<GrGpu>(new GrMtlGpu(direct, options, device, queue, context.fBinaryArchive.get(),
142 GrMtlGpu::GrMtlGpu(GrDirectContext* direct, const GrContextOptions& options, function
162 GrMtlGpu::~GrMtlGpu() { function
168 void GrMtlGpu::disconnect(DisconnectType type) {
177 GrThreadSafePipelineBuilder* GrMtlGpu::pipelineBuilder() {
181 sk_sp<GrThreadSafePipelineBuilder> GrMtlGpu::refPipelineBuilder() {
185 void GrMtlGpu::destroyResources() {
206 GrOpsRenderPass* GrMtlGpu::onGetOpsRenderPass(
216 GrMtlCommandBuffer* GrMtlGpu::commandBuffer() {
226 void GrMtlGpu::takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) {
231 void GrMtlGpu::submit(GrOpsRenderPass* renderPass) {
237 bool GrMtlGpu::submitCommandBuffer(SyncQueue sync) {
271 void GrMtlGpu::checkForFinishedCommandBuffers() {
287 void GrMtlGpu::finishOutstandingGpuWork() {
296 void GrMtlGpu::addFinishedProc(GrGpuFinishedProc finishedProc,
302 void GrMtlGpu::addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback) {
317 bool GrMtlGpu::onSubmitToGpu(bool syncCpu) {
325 std::unique_ptr<GrSemaphore> GrMtlGpu::prepareTextureForCrossContextUsage(GrTexture*) {
330 sk_sp<GrGpuBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrGpuBufferType type,
343 bool GrMtlGpu::uploadToTexture(GrMtlTexture* tex, int left, int top, int width, int height,
447 bool GrMtlGpu::clearTexture(GrMtlTexture* tex, size_t bpp, uint32_t levelMask) {
535 sk_sp<GrAttachment> GrMtlGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
543 sk_sp<GrTexture> GrMtlGpu::onCreateTexture(SkISize dimensions,
602 sk_sp<GrTexture> GrMtlGpu::onCreateCompressedTexture(SkISize dimensions,
735 sk_sp<GrTexture> GrMtlGpu::onWrapBackendTexture(const GrBackendTexture& backendTex,
752 sk_sp<GrTexture> GrMtlGpu::onWrapCompressedBackendTexture(const GrBackendTexture& backendTex,
768 sk_sp<GrTexture> GrMtlGpu::onWrapRenderableBackendTexture(const GrBackendTexture& backendTex,
799 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) {
817 bool GrMtlGpu::onRegenerateMipMapLevels(GrTexture* texture) {
884 bool GrMtlGpu::createMtlTextureForBackendSurface(MTLPixelFormat mtlFormat,
926 GrBackendTexture GrMtlGpu::onCreateBackendTexture(SkISize dimensions,
943 bool GrMtlGpu::onClearBackendTexture(const GrBackendTexture& backendTexture,
1027 GrBackendTexture GrMtlGpu::onCreateCompressedBackendTexture(
1041 bool GrMtlGpu::onUpdateCompressedBackendTexture(const GrBackendTexture& backendTexture,
1123 void GrMtlGpu::deleteBackendTexture(const GrBackendTexture& tex) {
1128 bool GrMtlGpu::compile(const GrProgramDesc& desc, const GrProgramInfo& programInfo) {
1141 bool GrMtlGpu::precompileShader(const SkData& key, const SkData& data) {
1146 bool GrMtlGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
1164 GrBackendRenderTarget GrMtlGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions,
1191 void GrMtlGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
1203 void GrMtlGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src) {
1219 void GrMtlGpu::copySurfaceAsBlit(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
1240 bool GrMtlGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
1261 bool GrMtlGpu::onWritePixels(GrSurface* surface, int left, int top, int width, int height,
1283 bool GrMtlGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height,
1330 bool GrMtlGpu::onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height,
1373 bool GrMtlGpu::onTransferPixelsFrom(GrSurface* surface, int left, int top, int width, int height,
1402 bool GrMtlGpu::readOrTransferPixels(GrSurface* surface, int left, int top, int width, int height,
1444 GrFence SK_WARN_UNUSED_RESULT GrMtlGpu::insertFence() {
1457 bool GrMtlGpu::waitFence(GrFence fence) {
1466 void GrMtlGpu::deleteFence(GrFence fence) const {
1472 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrMtlGpu::makeSemaphore(bool /*isOwned*/) {
1477 std::unique_ptr<GrSemaphore> GrMtlGpu::wrapBackendSemaphore(
1485 void GrMtlGpu::insertSemaphore(GrSemaphore* semaphore) {
1494 void GrMtlGpu::waitSemaphore(GrSemaphore* semaphore) {
1503 void GrMtlGpu::onResolveRenderTarget(GrRenderTarget* target, const SkIRect&) {
1508 void GrMtlGpu::resolveTexture(id<MTLTexture> resolveTexture, id<MTLTexture> colorTexture) {
1523 void GrMtlGpu::testingOnly_startCapture() {
1531 void GrMtlGpu::testingOnly_endCapture() {
1541 void GrMtlGpu::onDumpJSON(SkJSONWriter* writer) const {