/aosp12/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 86 uint32_t width, uint32_t height, uint32_t layerCount, in importBuffer() argument 187 android::PixelFormat format, uint32_t layerCount, in isSupported() argument 189 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported() 308 return mMapper->getDefaultPixelFormatFourCC(width, height, format, layerCount, usage, in getDefaultPixelFormatFourCC() 316 return mMapper->getDefaultPixelFormatModifier(width, height, format, layerCount, usage, in getDefaultPixelFormatModifier() 324 return mMapper->getDefaultAllocationSize(width, height, format, layerCount, usage, in getDefaultAllocationSize() 332 return mMapper->getDefaultProtectedContent(width, height, format, layerCount, usage, in getDefaultProtectedContent() 356 PixelFormat format, uint32_t layerCount, in getDefaultInterlaced() argument 364 return mMapper->getDefaultChromaSiting(width, height, format, layerCount, usage, in getDefaultChromaSiting() 372 return mMapper->getDefaultChromaSiting(width, height, format, layerCount, usage, in getDefaultChromaSiting() [all …]
|
H A D | GraphicBufferAllocator.cpp | 96 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump() 112 uint32_t layerCount, uint64_t usage, in allocateHelper() argument 126 width, height, layerCount, format, usage); in allocateHelper() 131 if (layerCount < 1) { in allocateHelper() 132 layerCount = 1; in allocateHelper() 138 status_t error = mAllocator->allocate(requestorName, width, height, format, layerCount, usage, in allocateHelper() 143 width, height, layerCount, format, usage, error); in allocateHelper() 168 rec.layerCount = layerCount; in allocateHelper() 177 uint32_t layerCount, uint64_t usage, in allocate() argument 185 PixelFormat format, uint32_t layerCount, in allocateRawHandle() argument [all …]
|
H A D | Gralloc4.cpp | 78 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo() 166 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument 407 uint32_t layerCount, uint64_t usage, in isSupported() argument 639 uint32_t layerCount, uint64_t usage, in getDefault() argument 675 return getDefault(width, height, format, layerCount, usage, in getDefaultPixelFormatFourCC() 684 return getDefault(width, height, format, layerCount, usage, in getDefaultPixelFormatModifier() 693 return getDefault(width, height, format, layerCount, usage, in getDefaultAllocationSize() 702 return getDefault(width, height, format, layerCount, usage, in getDefaultProtectedContent() 733 uint32_t layerCount, uint64_t usage, in getDefaultInterlaced() argument 840 uint64_t layerCount; in bufferDumpHelper() local [all …]
|
H A D | Gralloc3.cpp | 64 android::PixelFormat format, uint32_t layerCount, in sBufferDescriptorInfo() argument 69 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo() 156 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument 159 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize() 314 uint32_t layerCount, uint64_t usage, in isSupported() argument 317 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in isSupported() 336 ALOGE("isSupported(%u, %u, %d, %u, ...) failed with %d", width, height, format, layerCount, in isSupported() 364 android::PixelFormat format, uint32_t layerCount, in allocate() argument 368 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()
|
H A D | GraphicBuffer.cpp | 73 layerCount = 0; in GraphicBuffer() 156 inLayerCount == layerCount && in reallocate() 174 if (inLayerCount != layerCount) return true; in needsReallocation() 195 layerCount = inLayerCount; in initWithSize() 213 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle() 377 buf[5] = static_cast<int32_t>(layerCount); in flatten() 440 layerCount = 0; in unflatten() 463 layerCount = static_cast<uintptr_t>(buf[5]); in unflatten() 474 layerCount = 0; in unflatten() 485 layerCount = 0; in unflatten() [all …]
|
H A D | Gralloc2.cpp | 145 descriptorInfo->layerCount, in createDescriptor() 183 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument 192 descriptorInfo.layerCount = layerCount; in validateBufferSize() 377 PixelFormat format, uint32_t layerCount, uint64_t usage, in allocate() argument 383 descriptorInfo.layerCount = layerCount; in allocate()
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | GraphicBufferMapper.h | 58 uint32_t width, uint32_t height, uint32_t layerCount, 90 uint32_t layerCount, uint64_t usage, bool* outSupported); 136 uint32_t layerCount, uint64_t usage, 139 uint32_t layerCount, uint64_t usage, 142 uint32_t layerCount, uint64_t usage, 145 uint32_t layerCount, uint64_t usage, 148 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, 152 uint32_t layerCount, uint64_t usage, 159 uint32_t layerCount, uint64_t usage, 166 uint32_t layerCount, uint64_t usage, [all …]
|
H A D | Gralloc4.h | 113 uint32_t layerCount, uint64_t usage, 116 uint32_t layerCount, uint64_t usage, 119 uint32_t layerCount, uint64_t usage, 122 uint32_t layerCount, uint64_t usage, 125 uint32_t layerCount, uint64_t usage, 129 uint32_t layerCount, uint64_t usage, 132 uint32_t layerCount, uint64_t usage, 136 uint32_t layerCount, uint64_t usage, 139 uint32_t layerCount, uint64_t usage, 143 uint32_t layerCount, uint64_t usage, [all …]
|
H A D | GraphicBufferAllocator.h | 50 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount, 61 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount, 69 uint32_t layerCount, uint64_t usage, 86 uint32_t layerCount; member 92 status_t allocateHelper(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
|
H A D | Gralloc3.h | 48 android::PixelFormat format, uint32_t layerCount, uint64_t usage, 64 uint32_t layerCount, uint64_t usage, bool* outSupported) const override; 85 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
|
/aosp12/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | GraphicBufferMapper.h | 58 uint32_t width, uint32_t height, uint32_t layerCount, 90 uint32_t layerCount, uint64_t usage, bool* outSupported); 136 uint32_t layerCount, uint64_t usage, 139 uint32_t layerCount, uint64_t usage, 142 uint32_t layerCount, uint64_t usage, 145 uint32_t layerCount, uint64_t usage, 148 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, 152 uint32_t layerCount, uint64_t usage, 159 uint32_t layerCount, uint64_t usage, 166 uint32_t layerCount, uint64_t usage, [all …]
|
H A D | GraphicBufferAllocator.h | 50 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount, 61 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount, 69 uint32_t layerCount, uint64_t usage, 86 uint32_t layerCount; member 92 status_t allocateHelper(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
|
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
H A D | ComposerVts.cpp | 207 uint32_t height, uint32_t layerCount, PixelFormat format, in validateBufferSize() argument 213 info.layerCount = layerCount; in validateBufferSize() 221 info.layerCount = layerCount; in validateBufferSize() 229 info.layerCount = layerCount; in validateBufferSize()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | LayerHistoryTest.cpp | 147 EXPECT_EQ(1, layerCount()); in TEST_F() 178 EXPECT_EQ(1, layerCount()); in TEST_F() 203 EXPECT_EQ(1, layerCount()); in TEST_F() 226 EXPECT_EQ(1, layerCount()); in TEST_F() 253 EXPECT_EQ(1, layerCount()); in TEST_F() 281 EXPECT_EQ(1, layerCount()); in TEST_F() 309 EXPECT_EQ(1, layerCount()); in TEST_F() 341 EXPECT_EQ(1, layerCount()); in TEST_F() 384 EXPECT_EQ(3, layerCount()); in TEST_F() 474 EXPECT_EQ(2, layerCount()); in TEST_F() [all …]
|
/aosp12/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 56 cacheCount:%2d \n", mCachedFrame.layerCount, in dump() 59 fbCount:%2d \n", mCurrentFrame.layerCount, in dump() 222 layerCount = numLayers; in reset() 232 for(int idx = 0; idx < layerCount; idx++) { in map() 248 layerCount = 0; in reset() 262 layerCount = curFrame.layerCount; in updateCounts() 435 mCurrentFrame.mdpCount = mCurrentFrame.layerCount; in fullMDPComp() 575 while (i < mCurrentFrame.layerCount) { in batchLayers() 585 if(i < mCurrentFrame.layerCount) i++; in batchLayers() 589 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in batchLayers() [all …]
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | mali_gralloc_bufferdescriptor.cpp | 253 …mali_gralloc_set_layer_count_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t layerCount) in mali_gralloc_set_layer_count_internal() argument 262 if (layerCount == 0) in mali_gralloc_set_layer_count_internal() 264 AERR("Invalid layer count: %" PRIu32, layerCount); in mali_gralloc_set_layer_count_internal() 268 buffer_descriptor->layer_count = layerCount; in mali_gralloc_set_layer_count_internal()
|
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 63 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump() 70 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump() 249 layerCount = numLayers; in reset() 259 for(int idx = 0; idx < layerCount; idx++) { in map() 274 layerCount = 0; in reset() 278 layerCount = curFrame.layerCount; in updateCounts() 285 if(layerCount != curFrame.layerCount) in isSameFrame() 287 for(int i = 0; i < curFrame.layerCount; i++) { in isSameFrame() 1092 while (i < mCurrentFrame.layerCount) { in getBatch() 1100 while(i < mCurrentFrame.layerCount) { in getBatch() [all …]
|
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 64 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump() 71 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump() 266 layerCount = numLayers; in reset() 276 for(int idx = 0; idx < layerCount; idx++) { in map() 292 layerCount = 0; in reset() 303 layerCount = curFrame.layerCount; in updateCounts() 310 if(layerCount != curFrame.layerCount) in isSameFrame() 312 for(int i = 0; i < curFrame.layerCount; i++) { in isSameFrame() 1271 while (i < mCurrentFrame.layerCount) { in getBatch() 1279 while(i < mCurrentFrame.layerCount) { in getBatch() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/2.1/vts/functional/ |
H A D | VtsHalGraphicsMapperV2_1TargetTest.cpp | 48 mDummyDescriptorInfo.layerCount = 1; in SetUp() 107 info.layerCount = 1; in TEST_P() 128 info.layerCount *= 2; in TEST_P() 132 info.layerCount /= 2; in TEST_P()
|
/aosp12/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
H A D | Gralloc1On0Adapter.h | 111 layerCount(1), in Descriptor() 127 layerCount = lc; in setLayerCount() 144 uint32_t layerCount; member 182 gralloc1_buffer_descriptor_t descriptorId, uint32_t layerCount) { in setLayerCountHook() argument 184 &Descriptor::setLayerCount, layerCount); in setLayerCountHook() 237 *outLayerCount = mDescriptor.layerCount; in getLayerCount()
|
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
H A D | ComposerVts.cpp | 333 const NativeHandleWrapper Gralloc::allocate(uint32_t width, uint32_t height, uint32_t layerCount, in allocate() argument 341 info.layerCount = layerCount; in allocate() 349 info.layerCount = layerCount; in allocate() 357 info.layerCount = layerCount; in allocate()
|
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
H A D | ComposerVts.h | 99 const NativeHandleWrapper allocate(uint32_t width, uint32_t height, uint32_t layerCount, 103 width, height, layerCount, 109 uint32_t layerCount, PixelFormat format, uint64_t usage,
|
/aosp12/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/ |
H A D | Gralloc1Hal.h | 46 bufferDescriptorInfo.layerCount = descriptorInfo.layerCount; in validateBufferSize() 79 descriptorInfo.width, descriptorInfo.height, descriptorInfo.layerCount, in createDescriptor_2_1()
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 75 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump() 332 layerCount = numLayers; in reset() 342 for(int idx = 0; idx < layerCount; idx++) { in map() 357 layerCount = 0; in reset() 361 layerCount = curFrame.layerCount; in updateCounts() 368 if(layerCount != curFrame.layerCount) in isSameFrame() 370 for(int i = 0; i < curFrame.layerCount; i++) { in isSameFrame() 1547 while (i < mCurrentFrame.layerCount) { in getBatch() 1555 while(i < mCurrentFrame.layerCount) { in getBatch() 1691 frame.mdpCount = frame.layerCount - frame.fbCount in updateLayerCache() [all …]
|
/aosp12/hardware/qcom/sm7250/display/gralloc/ |
H A D | QtiMapper.cpp | 56 bd.layerCount <= 0) { in ValidDescriptor() 68 static_cast<uint32_t>(descriptor_info.format), descriptor_info.layerCount); in CreateDescriptor() 86 descriptor_info.layerCount, in createDescriptor() 240 info.layer_count = descriptor_info.layerCount; in validateBufferSize()
|