Properly dispose of EGL resources
Context and Surface should be destroyed before terminating display. Call to eglTerminate caused bad memory access (bug in egl implementation), and shouldn't be necessary so this cl removes that. Also explicitly release vertex arrays in EglProgram. Bug: 346736633 Test: atest virtual_camera_tests CtsVirtualDevicesCameraTestCases CtsVirtualDevicesCameraCtsTestCases Change-Id: Ie5a2555391817de3a5446e25e50c9d85cf32cb65
Loading
Please register or sign in to comment