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

Commit 5868a0de authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Adjust IMapperMetadataTypes.h to match gralloc4 encoding"

parents 1d5ba7f2 fc21e8b3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -61,6 +61,10 @@ cc_test {
    srcs: [
        "implutils/impltests.cpp",
    ],
    shared_libs: [
        "libgralloctypes",
        "libhidlbase",
    ],
    visibility: [":__subpackages__"],
    cpp_std: "experimental",
}
+290 −70

File changed.

Preview size limit exceeded, changes collapsed.

+86 −39

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ class GraphicsTestsBase {
            sizeRequired = mapper()->v5.getStandardMetadata(bufferHandle, static_cast<int64_t>(T),
                                                            buffer.data(), buffer.size());
        }
        if (sizeRequired < 0 || sizeRequired >= buffer.size()) {
        if (sizeRequired < 0 || sizeRequired > buffer.size()) {
            ADD_FAILURE() << "getStandardMetadata failed, received " << sizeRequired
                          << " with buffer size " << buffer.size();
            // Generate a fail type