Lines Matching refs:match
363 bool match = true; in getConfigs() local
373 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
374 …case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; … in getConfigs()
375 …case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; … in getConfigs()
376 …case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; … in getConfigs()
377 …case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; … in getConfigs()
378 …case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; … in getConfigs()
379 …case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; … in getConfigs()
380 …case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == (EGLenum)attribute[1]; … in getConfigs()
381 …case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; … in getConfigs()
382 …case EGL_LEVEL: match = config->mLevel >= attribute[1]; … in getConfigs()
383 …case EGL_NATIVE_RENDERABLE: match = config->mNativeRenderable == (EGLBoolean)attribute[1]… in getConfigs()
384 …case EGL_NATIVE_VISUAL_ID: match = config->mNativeVisualID == attribute[1]; … in getConfigs()
385 …case EGL_NATIVE_VISUAL_TYPE: match = config->mNativeVisualType == attribute[1]; … in getConfigs()
386 …case EGL_SAMPLES: match = config->mSamples >= attribute[1]; … in getConfigs()
387 …case EGL_SAMPLE_BUFFERS: match = config->mSampleBuffers >= attribute[1]; … in getConfigs()
388 …case EGL_SURFACE_TYPE: match = (config->mSurfaceType & attribute[1]) == attribute[1]… in getConfigs()
389 …case EGL_TRANSPARENT_TYPE: match = config->mTransparentType == (EGLenum)attribute[1]; … in getConfigs()
390 …case EGL_TRANSPARENT_BLUE_VALUE: match = config->mTransparentBlueValue == attribute[1]; … in getConfigs()
391 …case EGL_TRANSPARENT_GREEN_VALUE: match = config->mTransparentGreenValue == attribute[1]; … in getConfigs()
392 …case EGL_TRANSPARENT_RED_VALUE: match = config->mTransparentRedValue == attribute[1]; … in getConfigs()
393 …case EGL_BIND_TO_TEXTURE_RGB: match = config->mBindToTextureRGB == (EGLBoolean)attribute[1]… in getConfigs()
394 …case EGL_BIND_TO_TEXTURE_RGBA: match = config->mBindToTextureRGBA == (EGLBoolean)attribute[1… in getConfigs()
395 …case EGL_MIN_SWAP_INTERVAL: match = config->mMinSwapInterval == attribute[1]; … in getConfigs()
396 …case EGL_MAX_SWAP_INTERVAL: match = config->mMaxSwapInterval == attribute[1]; … in getConfigs()
397 …case EGL_LUMINANCE_SIZE: match = config->mLuminanceSize >= attribute[1]; … in getConfigs()
398 …case EGL_ALPHA_MASK_SIZE: match = config->mAlphaMaskSize >= attribute[1]; … in getConfigs()
399 …case EGL_COLOR_BUFFER_TYPE: match = config->mColorBufferType == (EGLenum)attribute[1]; … in getConfigs()
400 …case EGL_RENDERABLE_TYPE: match = (config->mRenderableType & attribute[1]) == attribute… in getConfigs()
401 …case EGL_MATCH_NATIVE_PIXMAP: match = false; UNIMPLEMENTED(); … in getConfigs()
402 …case EGL_CONFORMANT: match = (config->mConformant & attribute[1]) == attribute[1];… in getConfigs()
403 …case EGL_MAX_PBUFFER_WIDTH: match = config->mMaxPBufferWidth >= attribute[1]; … in getConfigs()
404 …case EGL_MAX_PBUFFER_HEIGHT: match = config->mMaxPBufferHeight >= attribute[1]; … in getConfigs()
405 …case EGL_MAX_PBUFFER_PIXELS: match = config->mMaxPBufferPixels >= attribute[1]; … in getConfigs()
406 …case EGL_RECORDABLE_ANDROID: match = config->mRecordableAndroid == (EGLBoolean)attribute[1… in getConfigs()
407 …case EGL_FRAMEBUFFER_TARGET_ANDROID: match = config->mFramebufferTargetAndroid == (EGLBoolean)attr… in getConfigs()
413 if(!match) in getConfigs()
421 caveatMatch = match; in getConfigs()
427 if(match && caveatMatch) // We require the caveats to be NONE or the requested flags in getConfigs()