blob: 2d9d086dd238992d87b40538ec70488765bae316 [file] [log] [blame]
Pierre-Hugues Husson17486262020-05-25 10:12:24 +00001/*
2 * Copyright 2020 The LineageOS Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef TARGET_PROVIDES_UDFPS_LIB
18#include <compositionengine/UdfpsExtension.h>
19
20uint32_t getUdfpsZOrder(uint32_t z, __unused bool touched) {
21 return z;
22}
23
24uint64_t getUdfpsUsageBits(uint64_t usageBits, __unused bool touched) {
25 return usageBits;
26}
27#endif