void RendererGL::ensureCapsInitialized() const { if (!mCapsInitialized) { generateCaps(&mNativeCaps, &mNativeTextureCaps, &mNativeExtensions, &mNativeLimitations); mCapsInitialized = true; } }
void Renderer::ensureCapsInitialized() const { if (!mCapsInitialized) { generateCaps(&mCaps, &mTextureCaps, &mExtensions, &mLimitations); mCapsInitialized = true; } }
const gl::Extensions &Renderer::getRendererExtensions() const { if (!mCapsInitialized) { generateCaps(&mCaps, &mTextureCaps, &mExtensions); mCapsInitialized = true; } return mExtensions; }
const egl::Caps &DisplayImpl::getCaps() const { if (!mCapsInitialized) { generateCaps(&mCaps); mCapsInitialized = true; } return mCaps; }