Lines Matching refs:SwapBehavior
126 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
128 mSwapBehavior = SwapBehavior::Preserved; in initialize()
154 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig()
156 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
184 EGLConfig EglManager::load1010102Config(EGLDisplay display, SwapBehavior swapBehavior) { in load1010102Config()
186 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load1010102Config()
213 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config()
215 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
280 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
283 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
416 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
478 case SwapBehavior::Discard: in queryBufferAge()
480 case SwapBehavior::Preserved: in queryBufferAge()
482 case SwapBehavior::BufferAge: in queryBufferAge()
504 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
516 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
553 if (mSwapBehavior != SwapBehavior::Preserved) return false; in setPreserveBuffer()