replace common qcom sources with samsung ones
This commit is contained in:
30
qcom/opensource/display-intf/snapalloc/ISnapAlloc.h
Normal file
30
qcom/opensource/display-intf/snapalloc/ISnapAlloc.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "AllocationResult.h"
|
||||
#include "BufferDescriptor.h"
|
||||
#include "Error.h"
|
||||
|
||||
namespace vendor {
|
||||
namespace qti {
|
||||
namespace hardware {
|
||||
namespace display {
|
||||
namespace snapalloc {
|
||||
|
||||
class ISnapAlloc {
|
||||
public:
|
||||
virtual ~ISnapAlloc() {}
|
||||
virtual Error Allocate(const BufferDescriptor &in_descriptor, int in_count,
|
||||
AllocationResult *allocation_result) = 0;
|
||||
virtual Error IsSupported(const BufferDescriptor &in_descriptor, bool *is_supported) = 0;
|
||||
};
|
||||
|
||||
} // namespace snapalloc
|
||||
} // namespace display
|
||||
} // namespace hardware
|
||||
} // namespace qti
|
||||
} // namespace vendor
|
Reference in New Issue
Block a user