Home
last modified time | relevance | path

Searched refs:hwc2_device_t (Results 1 – 17 of 17) sorted by relevance

/hardware/libhardware/include/hardware/
Dhwcomposer2.h817 } hwc2_device_t; typedef
820 hwc2_device_t** device) { in hwc2_open()
825 static inline int hwc2_close(hwc2_device_t* device) { in hwc2_close()
936 hwc2_device_t* device, uint32_t width, uint32_t height,
956 hwc2_device_t* device, hwc2_display_t display);
988 typedef void (*HWC2_PFN_DUMP)(hwc2_device_t* device, uint32_t* outSize,
1001 hwc2_device_t* device);
1022 hwc2_device_t* device,
1044 hwc2_device_t* device, int32_t /*android_dataspace_t*/ dataspace,
1074 hwc2_device_t* device, hwc2_display_t display);
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h36 class HWCSession : hwc2_device_t, public qClient::BnQClient {
48 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
64 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
88 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
89 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
91 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height,
93 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
94 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
95 static void Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer);
96 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
[all …]
Dhwc_session.cpp70 hwc2_device_t::common.tag = HARDWARE_DEVICE_TAG; in HWCSession()
71 hwc2_device_t::common.version = HWC_DEVICE_API_VERSION_2_0; in HWCSession()
72 hwc2_device_t::common.module = const_cast<hw_module_t *>(module); in HWCSession()
73 hwc2_device_t::common.close = Close; in HWCSession()
74 hwc2_device_t::getCapabilities = GetCapabilities; in HWCSession()
75 hwc2_device_t::getFunction = GetFunction; in HWCSession()
183 hwc2_device_t *composer_device = hwc_session; in Open()
197 hwc2_device_t *composer_device = reinterpret_cast<hwc2_device_t *>(device); in Close()
223 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, in AcceptDisplayChanges()
229 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h37 class HWCSession : hwc2_device_t, public qClient::BnQClient {
49 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
65 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
89 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
90 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
92 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height,
94 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
95 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
96 static void Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer);
97 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
[all …]
Dhwc_session.cpp71 hwc2_device_t::common.tag = HARDWARE_DEVICE_TAG; in HWCSession()
72 hwc2_device_t::common.version = HWC_DEVICE_API_VERSION_2_0; in HWCSession()
73 hwc2_device_t::common.module = const_cast<hw_module_t *>(module); in HWCSession()
74 hwc2_device_t::common.close = Close; in HWCSession()
75 hwc2_device_t::getCapabilities = GetCapabilities; in HWCSession()
76 hwc2_device_t::getFunction = GetFunction; in HWCSession()
196 hwc2_device_t *composer_device = hwc_session; in Open()
210 hwc2_device_t *composer_device = reinterpret_cast<hwc2_device_t *>(device); in Close()
241 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
246 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp39 void dumpHook(hwc2_device_t* device, uint32_t* outSize, char* outBuffer) { in dumpHook()
49 int32_t registerCallbackHook(hwc2_device_t* device, int32_t descriptor, in registerCallbackHook()
71 uint32_t getMaxVirtualDisplayCountHook(hwc2_device_t* /*device*/) { in getMaxVirtualDisplayCountHook() argument
75 int32_t createVirtualDisplayHook(hwc2_device_t* /*device*/, uint32_t /*width*/, uint32_t /*height*/, in createVirtualDisplayHook() argument
80 int32_t destroyVirtualDisplayHook(hwc2_device_t* /*device*/, hwc2_display_t /*display*/) { in destroyVirtualDisplayHook() argument
84 int32_t setOutputBufferHook(hwc2_device_t* /*device*/, hwc2_display_t /*display*/, in setOutputBufferHook() argument
89 int32_t getDisplayNameHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize, in getDisplayNameHook()
106 int32_t getDisplayTypeHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outType) { in getDisplayTypeHook()
116 int32_t getDozeSupportHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outSupport) { in getDozeSupportHook()
126 int32_t getHdrCapabilitiesHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outNumTypes, in getHdrCapabilitiesHook()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.h66 class HWCSession : hwc2_device_t, HWCUEventListener, IDisplayConfig, public qClient::BnQClient {
78 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
98 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
122 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
123 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
125 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height,
127 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
128 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
129 static void Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer);
130 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
[all …]
Dhwc_session.cpp128 hwc2_device_t::common.tag = HARDWARE_DEVICE_TAG; in HWCSession()
129 hwc2_device_t::common.version = HWC_DEVICE_API_VERSION_2_0; in HWCSession()
130 hwc2_device_t::common.module = const_cast<hw_module_t *>(module); in HWCSession()
131 hwc2_device_t::common.close = Close; in HWCSession()
132 hwc2_device_t::getCapabilities = GetCapabilities; in HWCSession()
133 hwc2_device_t::getFunction = GetFunction; in HWCSession()
260 hwc2_device_t *composer_device = hwc_session; in Open()
274 hwc2_device_t *composer_device = reinterpret_cast<hwc2_device_t *>(device); in Close()
313 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
322 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.h75 class HWCSession : hwc2_device_t, HWCUEventListener, IDisplayConfig, public qClient::BnQClient {
87 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction()
108 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction()
133 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display);
134 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display,
136 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height,
138 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
139 static int32_t DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display);
140 static void Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer);
141 static int32_t PresentDisplay(hwc2_device_t *device, hwc2_display_t display,
[all …]
Dhwc_session.cpp130 hwc2_device_t::common.tag = HARDWARE_DEVICE_TAG; in HWCSession()
131 hwc2_device_t::common.version = HWC_DEVICE_API_VERSION_2_0; in HWCSession()
132 hwc2_device_t::common.module = const_cast<hw_module_t *>(module); in HWCSession()
133 hwc2_device_t::common.close = Close; in HWCSession()
134 hwc2_device_t::getCapabilities = GetCapabilities; in HWCSession()
135 hwc2_device_t::getFunction = GetFunction; in HWCSession()
274 hwc2_device_t *composer_device = hwc_session; in Open()
286 hwc2_device_t *composer_device = reinterpret_cast<hwc2_device_t *>(device); in Close()
333 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
337 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
[all …]
Dhwc_session_services.cpp488 return CallDisplayFunction(static_cast<hwc2_device_t *>(this), display_id, in setDisplayAnimating()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h47 class HWC2On1Adapter : public hwc2_device_t
57 static inline HWC2On1Adapter* getAdapter(hwc2_device_t* device) { in getAdapter()
65 static void getCapabilitiesHook(hwc2_device_t* device, uint32_t* outCount, in getCapabilitiesHook()
77 static hwc2_function_pointer_t getFunctionHook(hwc2_device_t* device, in getFunctionHook()
87 static int32_t createVirtualDisplayHook(hwc2_device_t* device, in createVirtualDisplayHook()
98 static int32_t destroyVirtualDisplayHook(hwc2_device_t* device, in destroyVirtualDisplayHook()
106 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook()
112 static uint32_t getMaxVirtualDisplayCountHook(hwc2_device_t* device) { in getMaxVirtualDisplayCountHook()
118 static int32_t registerCallbackHook(hwc2_device_t* device, in registerCallbackHook()
466 static int32_t callDisplayFunction(hwc2_device_t* device, in callDisplayFunction()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcLoader.h85 hwc2_device_t* device = openDeviceWithAdapter(module, &adapted); in createHalWithAdapter()
100 static hwc2_device_t* openDeviceWithAdapter(const hw_module_t* module, bool* outAdapted) { in openDeviceWithAdapter()
120 return reinterpret_cast<hwc2_device_t*>(device); in openDeviceWithAdapter()
124 static hwc2_device_t* adaptGrallocModule(const hw_module_t* module) { in adaptGrallocModule()
135 static hwc2_device_t* adaptHwc1Device(hwc_composer_device_1* device) { in adaptHwc1Device()
DHwcHal.h65 hwc2_device_t* device; in initWithModule()
75 bool initWithDevice(hwc2_device_t* device, bool requireReliablePresentFence) { in initWithDevice()
606 hwc2_device_t* mDevice = nullptr;
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h43 class HWC2On1Adapter : public hwc2_device_t
53 static inline HWC2On1Adapter* getAdapter(hwc2_device_t* device) { in getAdapter()
61 static void getCapabilitiesHook(hwc2_device_t* device, uint32_t* outCount, in getCapabilitiesHook()
69 static hwc2_function_pointer_t getFunctionHook(hwc2_device_t* device, in getFunctionHook()
79 static int32_t createVirtualDisplayHook(hwc2_device_t* device, in createVirtualDisplayHook()
90 static int32_t destroyVirtualDisplayHook(hwc2_device_t* device, in destroyVirtualDisplayHook()
98 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook()
104 static uint32_t getMaxVirtualDisplayCountHook(hwc2_device_t* device) { in getMaxVirtualDisplayCountHook()
110 static int32_t registerCallbackHook(hwc2_device_t* device, in registerCallbackHook()
400 static int32_t callDisplayFunction(hwc2_device_t* device, in callDisplayFunction()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/include/hwc2onfbadapter/
DHWC2OnFbAdapter.h32 class HWC2OnFbAdapter : public hwc2_device_t {
37 static HWC2OnFbAdapter& cast(hwc2_device_t* device);
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcLoader.h60 hwc2_device_t* device = openDeviceWithAdapter(module, &adapted); in createHalWithAdapter()