Searched refs:grCtx (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/modules/canvaskit/ |
D | gpu.js | 72 var grCtx = this._MakeGrContext(); 73 if (!grCtx) { 77 grCtx._context = ctx; 78 return grCtx; 81 CanvasKit.MakeOnScreenGLSurface = function(grCtx, w, h, colorspace) { argument 82 var surface = this._MakeOnScreenGLSurface(grCtx, w, h, colorspace); 86 surface._context = grCtx._context; 90 CanvasKit.MakeRenderTarget = function(grCtx, w, h) { argument 91 var surface = this._MakeRenderTargetWH(grCtx, w, h); 95 surface._context = grCtx._context; [all …]
|
/third_party/skia/tools/gpu/ |
D | GrContextFactory.cpp | 316 sk_sp<GrDirectContext> grCtx; in getContextInfoInternal() local 319 grCtx = testCtx->makeContext(grOptions); in getContextInfoInternal() 321 if (!grCtx) { in getContextInfoInternal() 326 SkASSERT(grCtx->directContextID() != shareContext->directContextID()); in getContextInfoInternal() 334 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal()
|
/third_party/flutter/skia/tools/gpu/ |
D | GrContextFactory.cpp | 265 sk_sp<GrContext> grCtx; in getContextInfoInternal() local 268 grCtx = testCtx->makeGrContext(grOptions); in getContextInfoInternal() 270 if (!grCtx.get()) { in getContextInfoInternal() 279 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 881 const grCtx = CK.MakeGrContext(ctx); constant 882 const surfaceNine = CK.MakeOnScreenGLSurface(grCtx!, 100, 400, // $ExpectType Surface 885 const rt = CK.MakeRenderTarget(grCtx!, 100, 200); // $ExpectType Surface | null 886 const rt2 = CK.MakeRenderTarget(grCtx!, { // $ExpectType Surface | null
|