/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/ |
D | u_gralloc.c | 75 u_gralloc_destroy(struct u_gralloc **gralloc NONNULL) in u_gralloc_destroy() 79 if (*gralloc == NULL) in u_gralloc_destroy() 85 if (u_gralloc_cache[i].u_gralloc == *gralloc) { in u_gralloc_destroy() 100 *gralloc = NULL; in u_gralloc_destroy() 104 u_gralloc_get_buffer_basic_info(struct u_gralloc *gralloc NONNULL, in u_gralloc_get_buffer_basic_info() 112 ret = gralloc->ops.get_buffer_basic_info(gralloc, hnd, &info); in u_gralloc_get_buffer_basic_info() 123 u_gralloc_get_buffer_color_info(struct u_gralloc *gralloc NONNULL, in u_gralloc_get_buffer_color_info() 131 if (!gralloc->ops.get_buffer_color_info) in u_gralloc_get_buffer_color_info() 134 ret = gralloc->ops.get_buffer_color_info(gralloc, hnd, &info); in u_gralloc_get_buffer_color_info() 145 u_gralloc_get_front_rendering_usage(struct u_gralloc *gralloc NONNULL, in u_gralloc_get_front_rendering_usage() [all …]
|
D | u_gralloc_internal.h | 18 int (*get_buffer_basic_info)(struct u_gralloc *gralloc, 21 int (*get_buffer_color_info)(struct u_gralloc *gralloc, 24 int (*get_front_rendering_usage)(struct u_gralloc *gralloc, 26 int (*destroy)(struct u_gralloc *gralloc);
|
D | u_gralloc_cros_api.c | 49 cros_get_buffer_info(struct u_gralloc *gralloc, in cros_get_buffer_info() argument 54 struct cros_gralloc *gr = (struct cros_gralloc *)gralloc; in cros_get_buffer_info() 75 cros_get_front_rendering_usage(struct u_gralloc *gralloc, uint64_t *out_usage) in cros_get_front_rendering_usage() argument 77 struct cros_gralloc *gr = (struct cros_gralloc *)gralloc; in cros_get_front_rendering_usage() 92 destroy(struct u_gralloc *gralloc) in destroy() argument 94 struct cros_gralloc *gr = (struct cros_gralloc *)gralloc; in destroy()
|
D | u_gralloc.h | 62 void u_gralloc_destroy(struct u_gralloc **gralloc NONNULL); 65 struct u_gralloc *gralloc NONNULL, 70 struct u_gralloc *gralloc NONNULL, 74 int u_gralloc_get_front_rendering_usage(struct u_gralloc *gralloc NONNULL,
|
D | u_gralloc_fallback.c | 160 fallback_gralloc_get_yuv_info(struct u_gralloc *gralloc, in fallback_gralloc_get_yuv_info() argument 164 struct fallback_gralloc *gr = (struct fallback_gralloc *)gralloc; in fallback_gralloc_get_yuv_info() 252 fallback_gralloc_get_buffer_info(struct u_gralloc *gralloc, in fallback_gralloc_get_buffer_info() argument 262 int ret = fallback_gralloc_get_yuv_info(gralloc, hnd, out); in fallback_gralloc_get_buffer_info() 307 destroy(struct u_gralloc *gralloc) in destroy() argument 309 struct fallback_gralloc *gr = (struct fallback_gralloc *)gralloc; in destroy()
|
D | u_gralloc_imapper4_api.cpp | 88 mapper4_get_buffer_basic_info(struct u_gralloc *gralloc, in mapper4_get_buffer_basic_info() argument 92 gralloc4 *gr4 = (gralloc4 *)gralloc; in mapper4_get_buffer_basic_info() 160 mapper4_get_buffer_color_info(struct u_gralloc *gralloc, in mapper4_get_buffer_color_info() argument 164 gralloc4 *gr4 = (gralloc4 *)gralloc; in mapper4_get_buffer_color_info() 253 mapper4_get_front_rendering_usage(struct u_gralloc *gralloc, in mapper4_get_front_rendering_usage() argument 267 destroy(struct u_gralloc *gralloc) in destroy() argument 269 gralloc4 *gr = (struct gralloc4 *)gralloc; in destroy()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiAllocator.cpp | 44 static void get_properties(gralloc::GrallocProperties *props) { in get_properties() 62 using gralloc::BufferDescriptor; 64 using gralloc::Error; 67 gralloc::GrallocProperties properties; in QtiAllocator() 86 gralloc::BufferDescriptor desc; in allocate() 139 using gralloc::BufferDescriptor; 141 using gralloc::Error; 144 gralloc::GrallocProperties properties; in QtiAllocator() 153 gralloc::BufferDescriptor desc; in allocate()
|
D | QtiMapper.h | 63 using gralloc::BufferManager; 100 out.resize(gralloc::kBufferDescriptorSize); in Encode() 101 out[0] = gralloc::kMagicVersion; in Encode() 110 static gralloc::Error Decode(const hidl_vec<uint32_t> &in, in Decode() 111 gralloc::BufferDescriptor *buf_descriptor) { in Decode() 112 if (in.size() != gralloc::kBufferDescriptorSize || in[0] != gralloc::kMagicVersion) { in Decode() 113 return gralloc::Error::BAD_DESCRIPTOR; in Decode() 124 return gralloc::Error::NONE; in Decode()
|
D | QtiMapperExtensions.cpp | 46 using gralloc::BufferInfo; 90 gralloc::GetCustomDimensions(hnd, &stride, &height); in getCustomDimensions() 102 if (gralloc::GetRgbDataAddress(hnd, &rgb_data) == 0) { in getRgbDataAddress() 115 gralloc::GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in calculateBufferAttributes() 116 bool ubwc_enabled = gralloc::IsUBwcEnabled(format, usage); in calculateBufferAttributes() 126 if (gralloc::GetCustomFormatFlags(format, usage, &custom_format, &priv_flags) != 0) { in getCustomFormatFlags() 138 gralloc::GetColorSpaceFromMetadata(hnd, &color_space); in getColorSpace() 152 if (gralloc::GetYUVPlaneInfo(hnd, yuv_plane_info) == 0) { in getYuvPlaneInfo() 353 int custom_format = gralloc::GetImplDefinedFormat(usage, format); in getFormatLayout() 355 int ret = gralloc::GetBufferSizeAndDimensions(info, &size, &alignedw, &alignedh); in getFormatLayout() [all …]
|
D | QtiMapper4.h | 65 using gralloc::BufferManager; 124 out.resize(gralloc::kBufferDescriptorSizeV4 + sizeof(name_size) + name_size); in Encode() 127 uint32_t magic_version = gralloc::kMagicVersion; in Encode() 156 static gralloc::Error Decode(const hidl_vec<uint8_t> &in, in Decode() 157 gralloc::BufferDescriptor *buf_descriptor) { in Decode() 159 if (in.size() < gralloc::kBufferDescriptorSizeV4) { in Decode() 160 return gralloc::Error::BAD_DESCRIPTOR; in Decode() 173 if (in.size() != (gralloc::kBufferDescriptorSizeV4 + name_size + sizeof(name_size)) || in Decode() 174 magic_version != gralloc::kMagicVersion) { in Decode() 175 return gralloc::Error::BAD_DESCRIPTOR; in Decode() [all …]
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiAllocator.cpp | 44 static void get_properties(gralloc::GrallocProperties *props) { in get_properties() 62 using gralloc::BufferDescriptor; 64 using gralloc::Error; 67 gralloc::GrallocProperties properties; in QtiAllocator() 86 gralloc::BufferDescriptor desc; in allocate() 139 using gralloc::BufferDescriptor; 141 using gralloc::Error; 144 gralloc::GrallocProperties properties; in QtiAllocator() 153 gralloc::BufferDescriptor desc; in allocate()
|
D | QtiMapper.h | 63 using gralloc::BufferManager; 100 out.resize(gralloc::kBufferDescriptorSize); in Encode() 101 out[0] = gralloc::kMagicVersion; in Encode() 110 static gralloc::Error Decode(const hidl_vec<uint32_t> &in, in Decode() 111 gralloc::BufferDescriptor *buf_descriptor) { in Decode() 112 if (in.size() != gralloc::kBufferDescriptorSize || in[0] != gralloc::kMagicVersion) { in Decode() 113 return gralloc::Error::BAD_DESCRIPTOR; in Decode() 124 return gralloc::Error::NONE; in Decode()
|
D | QtiMapperExtensions.cpp | 46 using gralloc::BufferInfo; 90 gralloc::GetCustomDimensions(hnd, &stride, &height); in getCustomDimensions() 102 if (gralloc::GetRgbDataAddress(hnd, &rgb_data) == 0) { in getRgbDataAddress() 115 gralloc::GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in calculateBufferAttributes() 116 bool ubwc_enabled = gralloc::IsUBwcEnabled(format, usage); in calculateBufferAttributes() 126 if (gralloc::GetCustomFormatFlags(format, usage, &custom_format, &priv_flags) != 0) { in getCustomFormatFlags() 138 gralloc::GetColorSpaceFromMetadata(hnd, &color_space); in getColorSpace() 152 if (gralloc::GetYUVPlaneInfo(hnd, yuv_plane_info) == 0) { in getYuvPlaneInfo() 352 int custom_format = gralloc::GetImplDefinedFormat(usage, format); in getFormatLayout() 354 gralloc::GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in getFormatLayout() [all …]
|
D | QtiMapper4.h | 65 using gralloc::BufferManager; 124 out.resize(gralloc::kBufferDescriptorSizeV4 + sizeof(name_size) + in Encode() 128 uint32_t magic_version = gralloc::kMagicVersion; in Encode() 157 static gralloc::Error Decode(const hidl_vec<uint8_t> &in, in Decode() 158 gralloc::BufferDescriptor *buf_descriptor) { in Decode() 160 if (in.size() < gralloc::kBufferDescriptorSizeV4) { in Decode() 161 return gralloc::Error::BAD_DESCRIPTOR; in Decode() 174 if (in.size() != (gralloc::kBufferDescriptorSizeV4 + name_size + sizeof(name_size)) || in Decode() 175 magic_version != gralloc::kMagicVersion) { in Decode() 176 return gralloc::Error::BAD_DESCRIPTOR; in Decode() [all …]
|
/hardware/google/gfxstream/guest/android/ |
D | Gralloc.cpp | 30 auto gralloc = new MinigbmGralloc(); in createPlatformGralloc() local 31 gralloc->setFd(deviceFd); in createPlatformGralloc() 32 return gralloc; in createPlatformGralloc()
|
D | ANativeWindowAndroid.cpp | 150 int ANativeWindowHelperAndroid::getFormat(EGLClientBuffer buffer, Gralloc* gralloc) { in getFormat() argument 153 return gralloc->getFormat(anb->handle); in getFormat() 156 (void)gralloc; in getFormat() 211 int ANativeWindowHelperAndroid::getHostHandle(EGLClientBuffer buffer, Gralloc* gralloc) { in getHostHandle() argument 214 return gralloc->getHostHandle(anb->handle); in getHostHandle() 217 (void)gralloc; in getHostHandle()
|
/hardware/google/graphics/common/gralloc-headers/ |
D | Android.bp | 6 name: "pixel-gralloc-headers-dependencies", 17 name: "pixel-gralloc-headers", 21 "pixel-gralloc-headers-dependencies",
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayMem.h | 97 gralloc::IAllocController* mAlloc; 102 using gralloc::IMemAlloc; 103 using gralloc::alloc_data; 111 mAlloc = gralloc::IAllocController::getInstance(); in OvMem()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMem.h | 98 gralloc::IAllocController* mAlloc; 106 using gralloc::IMemAlloc; 107 using gralloc::alloc_data; 115 mAlloc = gralloc::IAllocController::getInstance(); in OvMem()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMem.h | 98 gralloc::IAllocController* mAlloc; 106 using gralloc::IMemAlloc; 107 using gralloc::alloc_data; 115 mAlloc = gralloc::IAllocController::getInstance(); in OvMem()
|
/hardware/libhardware/modules/gralloc/ |
D | Android.mk | 27 gralloc.cpp \ 33 LOCAL_MODULE := gralloc.default
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.h | 37 namespace gralloc { 61 gralloc::IAllocController *alloc_controller_;
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMem.h | 104 gralloc::IAllocController* mAlloc; 115 using gralloc::IMemAlloc; 116 using gralloc::alloc_data; 125 mAlloc = gralloc::IAllocController::getInstance(); in OvMem()
|
/hardware/qcom/sm7250/display/ |
D | CleanSpec.mk | 15 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/gralloc.kona.so) 16 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/gralloc.kona.so) 23 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/gralloc.msmnile.so) 24 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/gralloc.msmnile.so) 31 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/gralloc.trinket.so) 32 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/gralloc.trinket.so) 39 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/gralloc.talos.so) 40 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/gralloc.talos.so)
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_buffer_allocator.h | 37 namespace gralloc { 65 gralloc::IAllocController *alloc_controller_;
|