Searched refs:formatCaps (Results 1 – 4 of 4) sorted by relevance
407 const TextureCaps &formatCaps = mRenderer->getRendererTextureCaps().get(internalformat); in completeness() local411 if (!formatCaps.renderable) in completeness()423 … if (!formatCaps.renderable || formatInfo.depthBits > 0 || formatInfo.stencilBits > 0) in completeness()487 const TextureCaps &formatCaps = mRenderer->getRendererTextureCaps().get(internalformat); in completeness() local498 if (!formatCaps.renderable) in completeness()510 if (!formatCaps.renderable || formatInfo.depthBits == 0) in completeness()542 const TextureCaps &formatCaps = mRenderer->getRendererTextureCaps().get(internalformat); in completeness() local554 if (!formatCaps.renderable) in completeness()566 if (!formatCaps.renderable || formatInfo.stencilBits == 0) in completeness()
2261 TextureCaps formatCaps = i->second; in initCaps() local2264 if (formatCaps.texturable && formatInfo.textureSupport(clientVersion, mExtensions)) in initCaps()2267 formatCaps.renderable = formatInfo.renderSupport(clientVersion, mExtensions); in initCaps()2268 formatCaps.filterable = formatInfo.filterSupport(clientVersion, mExtensions); in initCaps()2273 formatCaps.sampleCounts.clear(); in initCaps()2275 maxSamples = std::max(maxSamples, formatCaps.getMaxSamples()); in initCaps()2282 mTextureCaps.insert(format, formatCaps); in initCaps()
330 const TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in ValidateRenderbufferStorageParameters() local331 if (!formatCaps.renderable) in ValidateRenderbufferStorageParameters()357 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateRenderbufferStorageParameters()365 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples()) in ValidateRenderbufferStorageParameters()
1651 const gl::TextureCaps &formatCaps = context->getTextureCaps().get(internalFormat); in glGenerateMipmap() local1666 if (formatInfo.depthBits > 0 || formatInfo.stencilBits > 0 || !formatCaps.filterable || in glGenerateMipmap()1667 (!formatCaps.renderable && !isLUMA) || formatInfo.compressed) in glGenerateMipmap()8218 const gl::TextureCaps &formatCaps = context->getTextureCaps().get(internalformat); in glGetInternalformativ() local8219 if (!formatCaps.renderable) in glGetInternalformativ()8242 *params = formatCaps.sampleCounts.size(); in glGetInternalformativ()8247 …std::copy_n(formatCaps.sampleCounts.rbegin(), std::min<size_t>(bufSize, formatCaps.sampleCounts.si… in glGetInternalformativ()