Hi all,
After we use ANativeWindow_fromSurface to get one ANativeWindow from one GLSurfaceView, if we use native_window_set_buffer_count to set buffer count of ANativeWindow , i will be failed.
If ANativeWindow get from one SurfaceView not GLSurfaceView, native_window_set_buffer_count will be used successfully.
What is differenct between GLSurfaceView and SurfaceView? Why buffer count setting for ANativeWindow from GLSurfaceView is failed?
regards,
guangx