Lines Matching full:sk_sp
147 GrDDLContext(sk_sp<GrContextThreadSafeProxy> proxy)
210 sk_sp<GrContext> context(new GrDirectContext(backend));
225 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface) {
230 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface,
232 sk_sp<GrContext> context(new GrDirectContext(kOpenGL_GrBackend));
246 sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface) {
250 sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface,
255 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions) {
260 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions,
262 sk_sp<GrContext> context(new GrDirectContext(kMock_GrBackend));
277 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext) {
282 sk_sp<GrContext> GrContext::MakeVulkan(sk_sp<const GrVkBackendContext> backendContext,
284 sk_sp<GrContext> context(new GrDirectContext(kVulkan_GrBackend));
300 sk_sp<GrContext> GrContext::MakeMetal(void* device, void* queue) {
305 sk_sp<GrContext> GrContext::MakeMetal(void* device, void* queue, const GrContextOptions& options) {
306 sk_sp<GrContext> context(new GrDirectContext(kMetal_GrBackend));
328 sk_sp<GrContext> GrContextPriv::MakeDDL(sk_sp<GrContextThreadSafeProxy> proxy) {
329 sk_sp<GrContext> context(new GrDDLContext(proxy));
432 sk_sp<GrContextThreadSafeProxy> GrContext::threadSafeProxy() {
812 sk_sp<GrTextureProxy> tempProxy;
951 sk_sp<GrSurfaceProxy> proxyToRead = src->asSurfaceProxyRef();
966 sk_sp<SkColorSpace> colorSpace;
970 sk_sp<GrRenderTargetContext> tempRTC =
984 sk_sp<GrTextureProxy> proxy = src->asTextureProxyRef();
1204 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy,
1205 sk_sp<SkColorSpace> colorSpace,
1225 sk_sp<GrSurfaceContext> GrContextPriv::makeDeferredSurfaceContext(const GrSurfaceDesc& dstDesc,
1229 sk_sp<SkColorSpace> colorSpace,
1231 sk_sp<GrTextureProxy> proxy;
1245 sk_sp<GrTextureContext> GrContextPriv::makeBackendTextureContext(const GrBackendTexture& tex,
1247 sk_sp<SkColorSpace> colorSpace) {
1250 sk_sp<GrSurfaceProxy> proxy = this->proxyProvider()->createWrappedTextureProxy(tex, origin);
1258 sk_sp<GrRenderTargetContext> GrContextPriv::makeBackendTextureRenderTargetContext(
1262 sk_sp<SkColorSpace> colorSpace,
1267 sk_sp<GrTextureProxy> proxy(this->proxyProvider()->createWrappedTextureProxy(tex, origin,
1277 sk_sp<GrRenderTargetContext> GrContextPriv::makeBackendRenderTargetRenderTargetContext(
1280 sk_sp<SkColorSpace> colorSpace,
1284 sk_sp<GrSurfaceProxy> proxy = this->proxyProvider()->createWrappedRenderTargetProxy(backendRT,
1295 sk_sp<GrRenderTargetContext> GrContextPriv::makeBackendTextureAsRenderTargetRenderTargetContext(
1299 sk_sp<SkColorSpace> colorSpace,
1303 sk_sp<GrSurfaceProxy> proxy(this->proxyProvider()->createWrappedRenderTargetProxy(tex, origin,
1344 sk_sp<GrRenderTargetContext> GrContext::makeDeferredRenderTargetContextWithFallback(
1348 sk_sp<SkColorSpace> colorSpace,
1364 sk_sp<GrRenderTargetContext> GrContext::makeDeferredRenderTargetContext(
1368 sk_sp<SkColorSpace> colorSpace,
1387 sk_sp<GrTextureProxy> rtp;
1397 sk_sp<GrRenderTargetContext> renderTargetContext(