• Home
  • Raw
  • Download

Lines Matching refs:EglExtensions

85 } EglExtensions;  variable
125 if (Properties::useBufferAge && EglExtensions.bufferAge) { in initialize()
142 hasWideColorSpaceExtension = EglExtensions.displayP3; in initialize()
144 hasWideColorSpaceExtension = EglExtensions.scRGB; in initialize()
148 mHasWideColorGamutSupport = EglExtensions.glColorSpace && hasWideColorSpaceExtension; in initialize()
251 EglExtensions.bufferAge = in initExtensions()
253 EglExtensions.setDamage = extensions.has("EGL_KHR_partial_update"); in initExtensions()
257 EglExtensions.glColorSpace = extensions.has("EGL_KHR_gl_colorspace"); in initExtensions()
258 EglExtensions.noConfigContext = extensions.has("EGL_KHR_no_config_context"); in initExtensions()
259 EglExtensions.pixelFormatFloat = extensions.has("EGL_EXT_pixel_format_float"); in initExtensions()
260 EglExtensions.scRGB = extensions.has("EGL_EXT_gl_colorspace_scrgb"); in initExtensions()
261 EglExtensions.displayP3 = extensions.has("EGL_EXT_gl_colorspace_display_p3_passthrough"); in initExtensions()
262 EglExtensions.hdr = extensions.has("EGL_EXT_gl_colorspace_bt2020_pq"); in initExtensions()
263 EglExtensions.contextPriority = extensions.has("EGL_IMG_context_priority"); in initExtensions()
264 EglExtensions.surfacelessContext = extensions.has("EGL_KHR_surfaceless_context"); in initExtensions()
265 EglExtensions.fenceSync = extensions.has("EGL_KHR_fence_sync"); in initExtensions()
266 EglExtensions.waitSync = extensions.has("EGL_KHR_wait_sync"); in initExtensions()
267 EglExtensions.nativeFenceSync = extensions.has("EGL_ANDROID_native_fence_sync"); in initExtensions()
292 if (EglExtensions.pixelFormatFloat) { in loadConfigs()
297 EglExtensions.pixelFormatFloat = false; in loadConfigs()
312 if (Properties::contextPriority != 0 && EglExtensions.contextPriority) { in createContext()
318 mEglDisplay, EglExtensions.noConfigContext ? ((EGLConfig) nullptr) : mEglConfig, in createContext()
328 if (mPBufferSurface == EGL_NO_SURFACE && !EglExtensions.surfacelessContext) { in createPBufferSurface()
343 if (!mHasWideColorGamutSupport || !EglExtensions.noConfigContext) { in createSurface()
379 if (EglExtensions.glColorSpace) { in createSurface()
504 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
516 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
593 if (EglExtensions.waitSync && EglExtensions.nativeFenceSync) { in fenceWait()
637 if (EglExtensions.nativeFenceSync) { in createReleaseFence()
654 } else if (useFenceSync && EglExtensions.fenceSync) { in createReleaseFence()