Home
last modified time | relevance | path

Searched refs:Gralloc (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp44 Gralloc::Gralloc(bool errOnFailure) : V2_0::vts::Gralloc() { in Gralloc() function in android::hardware::graphics::mapper::V2_1::vts::Gralloc
51 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V2_1::vts::Gralloc
53 : V2_0::vts::Gralloc(allocatorServiceName, mapperServiceName) { in Gralloc()
60 void Gralloc::init(bool errOnFailure) { in init()
61 mMapperV2_1 = IMapper::castFrom(V2_0::vts::Gralloc::getMapper()); in init()
65 sp<IMapper> Gralloc::getMapper() const { in getMapper()
69 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
78 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
95 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
106 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
[all …]
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp27 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V4_0::vts::Gralloc
36 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
45 void Gralloc::initNoErr(const std::string& allocatorServiceName, in initNoErr()
55 Gralloc::~Gralloc() { in ~Gralloc()
70 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
74 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle, in cloneBuffer()
86 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
127 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
146 sp<IMapper> Gralloc::getMapper() const { in getMapper()
150 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
[all …]
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp26 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V3_0::vts::Gralloc
35 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
44 void Gralloc::initNoErr(const std::string& allocatorServiceName, in initNoErr()
54 Gralloc::~Gralloc() { in ~Gralloc()
69 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
73 std::string Gralloc::dumpDebugInfo() { in dumpDebugInfo()
80 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
91 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
122 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
137 sp<IMapper> Gralloc::getMapper() const { in getMapper()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp26 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in Gralloc() function in android::hardware::graphics::mapper::V2_0::vts::Gralloc
30 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
39 Gralloc::~Gralloc() { in ~Gralloc()
54 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
58 std::string Gralloc::dumpDebugInfo() { in dumpDebugInfo()
65 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
76 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
107 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
122 sp<IMapper> Gralloc::getMapper() const { in getMapper()
126 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
[all …]
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
DMapperVts.h33 class Gralloc : public V2_0::vts::Gralloc {
35 Gralloc(bool errOnFailure = true);
36 Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName,
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h47 using Gralloc2 = android::hardware::graphics::mapper::V2_0::vts::Gralloc;
48 using Gralloc2_1 = android::hardware::graphics::mapper::V2_1::vts::Gralloc;
49 using Gralloc3 = android::hardware::graphics::mapper::V3_0::vts::Gralloc;
50 using Gralloc4 = android::hardware::graphics::mapper::V4_0::vts::Gralloc;
94 class Gralloc : public V2_1::vts::Gralloc {
98 Gralloc();
102 return V2_1::vts::Gralloc::allocate(
DReadbackVts.h42 using Gralloc2_1 = mapper::V2_1::vts::Gralloc;
116 const std::shared_ptr<ComposerClient>& client, const std::shared_ptr<Gralloc>& gralloc,
143 std::shared_ptr<Gralloc> mGralloc;
146 std::unique_ptr<Gralloc::NativeHandleWrapper> mBufferHandle;
183 const std::shared_ptr<Gralloc>& gralloc, uint32_t width, uint32_t height,
198 std::unique_ptr<Gralloc::NativeHandleWrapper> mBufferHandle = nullptr;
202 std::shared_ptr<Gralloc> mGralloc;
DRenderEngineVts.h40 using vts::Gralloc;
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h49 using Gralloc2 = android::hardware::graphics::mapper::V2_0::vts::Gralloc;
50 using Gralloc3 = android::hardware::graphics::mapper::V3_0::vts::Gralloc;
51 using Gralloc4 = android::hardware::graphics::mapper::V4_0::vts::Gralloc;
139 class Gralloc; variable
144 NativeHandleWrapper(Gralloc& gralloc, const native_handle_t* handle) in NativeHandleWrapper()
152 Gralloc& mGralloc;
156 class Gralloc {
158 explicit Gralloc();
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h38 class Gralloc {
40 Gralloc(const std::string& allocatorServiceName = "default",
42 ~Gralloc();
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h38 class Gralloc {
40 Gralloc(const std::string& allocatorServiceName = "default",
42 ~Gralloc();
/hardware/google/gchips/gralloc3/
Dgralloc.version.mk41 …$(error Gralloc version $(GRALLOC_API_VERSION) is not valid. Valid versions are $(GRALLOC_VALID_VE…
70 $(error Gralloc 2.x is not supported on platform SDK version $(PLATFORM_SDK_VERSION))
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h38 class Gralloc {
50 Gralloc(const std::string& allocatorServiceName = "default",
52 ~Gralloc();
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp317 Gralloc::Gralloc() { in Gralloc() function in android::hardware::graphics::composer::V2_1::vts::Gralloc
333 const NativeHandleWrapper Gralloc::allocate(uint32_t width, uint32_t height, uint32_t layerCount, in allocate()
365 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
394 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
404 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp182 Gralloc::Gralloc() { in Gralloc() function in android::hardware::graphics::composer::V2_2::vts::Gralloc
206 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, uint32_t width, in validateBufferSize()
DReadbackVts.cpp189 const std::shared_ptr<Gralloc>& gralloc, uint32_t width, in ReadbackBuffer()
212 mBufferHandle.reset(new Gralloc::NativeHandleWrapper( in setReadbackBuffer()
253 const std::shared_ptr<Gralloc>& gralloc, in TestBufferLayer()
317 mBufferHandle.reset(new Gralloc::NativeHandleWrapper( in setBuffer()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp44 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
57 std::unique_ptr<Gralloc> mGralloc;
206 std::unique_ptr<Gralloc> anotherGralloc; in TEST_P()
207 ASSERT_NO_FATAL_FAILURE(anotherGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in TEST_P()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp144 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
168 std::unique_ptr<Gralloc> mGralloc;
440 std::unique_ptr<Gralloc> gralloc; in TEST_P()
442 ASSERT_NO_FATAL_FAILURE(gralloc = std::make_unique<Gralloc>()); in TEST_P()
463 std::unique_ptr<Gralloc> gralloc; in TEST_P()
465 ASSERT_NO_FATAL_FAILURE(gralloc = std::make_unique<Gralloc>()); in TEST_P()
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp50 using vts::Gralloc;
82 mGralloc = std::make_shared<Gralloc>(); in SetUpBase()
147 std::shared_ptr<Gralloc> mGralloc;
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp44 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
57 std::unique_ptr<Gralloc> mGralloc;
206 std::unique_ptr<Gralloc> anotherGralloc; in TEST_P()
207 ASSERT_NO_FATAL_FAILURE(anotherGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in TEST_P()
/hardware/interfaces/automotive/evs/1.0/
Dtypes.hal86 /* May contain values from Gralloc.h */
92 /* Gralloc memory buffer handle */
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp46 using V2_2::vts::Gralloc;
131 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
148 std::unique_ptr<Gralloc> mGralloc;
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DVtsHalGraphicsComposerV2_4TargetTest.cpp56 using V2_2::vts::Gralloc;
106 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
258 std::unique_ptr<Gralloc> mGralloc;
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp654 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
684 std::unique_ptr<Gralloc> mGralloc;
/hardware/interfaces/graphics/mapper/4.0/
DIMapper.hal335 * Gralloc 4 adds support for getting and setting buffer metadata on a buffer.