Searched refs:glCtx (Results 1 – 2 of 2) sorted by relevance
68 SkAutoTUnref<SkGLContext> glCtx; in get() local72 glCtx.reset(SkNEW(SkNativeGLContext)); in get()76 glCtx.reset(SkNEW(SkANGLEGLContext)); in get()81 glCtx.reset(SkNEW(SkMesaGLContext)); in get()85 glCtx.reset(SkNEW(SkNullGLContext)); in get()88 glCtx.reset(SkNEW(SkDebugGLContext)); in get()92 if (!glCtx.get()) { in get()95 if (!glCtx.get()->init(kBogusSize, kBogusSize)) { in get()98 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glCtx.get()->gl()); in get()104 ctx.fGLContext = glCtx.get(); in get()
201 bool init(SkGLContext* glCtx, int width, int height) { in init() argument203 if (!glCtx->init(width, height)) { in init()206 GrBackendContext ctx = reinterpret_cast<GrBackendContext>(glCtx->gl()); in init()214 desc.fRenderTargetHandle = glCtx->getFBOID(); in init()220 glCtx->ref(); in init()221 fGLContext.reset(glCtx); in init()