Searched refs:ctxInfo (Results 1 – 5 of 5) sorted by relevance
74 void GrGLCaps::init(const GrGLContextInfo& ctxInfo) { in init() argument77 if (!ctxInfo.isInitialized()) { in init()81 const GrGLInterface* gli = ctxInfo.interface(); in init()82 GrGLBinding binding = ctxInfo.binding(); in init()83 GrGLVersion version = ctxInfo.version(); in init()99 fRGBA8RenderbufferSupport = ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()100 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()105 ctxInfo.hasExtension("GL_EXT_bgra"); in init()107 if (ctxInfo.hasExtension("GL_APPLE_texture_format_BGRA8888")) { in init()109 } else if (ctxInfo.hasExtension("GL_EXT_texture_format_BGRA8888")) { in init()[all …]
98 void init(const GrGLContextInfo& ctxInfo);265 void initFSAASupport(const GrGLContextInfo& ctxInfo);266 void initStencilFormats(const GrGLContextInfo& ctxInfo);
150 GrGpuGL::GrGpuGL(const GrGLContextInfo& ctxInfo) : fGLContextInfo(ctxInfo) { in GrGpuGL() argument152 GrAssert(ctxInfo.isInitialized()); in GrGpuGL()798 bool renderbuffer_storage_msaa(GrGLContextInfo& ctxInfo, in renderbuffer_storage_msaa() argument802 CLEAR_ERROR_BEFORE_ALLOC(ctxInfo.interface()); in renderbuffer_storage_msaa()803 GrAssert(GrGLCaps::kNone_MSFBOType != ctxInfo.caps().msFBOType()); in renderbuffer_storage_msaa()806 ctxInfo.caps().coverageAAType()) { in renderbuffer_storage_msaa()808 ctxInfo.caps().getMSAACoverageMode(sampleCount); in renderbuffer_storage_msaa()809 GL_ALLOC_CALL(ctxInfo.interface(), in renderbuffer_storage_msaa()815 created = (GR_GL_NO_ERROR == CHECK_ALLOC_ERROR(ctxInfo.interface())); in renderbuffer_storage_msaa()819 sampleCount = GrMin(sampleCount, ctxInfo.caps().maxSampleCount()); in renderbuffer_storage_msaa()[all …]
27 GrGpuGL(const GrGLContextInfo& ctxInfo);
37 GrGLContextInfo ctxInfo(glInterface); in Create() local38 if (ctxInfo.isInitialized()) { in Create()39 return SkNEW_ARGS(GrGpuGL, (ctxInfo)); in Create()