Note: This reproduces on Android phones, but customer is using a Quest 2, which is built on Android.
Steps to reproduce:
1. Open the attached user's project "SurfaceViewDemo.rar"
2. Build each apk using Oculus XR Plugin and OpenXR Plugin
3. Run them on Oculus Quest 2
4. Open CMD window and use command "adb shell dumpsys SurfaceFlinger | findstr GraphicBufferProducers" to see GraphicBufferProducers count after turning the screen on/off
5. Observe the GraphicBufferProducers count increase when turning the screen off/on
Expected results: GraphicBufferProducers count does not increase after screen is turned on and off
Actual results: GraphicBufferProducers count always increases after screen is turned on and off
Reproducible on: OculusXR 3.0.0-pre.2 - 3.0.2 (2020.3.37f1, 2021.3.6f1, 2022.1.9f1, 2022.2.0b2, 2023.1.0a4)
Reproducible with:
N/A, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Notes:
-Customer reported that this does not reproduce with OpenXR plugin, however the GraphicBufferProducers count increased in my case every time the screen was turned off and on
-Reproducible with OpenXR and OculusXR plugins, however OpenXR reproduces this only on 2021.3.x stream