Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f4bedbf authored by Andreas Huber's avatar Andreas Huber
Browse files

Leave the number of output buffers up to surface flinger and friends.

Change-Id: Iebb90f45793793aeb08d1cf9706e29a7cefae792
parent c0dfc5b0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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(),