/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerHal.h | 73 virtual Error createVirtualDisplay(uint32_t width, uint32_t height, PixelFormat* format, 75 virtual Error destroyVirtualDisplay(Display display) = 0; 76 virtual Error createLayer(Display display, Layer* outLayer) = 0; 77 virtual Error destroyLayer(Display display, Layer layer) = 0; 79 virtual Error getActiveConfig(Display display, Config* outConfig) = 0; 80 virtual Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, 82 virtual Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) = 0; 83 virtual Error getDisplayAttribute(Display display, Config config, 85 virtual Error getDisplayConfigs(Display display, hidl_vec<Config>* outConfigs) = 0; 86 virtual Error getDisplayName(Display display, hidl_string* outName) = 0; [all …]
|
D | ComposerResources.h | 55 Error importBuffer(const native_handle_t* rawHandle, const native_handle_t** outBufferHandle) { in importBuffer() 58 return Error::NONE; in importBuffer() 63 mapper::V2_0::Error error; in importBuffer() 69 if (error != mapper::V2_0::Error::NONE) { in importBuffer() 70 return Error::NO_RESOURCES; in importBuffer() 74 mapper::V3_0::Error error; in importBuffer() 80 if (error != mapper::V3_0::Error::NONE) { in importBuffer() 81 return Error::NO_RESOURCES; in importBuffer() 86 return Error::NONE; in importBuffer() 101 Error importStream(const native_handle_t* rawHandle, const native_handle_t** outStreamHandle) { in importStream() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display.h | 73 HWC2::Error Init(); 74 HWC2::Error DeInit(); 78 HWC2::Error GetColorModes(uint32_t *out_num_modes, ColorMode *out_modes); 79 HWC2::Error GetRenderIntents(ColorMode mode, uint32_t *out_num_intents, RenderIntent *out_modes); 80 HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent); 81 HWC2::Error SetColorModeById(int32_t color_mode_id); 82 HWC2::Error SetColorModeFromClientApi(std::string mode_string); 83 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 84 HWC2::Error RestoreColorTransform(); 86 HWC2::Error ApplyCurrentColorModeWithRenderIntent(bool hdr_present); [all …]
|
D | hwc_callbacks.cpp | 37 HWC2::Error HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug() 39 return HWC2::Error::NoResources; in Hotplug() 42 return HWC2::Error::None; in Hotplug() 45 HWC2::Error HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh() 47 return HWC2::Error::NoResources; in Refresh() 51 return HWC2::Error::None; in Refresh() 54 HWC2::Error HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync() 56 return HWC2::Error::NoResources; in Vsync() 60 return HWC2::Error::None; in Vsync() 63 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display.h | 65 virtual HWC2::Error SetEnabled(bool enabled); 83 HWC2::Error SetEnabled(bool enabled) override; 131 HWC2::Error SetEnabled(bool enabled) override; 162 HWC2::Error Init(); 163 HWC2::Error DeInit(); 167 HWC2::Error GetColorModes(uint32_t *out_num_modes, ColorMode *out_modes); 168 HWC2::Error GetRenderIntents(ColorMode mode, uint32_t *out_num_intents, RenderIntent *out_modes); 169 HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent); 170 HWC2::Error SetColorModeById(int32_t color_mode_id); 171 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); [all …]
|
D | hwc_callbacks.cpp | 37 HWC2::Error HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug() 39 return HWC2::Error::NoResources; in Hotplug() 42 return HWC2::Error::None; in Hotplug() 45 HWC2::Error HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh() 47 return HWC2::Error::NoResources; in Refresh() 50 return HWC2::Error::None; in Refresh() 53 HWC2::Error HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync() 55 return HWC2::Error::NoResources; in Vsync() 59 return HWC2::Error::None; in Vsync() 62 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register() [all …]
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapperExtensions.cpp | 52 auto err = Error::BAD_BUFFER; in getMapSecureBufferFlag() 59 err = Error::NONE; in getMapSecureBufferFlag() 67 auto err = Error::BAD_BUFFER; in getInterlacedFlag() 74 err = Error::NONE; in getInterlacedFlag() 83 auto err = Error::BAD_BUFFER; in getCustomDimensions() 91 err = Error::NONE; in getCustomDimensions() 98 auto err = Error::BAD_BUFFER; in getRgbDataAddress() 103 err = Error::NONE; in getRgbDataAddress() 117 hidl_cb(Error::NONE, alignedw, alignedh, ubwc_enabled); in calculateBufferAttributes() 124 auto err = Error::NONE; in getCustomFormatFlags() [all …]
|
D | gr_buf_mgr.cpp | 57 Error BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer() 63 return Error::BAD_BUFFER; in FreeBuffer() 68 return Error::BAD_BUFFER; in FreeBuffer() 74 return Error::BAD_BUFFER; in FreeBuffer() 83 return Error::NONE; in FreeBuffer() 86 Error BufferManager::ValidateBufferSize(private_handle_t const *hnd, BufferInfo info) { in ValidateBufferSize() 91 return Error::BAD_BUFFER; in ValidateBufferSize() 95 return Error::BAD_VALUE; in ValidateBufferSize() 97 return Error::NONE; in ValidateBufferSize() 106 Error BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 36 using android::hardware::graphics::mapper::V3_0::Error; 42 Error AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, 44 Error RetainBuffer(private_handle_t const *hnd); 45 Error ReleaseBuffer(private_handle_t const *hnd); 46 Error LockBuffer(const private_handle_t *hnd, uint64_t usage); 47 Error UnlockBuffer(const private_handle_t *hnd); 48 Error Dump(std::ostringstream *os); 49 Error ValidateBufferSize(private_handle_t const *hnd, BufferInfo info); 50 Error IsBufferImported(const private_handle_t *hnd); 55 Error MapBuffer(private_handle_t const *hnd); [all …]
|
D | QtiMapper.cpp | 62 Error QtiMapper::CreateDescriptor(const BufferDescriptorInfo_3_0 &descriptor_info, in CreateDescriptor() 72 return Error::NONE; in CreateDescriptor() 74 return Error::BAD_VALUE; in CreateDescriptor() 97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 109 if (error != Error::NONE) { in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 123 Return<Error> QtiMapper::freeBuffer(void *buffer) { in freeBuffer() 125 return Error::BAD_BUFFER; in freeBuffer() 156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.h | 58 HWC2::Error Init(); 59 HWC2::Error DeInit(); 62 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 63 HWC2::Error SetColorMode(android_color_mode_t mode); 64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 65 HWC2::Error RestoreColorTransform(); 70 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 81 HWC2::Error ApplyDefaultColorMode(); 168 virtual HWC2::Error AcceptDisplayChanges(void); 169 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); [all …]
|
D | hwc_callbacks.cpp | 37 HWC2::Error HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug() 39 return HWC2::Error::NoResources; in Hotplug() 42 return HWC2::Error::None; in Hotplug() 45 HWC2::Error HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh() 47 return HWC2::Error::NoResources; in Refresh() 50 return HWC2::Error::None; in Refresh() 53 HWC2::Error HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync() 55 return HWC2::Error::NoResources; in Vsync() 58 return HWC2::Error::None; in Vsync() 61 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_callbacks.cpp | 37 HWC2::Error HWCCallbacks::Hotplug(hwc2_display_t display, HWC2::Connection state) { in Hotplug() 39 return HWC2::Error::NoResources; in Hotplug() 42 return HWC2::Error::None; in Hotplug() 45 HWC2::Error HWCCallbacks::Refresh(hwc2_display_t display) { in Refresh() 47 return HWC2::Error::NoResources; in Refresh() 50 return HWC2::Error::None; in Refresh() 53 HWC2::Error HWCCallbacks::Vsync(hwc2_display_t display, int64_t timestamp) { in Vsync() 55 return HWC2::Error::NoResources; in Vsync() 58 return HWC2::Error::None; in Vsync() 61 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register() [all …]
|
D | hwc_display.h | 58 HWC2::Error Init(); 59 HWC2::Error DeInit(); 62 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 63 HWC2::Error SetColorMode(android_color_mode_t mode); 64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 69 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 80 HWC2::Error ApplyDefaultColorMode(); 170 virtual HWC2::Error AcceptDisplayChanges(void); 171 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); 172 virtual HWC2::Error SetActiveConfig(hwc2_config_t config); [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.h | 57 HWC2::Error Init(); 58 HWC2::Error DeInit(); 61 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 62 HWC2::Error SetColorMode(android_color_mode_t mode); 63 HWC2::Error SetColorModeById(int32_t color_mode_id); 64 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 69 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 80 HWC2::Error ApplyDefaultColorMode(); 155 virtual HWC2::Error AcceptDisplayChanges(void); 156 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/ |
D | HwcHal.h | 143 Error createVirtualDisplay(uint32_t width, uint32_t height, PixelFormat* format, in createVirtualDisplay() 150 return static_cast<Error>(err); in createVirtualDisplay() 153 Error destroyVirtualDisplay(Display display) override { in destroyVirtualDisplay() 155 return static_cast<Error>(err); in destroyVirtualDisplay() 158 Error createLayer(Display display, Layer* outLayer) override { in createLayer() 160 return static_cast<Error>(err); in createLayer() 163 Error destroyLayer(Display display, Layer layer) override { in destroyLayer() 166 return static_cast<Error>(err); in destroyLayer() 169 Error getActiveConfig(Display display, Config* outConfig) override { in getActiveConfig() 171 return static_cast<Error>(err); in getActiveConfig() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.h | 56 HWC2::Error Init(); 57 HWC2::Error DeInit(); 59 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 60 HWC2::Error SetColorMode(android_color_mode_t mode); 61 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 66 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 143 virtual HWC2::Error AcceptDisplayChanges(void); 144 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); 145 virtual HWC2::Error SetActiveConfig(hwc2_config_t config); 146 virtual HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence, [all …]
|
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ |
D | ComposerHal.h | 34 using V2_1::Error; 39 Error getPerFrameMetadataKeys( in getPerFrameMetadataKeys() 45 Error setColorMode_2_2(Display display, common::V1_1::ColorMode mode, in setColorMode_2_2() 50 Error getColorModes_2_2(Display display, hidl_vec<common::V1_1::ColorMode>* outModes) override { in getColorModes_2_2() 54 Error getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height, in getClientTargetSupport_2_2() 61 Error getReadbackBufferAttributes(Display display, common::V1_1::PixelFormat* outFormat, in getReadbackBufferAttributes() 67 Error getHdrCapabilities(Display display, hidl_vec<common::V1_0::Hdr>* outTypes, in getHdrCapabilities() 74 Error setLayerPerFrameMetadata( in setLayerPerFrameMetadata() 82 virtual Error getPerFrameMetadataKeys_2_3( 85 virtual Error setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) = 0; [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 62 Error QtiMapper::CreateDescriptor(const BufferDescriptorInfo_2_1& descriptor_info, in CreateDescriptor() 72 return Error::NONE; in CreateDescriptor() 74 return Error::BAD_VALUE; in CreateDescriptor() 97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 109 if (error != Error::NONE) { in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 123 Return<Error> QtiMapper::freeBuffer(void *buffer) { in freeBuffer() 125 return Error::BAD_BUFFER; in freeBuffer() 156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer() [all …]
|
D | gr_buf_mgr.cpp | 57 Error BufferManager::FreeBuffer(std::shared_ptr<Buffer> buf) { in FreeBuffer() 63 return Error::BAD_BUFFER; in FreeBuffer() 68 return Error::BAD_BUFFER; in FreeBuffer() 74 return Error::BAD_BUFFER; in FreeBuffer() 83 return Error::NONE; in FreeBuffer() 86 Error BufferManager::ValidateBufferSize(private_handle_t const *hnd, BufferInfo info) { in ValidateBufferSize() 92 return Error::BAD_VALUE; in ValidateBufferSize() 94 return Error::NONE; in ValidateBufferSize() 103 Error BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked() 106 return Error::BAD_BUFFER; in ImportHandleLocked() [all …]
|
D | gr_buf_mgr.h | 36 using android::hardware::graphics::mapper::V2_0::Error; 42 Error AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, 44 Error RetainBuffer(private_handle_t const *hnd); 45 Error ReleaseBuffer(private_handle_t const *hnd); 46 Error LockBuffer(const private_handle_t *hnd, uint64_t usage); 47 Error UnlockBuffer(const private_handle_t *hnd); 48 Error Dump(std::ostringstream *os); 49 Error ValidateBufferSize(private_handle_t const *hnd, BufferInfo info); 50 Error IsBufferImported(const private_handle_t *hnd); 55 Error MapBuffer(private_handle_t const *hnd); [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
D | HwcHal.h | 42 using V2_1::Error; 51 Error getPerFrameMetadataKeys( in getPerFrameMetadataKeys() 54 return Error::UNSUPPORTED; in getPerFrameMetadataKeys() 60 return static_cast<Error>(error); in getPerFrameMetadataKeys() 69 return static_cast<Error>(error); in getPerFrameMetadataKeys() 74 return Error::NONE; in getPerFrameMetadataKeys() 77 Error setLayerPerFrameMetadata( in setLayerPerFrameMetadata() 81 return Error::UNSUPPORTED; in setLayerPerFrameMetadata() 95 return static_cast<Error>(error); in setLayerPerFrameMetadata() 98 Error getReadbackBufferAttributes(Display display, PixelFormat* outFormat, in getReadbackBufferAttributes() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/ |
D | Mapper.h | 52 Error error = mHal->createDescriptor(descriptorInfo, &descriptor); in createDescriptor() 60 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle); in importBuffer() 66 if (error != Error::NONE) { in importBuffer() 74 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 82 Return<Error> freeBuffer(void* buffer) override { in freeBuffer() 85 return Error::BAD_BUFFER; in freeBuffer() 88 Error error = mHal->freeBuffer(bufferHandle); in freeBuffer() 89 if (error == Error::NONE) { in freeBuffer() 99 hidl_cb(Error::BAD_BUFFER, nullptr); in lock() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
D | ComposerHal.h | 36 using V2_1::Error; 41 Error createVirtualDisplay(uint32_t width, uint32_t height, common::V1_0::PixelFormat* format, in createVirtualDisplay() 46 Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport() 53 Error setPowerMode(Display display, V2_1::IComposerClient::PowerMode mode) override { in setPowerMode() 58 Error getColorModes(Display display, hidl_vec<common::V1_0::ColorMode>* outModes) override { in getColorModes() 63 Error setColorMode(Display display, common::V1_0::ColorMode mode) override { in setColorMode() 67 virtual Error getPerFrameMetadataKeys( 69 virtual Error setLayerPerFrameMetadata( 73 virtual Error getReadbackBufferAttributes(Display display, PixelFormat* outFormat, 75 virtual Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle, [all …]
|
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/ |
D | HwcHal.h | 43 using V2_1::Error; 63 Error getPerFrameMetadataKeys_2_3( in getPerFrameMetadataKeys_2_3() 66 Error error = getPerFrameMetadataKeys(display, &castKeys); in getPerFrameMetadataKeys_2_3() 67 if (error != Error::NONE) { in getPerFrameMetadataKeys_2_3() 74 return Error::NONE; in getPerFrameMetadataKeys_2_3() 77 Error setLayerPerFrameMetadata_2_3( in setLayerPerFrameMetadata_2_3() 86 Error setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_3() 90 Error getRenderIntents_2_3(Display display, ColorMode mode, in getRenderIntents_2_3() 95 Error getColorModes_2_3(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes_2_3() 100 Error getHdrCapabilities_2_3(Display display, hidl_vec<Hdr>* outTypes, float* outMaxLuminance, in getHdrCapabilities_2_3() [all …]
|