• Home
  • Raw
  • Download

Lines Matching refs:config

211 EGLint SortConfig::wantedComponentsSize(const Config &config) const  in wantedComponentsSize()
215 if (mWantRed) total += config.mRedSize; in wantedComponentsSize()
216 if (mWantGreen) total += config.mGreenSize; in wantedComponentsSize()
217 if (mWantBlue) total += config.mBlueSize; in wantedComponentsSize()
218 if (mWantAlpha) total += config.mAlphaSize; in wantedComponentsSize()
219 if (mWantLuminance) total += config.mLuminanceSize; in wantedComponentsSize()
287 …Config config(displayMode, minSwapInterval, maxSwapInterval, renderTargetFormat, depthStencilForma… in add() local
289 mSet.insert(config); in add()
302 for (Iterator config = mSet.begin(); config != mSet.end(); config++) in getConfigs() local
311 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
312 …case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; … in getConfigs()
313 …case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; … in getConfigs()
314 …case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; … in getConfigs()
315 …case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; … in getConfigs()
316 …case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; … in getConfigs()
317 …case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; … in getConfigs()
318 …case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == attribute[1]; … in getConfigs()
319 …case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; … in getConfigs()
320 …case EGL_LEVEL: match = config->mLevel >= attribute[1]; … in getConfigs()
321 …case EGL_NATIVE_RENDERABLE: match = config->mNativeRenderable == attribute[1]; … in getConfigs()
322 …case EGL_NATIVE_VISUAL_TYPE: match = config->mNativeVisualType == attribute[1]; … in getConfigs()
323 …case EGL_SAMPLES: match = config->mSamples >= attribute[1]; … in getConfigs()
324 …case EGL_SAMPLE_BUFFERS: match = config->mSampleBuffers >= attribute[1]; … in getConfigs()
325 …case EGL_SURFACE_TYPE: match = (config->mSurfaceType & attribute[1]) == attribute[1];… in getConfigs()
326 …case EGL_TRANSPARENT_TYPE: match = config->mTransparentType == attribute[1]; … in getConfigs()
327 …case EGL_TRANSPARENT_BLUE_VALUE: match = config->mTransparentBlueValue == attribute[1]; … in getConfigs()
328 …case EGL_TRANSPARENT_GREEN_VALUE: match = config->mTransparentGreenValue == attribute[1]; … in getConfigs()
329 …case EGL_TRANSPARENT_RED_VALUE: match = config->mTransparentRedValue == attribute[1]; … in getConfigs()
330 …case EGL_BIND_TO_TEXTURE_RGB: match = config->mBindToTextureRGB == attribute[1]; … in getConfigs()
331 …case EGL_BIND_TO_TEXTURE_RGBA: match = config->mBindToTextureRGBA == attribute[1]; … in getConfigs()
332 …case EGL_MIN_SWAP_INTERVAL: match = config->mMinSwapInterval == attribute[1]; … in getConfigs()
333 …case EGL_MAX_SWAP_INTERVAL: match = config->mMaxSwapInterval == attribute[1]; … in getConfigs()
334 …case EGL_LUMINANCE_SIZE: match = config->mLuminanceSize >= attribute[1]; … in getConfigs()
335 …case EGL_ALPHA_MASK_SIZE: match = config->mAlphaMaskSize >= attribute[1]; … in getConfigs()
336 …case EGL_COLOR_BUFFER_TYPE: match = config->mColorBufferType == attribute[1]; … in getConfigs()
337 …case EGL_RENDERABLE_TYPE: match = (config->mRenderableType & attribute[1]) == attribute[… in getConfigs()
339 …case EGL_CONFORMANT: match = (config->mConformant & attribute[1]) == attribute[1]; … in getConfigs()
354 passed.push_back(&*config); in getConfigs()
380 for (Iterator config = mSet.begin(); config != mSet.end(); config++) in get() local
382 if (config->getHandle() == configHandle) in get()
384 return &(*config); in get()