Leave the number of output buffers up to surface flinger and friends.
Change-Id: Iebb90f45793793aeb08d1cf9706e29a7cefae792
This commit is contained in:
@@ -77,8 +77,6 @@ SoftwareRenderer::SoftwareRenderer(
|
||||
GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN
|
||||
| GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP));
|
||||
|
||||
CHECK_EQ(0, native_window_set_buffer_count(mNativeWindow.get(), 2));
|
||||
|
||||
// Width must be multiple of 32???
|
||||
CHECK_EQ(0, native_window_set_buffers_geometry(
|
||||
mNativeWindow.get(),
|
||||
|
||||
Reference in New Issue
Block a user