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

Commit 17290c55 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "Add support for up to 32 buffers per Surface"

parents 7af7376b acd116da
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public:
    // When changing these values, the COMPILE_TIME_ASSERT at the end of this
    // file need to be updated.
    static const unsigned int NUM_LAYERS_MAX  = 31;
    static const unsigned int NUM_BUFFER_MAX  = 16;
    static const unsigned int NUM_BUFFER_MAX  = 32;
    static const unsigned int NUM_BUFFER_MIN  = 2;
    static const unsigned int NUM_DISPLAY_MAX = 4;

@@ -123,7 +123,7 @@ public:

// ----------------------------------------------------------------------------

// 32 KB max
// 64 KB max
class SharedClient
{
public:
@@ -394,7 +394,7 @@ struct surface_flinger_cblk_t // 4KB max

// ---------------------------------------------------------------------------

COMPILE_TIME_ASSERT(sizeof(SharedClient) <= 32768)
COMPILE_TIME_ASSERT(sizeof(SharedClient) <= 65536)
COMPILE_TIME_ASSERT(sizeof(surface_flinger_cblk_t) <= 4096)

// ---------------------------------------------------------------------------