mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 23:07:49 +00:00
Add get and set functions that allow buffer metadata to be set on the buffer. This patch has been reviewed by vendors on AOSP. It is a combination of the following patches. They have been squashed (and updated) to make them easier to review. Two of the patches are proposals by ARM that have been incorporated into this patch. https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1107574 https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1109946 https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1124857 https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1126861 Bug: 141632767, 141631993 Test: VtsHalGraphicsMapperV4_0TargetTest Change-Id: I0e79d73a7687f2f5b51828a7454888e6d8ff9460
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
//
|
|
// Copyright (C) 2019 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
cc_library_static {
|
|
name: "android.hardware.graphics.mapper@4.0-vts",
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
|
srcs: ["MapperVts.cpp"],
|
|
cflags: [
|
|
"-O0",
|
|
"-g",
|
|
],
|
|
static_libs: [
|
|
"android.hardware.graphics.allocator@4.0",
|
|
"android.hardware.graphics.mapper@4.0",
|
|
],
|
|
shared_libs: [
|
|
"libgralloctypes",
|
|
],
|
|
export_static_lib_headers: [
|
|
"android.hardware.graphics.allocator@4.0",
|
|
"android.hardware.graphics.mapper@4.0",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
}
|