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

Commit 4b5e5551 authored by John Reck's avatar John Reck
Browse files

Be quiet

Fixes: 131863240
Test: logcat
Change-Id: I0276082b949f9521a804a4c1ef8af2148b69621b
parent 9f514dbb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -166,8 +166,6 @@ static void setBufferCount(ANativeWindow* window, uint32_t extraBuffers) {
    auto min_undequeued_buffers = static_cast<uint32_t>(query_value);

    int bufferCount = min_undequeued_buffers + 2 + extraBuffers;
    ALOGD("Setting buffer count to %d, min_undequeued %u, extraBuffers %u",
            bufferCount, min_undequeued_buffers, extraBuffers);
    native_window_set_buffer_count(window, bufferCount);
}

+0 −3
Original line number Diff line number Diff line
@@ -235,8 +235,6 @@ bool EglManager::hasEglContext() {
}

void EglManager::loadConfigs() {
    ALOGD("Swap behavior %d", static_cast<int>(mSwapBehavior));

    // Note: The default pixel format is RGBA_8888, when other formats are
    // available, we should check the target pixel format and configure the
    // attributes list properly.
@@ -246,7 +244,6 @@ void EglManager::loadConfigs() {
            // Try again without dirty regions enabled
            ALOGW("Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...");
            mSwapBehavior = SwapBehavior::Discard;
            ALOGD("Swap behavior %d", static_cast<int>(mSwapBehavior));
            mEglConfig = load8BitsConfig(mEglDisplay, mSwapBehavior);
        } else {
            // Failed to get a valid config