Home
last modified time | relevance | path

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

12

/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/3.0/utils/vts/
DMapperVts.cpp28 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V3_0::vts::Gralloc
37 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
46 void Gralloc::initNoErr(const std::string& allocatorServiceName, in initNoErr()
56 Gralloc::~Gralloc() { in ~Gralloc()
71 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
75 std::string Gralloc::dumpDebugInfo() { in dumpDebugInfo()
82 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
93 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
128 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
143 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/4.0/utils/vts/
DMapperVts.cpp30 Gralloc::Gralloc(const std::string& aidlAllocatorServiceName, in Gralloc() function in android::hardware::graphics::mapper::V4_0::vts::Gralloc
40 void Gralloc::init(const std::string& aidlAllocatorServiceName, in init()
57 void Gralloc::initNoErr(const std::string& aidlAllocatorServiceName, in initNoErr()
73 Gralloc::~Gralloc() { in ~Gralloc()
88 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle, in cloneBuffer()
100 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
144 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
159 void Gralloc::rawAllocate( in rawAllocate()
176 sp<IMapper> Gralloc::getMapper() const { in getMapper()
180 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
DAndroidHardwareBuffer.h34 gfxstream::Gralloc* grallocHelper, const AHardwareBuffer* buffer,
37 VkResult getMemoryAndroidHardwareBufferANDROID(gfxstream::Gralloc* grallocHelper,
40 VkResult importAndroidHardwareBuffer(gfxstream::Gralloc* grallocHelper,
44 VkResult createAndroidHardwareBuffer(gfxstream::Gralloc* grallocHelper, bool hasDedicatedImage,
DAndroidHardwareBuffer.cpp67 gfxstream::Gralloc* grallocHelper, const AHardwareBuffer* buffer, in getAndroidHardwareBufferPropertiesANDROID()
241 VkResult getMemoryAndroidHardwareBufferANDROID(gfxstream::Gralloc* gralloc, in getMemoryAndroidHardwareBufferANDROID()
261 VkResult importAndroidHardwareBuffer(gfxstream::Gralloc* grallocHelper, in importAndroidHardwareBuffer()
282 VkResult createAndroidHardwareBuffer(gfxstream::Gralloc* gralloc, bool hasDedicatedImage, in createAndroidHardwareBuffer()
/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/google/gfxstream/guest/android/include/gfxstream/guest/
DANativeWindow.h50 virtual int getFormat(EGLClientBuffer buffer, Gralloc* helper) = 0;
51 virtual int getHostHandle(EGLClientBuffer buffer, Gralloc* helper) = 0;
59 virtual EGLNativeWindowType createNativeWindowForTesting(Gralloc* /*gralloc*/, in createNativeWindowForTesting() argument
DGralloc.h57 class Gralloc {
59 virtual ~Gralloc() {} in ~Gralloc()
100 Gralloc* createPlatformGralloc(int deviceFd = -1);
/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/google/gfxstream/guest/android/
DANativeWindowEmulated.h81 int getFormat(EGLClientBuffer buffer, Gralloc* helper) override;
89 int getHostHandle(EGLClientBuffer buffer, Gralloc*) override;
91 EGLNativeWindowType createNativeWindowForTesting(Gralloc* gralloc, uint32_t width,
DANativeWindowAndroid.h46 int getFormat(EGLClientBuffer buffer, Gralloc* helper);
54 int getHostHandle(EGLClientBuffer buffer, Gralloc* helper);
DANativeWindowEmulated.cpp142 int EmulatedANativeWindowHelper::getFormat(EGLClientBuffer buffer, Gralloc* helper) { in getFormat()
172 int EmulatedANativeWindowHelper::getHostHandle(EGLClientBuffer buffer, Gralloc*) { in getHostHandle() argument
177 EGLNativeWindowType EmulatedANativeWindowHelper::createNativeWindowForTesting(Gralloc* gralloc, in createNativeWindowForTesting()
DGrallocStub.cpp19 Gralloc* createPlatformGralloc(int) { return nullptr; } in createPlatformGralloc()
DGralloc.cpp27 Gralloc* createPlatformGralloc(int deviceFd) { in createPlatformGralloc()
DANativeWindowAndroid.cpp150 int ANativeWindowHelperAndroid::getFormat(EGLClientBuffer buffer, Gralloc* gralloc) { in getFormat()
211 int ANativeWindowHelperAndroid::getHostHandle(EGLClientBuffer buffer, Gralloc* gralloc) { in getHostHandle()
DGrallocGoldfish.h21 class GoldfishGralloc : public Gralloc {
DGrallocMinigbm.h21 class MinigbmGralloc : public 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/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h40 class Gralloc {
52 Gralloc(const std::string& aidlAllocatorServiceName =
56 ~Gralloc();
/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/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp45 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
58 std::unique_ptr<Gralloc> mGralloc;
207 std::unique_ptr<Gralloc> anotherGralloc; in TEST_P()
208 ASSERT_NO_FATAL_FAILURE(anotherGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in TEST_P()
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp43 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
56 std::unique_ptr<Gralloc> mGralloc;
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DHostConnection.h141 gfxstream::Gralloc* grallocHelper() { return m_grallocHelper.get(); } in grallocHelper()
222 std::unique_ptr<gfxstream::Gralloc> m_grallocHelper;
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.h392 static GlExpected<ScopedAHardwareBuffer> Allocate(Gralloc& gralloc, uint32_t width,
437 ScopedAHardwareBuffer(Gralloc& gralloc, AHardwareBuffer* handle) in ScopedAHardwareBuffer()
440 Gralloc* mGralloc = nullptr;
536 std::unique_ptr<Gralloc> mGralloc;

12