Lines Matching refs:SwapBehavior
120 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
122 mSwapBehavior = SwapBehavior::Preserved; in initialize()
182 (mSwapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadConfigs()
206 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
209 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
331 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
393 case SwapBehavior::Discard: in queryBufferAge()
395 case SwapBehavior::Preserved: in queryBufferAge()
397 case SwapBehavior::BufferAge: in queryBufferAge()
419 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
431 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
468 if (mSwapBehavior != SwapBehavior::Preserved) return false; in setPreserveBuffer()