Lines Matching refs:SwapBehavior
124 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
126 mSwapBehavior = SwapBehavior::Preserved; in initialize()
150 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig()
152 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
180 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config()
182 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
243 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
246 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
351 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
413 case SwapBehavior::Discard: in queryBufferAge()
415 case SwapBehavior::Preserved: in queryBufferAge()
417 case SwapBehavior::BufferAge: in queryBufferAge()
439 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
451 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
488 if (mSwapBehavior != SwapBehavior::Preserved) return false; in setPreserveBuffer()