39 fDevice.reset(MTLCreateSystemDefaultDevice());
43 if (@available(macOS 10.11, iOS 9.0, tvOS 9.0, *)) {
60 fDisplayParams.fGraphiteContextOptions.fOptions.fDisableCachedGlyphUploads =
true;
62 fDisplayParams.fGraphiteContextOptions.fPriv.fStoreContextRefInRecorder =
true;
65 fGraphiteRecorder = fGraphiteContext->makeRecorder(ToolUtils::CreateTestingRecorderOptions());
sk_sp< GrDirectContext > fContext
DisplayParams fDisplayParams
SkISize dimensions() const
SK_API sk_sp< SkSurface > WrapBackendTexture(GrRecordingContext *context, const GrBackendTexture &backendTexture, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp< SkColorSpace > colorSpace, const SkSurfaceProps *surfaceProps, TextureReleaseProc textureReleaseProc=nullptr, ReleaseContext releaseContext=nullptr)
SK_API std::unique_ptr< Context > MakeMetal(const MtlBackendContext &, const ContextOptions &)
sk_cfp< CFTypeRef > fDevice
sk_cfp< CFTypeRef > fQueue