Searched refs:contextAttributes (Results 1 – 1 of 1) sorted by relevance
214 auto contextAttributes = webGLRenderingContext_->CreateWebGlContextAttributes(); in GetFrameBufferAttachmentParameterForDefault() local215 if (contextAttributes == nullptr) { in GetFrameBufferAttachmentParameterForDefault()218 if ((attachment == GL_DEPTH && !contextAttributes->depth_) || in GetFrameBufferAttachmentParameterForDefault()219 (attachment == GL_STENCIL && !contextAttributes->stencil_)) { in GetFrameBufferAttachmentParameterForDefault()237 … GLint value = (attachment == GL_BACK && contextAttributes->alpha_) ? 8 : 0; // 8 ALPHA size in GetFrameBufferAttachmentParameterForDefault()