Home | History | Annotate | Download | only in gl

Lines Matching refs:caps

215     CapsInternals* caps = this->capsInternals();
223 caps->f8BitPaletteSupport = true;
232 caps->fTwoSidedStencilSupport = (this->glVersion() >= GR_GL_VER(2,0));
234 caps->fStencilWrapOpsSupport = (this->glVersion() >= GR_GL_VER(1,4)) ||
238 caps->fTwoSidedStencilSupport = true;
239 caps->fStencilWrapOpsSupport = true;
243 caps->fBufferLockSupport = true; // we require VBO support and the desktop VBO
246 caps->fBufferLockSupport = this->hasExtension("GL_OES_mapbuffer");
252 caps->fNPOTTextureTileSupport = true;
254 caps->fNPOTTextureTileSupport = false;
258 caps->fNPOTTextureTileSupport = this->hasExtension("GL_OES_texture_npot");
261 caps->fHWAALineSupport = (kDesktop_GrGLBinding == this->glBinding());
263 GR_GL_GetIntegerv(gl, GR_GL_MAX_TEXTURE_SIZE, &caps->fMaxTextureSize);
264 GR_GL_GetIntegerv(gl, GR_GL_MAX_RENDERBUFFER_SIZE, &caps->fMaxRenderTargetSize);
267 caps->fMaxRenderTargetSize = GrMin(caps->fMaxTextureSize, caps->fMaxRenderTargetSize);
269 caps->fFSAASupport = GrGLCaps::kNone_MSFBOType != this->glCaps().msFBOType();
270 caps->fPathStencilingSupport = GR_GL_USE_NV_PATH_RENDERING &&
273 // Enable supported shader-related caps
275 caps->fDualSourceBlendingSupport =
278 caps->fShaderDerivativeSupport = true;
280 caps->fGeometryShaderSupport =
284 caps->fShaderDerivativeSupport =
803 GrAssert(GrGLCaps::kNone_MSFBOType != ctxInfo.caps().msFBOType());
806 ctxInfo.caps().coverageAAType()) {
808 ctxInfo.caps().getMSAACoverageMode(sampleCount);
819 sampleCount = GrMin(sampleCount, ctxInfo.caps().maxSampleCount());
891 fGLContextInfo.caps().markConfigAsValidColorAttachment(
906 fGLContextInfo.caps().markConfigAsValidColorAttachment(desc->fConfig);
961 const Caps& caps = this->getCaps();
976 if (glTexDesc.fWidth > caps.maxRenderTargetSize() ||
977 glTexDesc.fHeight > caps.maxRenderTargetSize()) {
1193 fGLContextInfo.caps().markColorConfigAndStencilFormatAsVerified(