Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 228) sorted by relevance

12345678910

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h58 virtual void onHotplug(Display display, IComposerCallback::Connection connected) = 0;
59 virtual void onRefresh(Display display) = 0;
60 virtual void onVsync(Display display, int64_t timestamp) = 0;
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,
[all …]
DComposerClient.h93 void onHotplug(Display display, IComposerCallback::Connection connected) { in onHotplug() argument
95 mResources->addPhysicalDisplay(display); in onHotplug()
97 mResources->removeDisplay(display); in onHotplug()
100 auto ret = mCallback->onHotplug(display, connected); in onHotplug()
104 void onRefresh(Display display) { in onRefresh() argument
105 mResources->setDisplayMustValidateState(display, true); in onRefresh()
106 auto ret = mCallback->onRefresh(display); in onRefresh()
110 void onVsync(Display display, int64_t timestamp) { in onVsync() argument
111 auto ret = mCallback->onVsync(display, timestamp); in onVsync()
134 Display display = 0; in createVirtualDisplay() local
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwcomposer.cpp201 hwc2_display_t display) { in Hwc2ImplDestroyVirtualDisplay() argument
202 auto iter = displays.find(display); in Hwc2ImplDestroyVirtualDisplay()
213 hotplug_callback(hotplug_data, display, HWC2_CONNECTION_DISCONNECTED); in Hwc2ImplDestroyVirtualDisplay()
261 hwc2_display_t display) { in Hwc2ImplAcceptDisplayChanges() argument
262 if (displays.find(display) == displays.end()) { in Hwc2ImplAcceptDisplayChanges()
269 int32_t Hwc2ImplCreateLayer(hwc2_device_t* /*device*/, hwc2_display_t display, in Hwc2ImplCreateLayer() argument
271 auto iter = displays.find(display); in Hwc2ImplCreateLayer()
282 int32_t Hwc2ImplDestroyLayer(hwc2_device_t* /*device*/, hwc2_display_t display, in Hwc2ImplDestroyLayer() argument
284 auto iter = displays.find(display); in Hwc2ImplDestroyLayer()
296 hwc2_display_t display, in Hwc2ImplGetActiveConfig() argument
[all …]
Dhwc_session.h44 using vendor::display::config::V1_1::IDisplayConfig;
46 using ::vendor::display::config::V1_0::IDisplayConfig;
87 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction() argument
93 if (display >= HWC_NUM_DISPLAY_TYPES) { in CallDisplayFunction()
97 SCOPE_LOCK(locker_[display]); in CallDisplayFunction()
100 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
101 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
108 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction() argument
115 SCOPE_LOCK(locker_[display]); in CallLayerFunction()
118 if (hwc_session->hwc_display_[display]) { in CallLayerFunction()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerHal.h40 Display display, std::vector<V2_2::IComposerClient::PerFrameMetadataKey>* outKeys) { in getPerFrameMetadataKeys() argument
42 display, reinterpret_cast<std::vector<IComposerClient::PerFrameMetadataKey>*>(outKeys)); in getPerFrameMetadataKeys()
45 Error setColorMode_2_2(Display display, common::V1_1::ColorMode mode, in setColorMode_2_2() argument
47 return setColorMode_2_3(display, static_cast<ColorMode>(mode), intent); in setColorMode_2_2()
50 Error getColorModes_2_2(Display display, hidl_vec<common::V1_1::ColorMode>* outModes) override { in getColorModes_2_2() argument
51 return getColorModes_2_3(display, reinterpret_cast<hidl_vec<ColorMode>*>(outModes)); in getColorModes_2_2()
54 Error getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height, in getClientTargetSupport_2_2() argument
57 return getClientTargetSupport_2_3(display, width, height, static_cast<PixelFormat>(format), in getClientTargetSupport_2_2()
61 Error getReadbackBufferAttributes(Display display, common::V1_1::PixelFormat* outFormat, in getReadbackBufferAttributes() argument
63 return getReadbackBufferAttributes_2_3(display, reinterpret_cast<PixelFormat*>(outFormat), in getReadbackBufferAttributes()
[all …]
DComposerClient.h42 Display display, IComposerClient::getPerFrameMetadataKeys_2_3_cb hidl_cb) override { in getPerFrameMetadataKeys_2_3() argument
44 Error error = mHal->getPerFrameMetadataKeys_2_3(display, &keys); in getPerFrameMetadataKeys_2_3()
49 Return<Error> setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_3() argument
50 return mHal->setColorMode_2_3(display, mode, intent); in setColorMode_2_3()
53 Return<void> getRenderIntents_2_3(Display display, ColorMode mode, in getRenderIntents_2_3() argument
56 Error err = mHal->getRenderIntents_2_3(display, mode, &intents); in getRenderIntents_2_3()
61 Return<void> getColorModes_2_3(Display display, in getColorModes_2_3() argument
64 Error err = mHal->getColorModes_2_3(display, &modes); in getColorModes_2_3()
70 Display display, IComposerClient::getReadbackBufferAttributes_2_3_cb hidl_cb) override { in getReadbackBufferAttributes_2_3() argument
73 Error error = mHal->getReadbackBufferAttributes_2_3(display, &format, &dataspace); in getReadbackBufferAttributes_2_3()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h64 Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) override { in getPerFrameMetadataKeys_2_3() argument
66 Error error = getPerFrameMetadataKeys(display, &castKeys); in getPerFrameMetadataKeys_2_3()
78 Display display, Layer layer, in setLayerPerFrameMetadata_2_3() argument
81 display, layer, in setLayerPerFrameMetadata_2_3()
86 Error setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_3() argument
87 return setColorMode_2_2(display, static_cast<common::V1_1::ColorMode>(mode), intent); in setColorMode_2_3()
90 Error getRenderIntents_2_3(Display display, ColorMode mode, in getRenderIntents_2_3() argument
92 return getRenderIntents(display, static_cast<common::V1_1::ColorMode>(mode), outIntents); in getRenderIntents_2_3()
95 Error getColorModes_2_3(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes_2_3() argument
96 return getColorModes_2_2(display, in getColorModes_2_3()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp80 Display display = it.first; in ~ComposerClient() local
84 EXPECT_EQ(Error::NONE, mClient->destroyLayer(display, layer)) in ~ComposerClient()
89 EXPECT_EQ(Error::NONE, mClient->destroyVirtualDisplay(display)) in ~ComposerClient()
90 << "failed to destroy virtual display " << display; in ~ComposerClient()
111 Display display = 0; in createVirtualDisplay() local
116 display = tmpDisplay; in createVirtualDisplay()
119 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay()
120 << "duplicated virtual display id " << display; in createVirtualDisplay()
123 return display; in createVirtualDisplay()
126 void ComposerClient::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay() argument
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h153 Error destroyVirtualDisplay(Display display) override { in destroyVirtualDisplay() argument
154 int32_t err = mDispatch.destroyVirtualDisplay(mDevice, display); in destroyVirtualDisplay()
158 Error createLayer(Display display, Layer* outLayer) override { in createLayer() argument
159 int32_t err = mDispatch.createLayer(mDevice, display, outLayer); in createLayer()
163 Error destroyLayer(Display display, Layer layer) override { in destroyLayer() argument
164 int32_t err = mDispatch.destroyLayer(mDevice, display, layer); in destroyLayer()
165 onLayerDestroyed(display, layer); in destroyLayer()
169 Error getActiveConfig(Display display, Config* outConfig) override { in getActiveConfig() argument
170 int32_t err = mDispatch.getActiveConfig(mDevice, display, outConfig); in getActiveConfig()
174 Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport() argument
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/
DComposerVts.cpp52 bool ComposerClient::getDisplayIdentificationData(Display display, uint8_t* outPort, in getDisplayIdentificationData() argument
56 display, [&](const auto& tmpError, const auto& tmpPort, const auto& tmpData) { in getDisplayIdentificationData()
71 std::vector<ColorMode> ComposerClient::getColorModes_2_3(Display display) { in getColorModes_2_3() argument
73 mClient->getColorModes_2_3(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes_2_3()
80 void ComposerClient::setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) { in setColorMode_2_3() argument
81 Error error = mClient->setColorMode_2_3(display, mode, intent); in setColorMode_2_3()
85 std::vector<RenderIntent> ComposerClient::getRenderIntents_2_3(Display display, ColorMode mode) { in getRenderIntents_2_3() argument
87 mClient->getRenderIntents_2_3(display, mode, [&](const auto& tmpError, const auto& tmpIntents) { in getRenderIntents_2_3()
94 void ComposerClient::getReadbackBufferAttributes_2_3(Display display, PixelFormat* outPixelFormat, in getReadbackBufferAttributes_2_3() argument
97 display, in getReadbackBufferAttributes_2_3()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerHal.h46 Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport() argument
49 return getClientTargetSupport_2_2(display, width, height, static_cast<PixelFormat>(format), in getClientTargetSupport()
53 Error setPowerMode(Display display, V2_1::IComposerClient::PowerMode mode) override { in setPowerMode() argument
54 return setPowerMode_2_2(display, static_cast<IComposerClient::PowerMode>(mode)); in setPowerMode()
58 Error getColorModes(Display display, hidl_vec<common::V1_0::ColorMode>* outModes) override { in getColorModes() argument
59 return getColorModes_2_2(display, reinterpret_cast<hidl_vec<ColorMode>*>(outModes)); in getColorModes()
63 Error setColorMode(Display display, common::V1_0::ColorMode mode) override { in setColorMode() argument
64 return setColorMode_2_2(display, static_cast<ColorMode>(mode), RenderIntent::COLORIMETRIC); in setColorMode()
68 Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) = 0;
70 Display display, Layer layer,
[all …]
DComposerClient.h52 Display display, IComposerClient::getPerFrameMetadataKeys_cb hidl_cb) override { in getPerFrameMetadataKeys() argument
54 Error error = mHal->getPerFrameMetadataKeys(display, &keys); in getPerFrameMetadataKeys()
60 Display display, IComposerClient::getReadbackBufferAttributes_cb hidl_cb) override { in getReadbackBufferAttributes() argument
63 Error error = mHal->getReadbackBufferAttributes(display, &format, &dataspace); in getReadbackBufferAttributes()
69 Display display, IComposerClient::getReadbackBufferFence_cb hidl_cb) override { in getReadbackBufferFence() argument
71 Error error = mHal->getReadbackBufferFence(display, &fenceFd); in getReadbackBufferFence()
82 Return<Error> setReadbackBuffer(Display display, const hidl_handle& buffer, in setReadbackBuffer() argument
93 error = resources->getDisplayReadbackBuffer(display, buffer.getNativeHandle(), in setReadbackBuffer()
99 return mHal->setReadbackBuffer(display, readbackBuffer, std::move(fenceFd)); in setReadbackBuffer()
105 Display display = 0; in createVirtualDisplay_2_2() local
[all …]
/hardware/libhardware/include/hardware/
Dhwcomposer2.h992 hwc2_display_t display, int32_t /*hwc2_connection_t*/ connected);
1011 hwc2_display_t display);
1031 hwc2_display_t display, int64_t timestamp);
1087 hwc2_device_t* device, hwc2_display_t display);
1205 hwc2_device_t* device, hwc2_display_t display);
1221 hwc2_display_t display, hwc2_layer_t* outLayer);
1237 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer);
1259 hwc2_device_t* device, hwc2_display_t display,
1291 hwc2_device_t* device, hwc2_display_t display,
1324 hwc2_device_t* device, hwc2_display_t display, uint32_t width,
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.h48 using vendor::display::config::V1_3::IDisplayConfig;
50 using vendor::display::config::V1_2::IDisplayConfig;
52 using vendor::display::config::V1_1::IDisplayConfig;
54 using ::vendor::display::config::V1_0::IDisplayConfig;
99 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction() argument
105 if (display >= HWC_NUM_DISPLAY_TYPES) { in CallDisplayFunction()
109 SCOPE_LOCK(locker_[display]); in CallDisplayFunction()
112 if (hwc_session->hwc_display_[display]) { in CallDisplayFunction()
113 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
120 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction() argument
[all …]
Dhwc_session.cpp324 int32_t HWCSession::GetDisplayBrightnessSupport(hwc2_device_t *device, hwc2_display_t display, in GetDisplayBrightnessSupport() argument
327 *out_support = display == HWC_DISPLAY_PRIMARY && hwc_session->brightness_fd_ != -1; in GetDisplayBrightnessSupport()
340 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges() argument
341 return HWCSession::CallDisplayFunction(device, display, &HWCDisplay::AcceptDisplayChanges); in AcceptDisplayChanges()
344 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer() argument
350 return CallDisplayFunction(device, display, &HWCDisplay::CreateLayer, out_layer_id); in CreateLayer()
377 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer() argument
379 return CallDisplayFunction(device, display, &HWCDisplay::DestroyLayer, layer); in DestroyLayer()
382 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay() argument
383 if (!device || display != HWC_DISPLAY_VIRTUAL) { in DestroyVirtualDisplay()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/include/composer-vts/2.3/
DComposerVts.h70 bool getDisplayIdentificationData(Display display, uint8_t* outPort,
73 uint64_t display, PixelFormat& format, Dataspace& dataspace,
76 uint64_t display, IComposerClient::DisplayedContentSampling enable,
78 Error getDisplayedContentSample(uint64_t display, uint64_t maxFrames, uint64_t timestamp,
84 std::vector<ColorMode> getColorModes_2_3(Display display);
86 void setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent);
88 std::vector<RenderIntent> getRenderIntents_2_3(Display display, ColorMode mode);
90 void getReadbackBufferAttributes_2_3(Display display, PixelFormat* outPixelFormat,
93 std::vector<Hdr> getHdrCapabilities_2_3(Display display, float* outMaxLuminance,
96 bool getClientTargetSupport_2_3(Display display, uint32_t width, uint32_t height,
[all …]
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp59 HWCDisplay* display = static_cast<HWCDisplay*>(data); in page_flip_handler() local
61 std::unique_lock<std::mutex> lock(display->mutex); in page_flip_handler()
63 if (display->is_flip_pending == false) { in page_flip_handler()
69 for (auto current_fb_info : display->current_fb_infos) in page_flip_handler()
71 display->current_fb_infos.clear(); in page_flip_handler()
74 for (auto pending_fb_info : display->pending_fb_infos) in page_flip_handler()
75 display->current_fb_infos.push_back(pending_fb_info); in page_flip_handler()
76 display->pending_fb_infos.clear(); in page_flip_handler()
78 display->is_flip_pending = false; in page_flip_handler()
80 display->cond_flip.notify_one(); in page_flip_handler()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h89 void destroyVirtualDisplay(Display display);
91 Layer createLayer(Display display, uint32_t bufferSlotCount);
92 void destroyLayer(Display display, Layer layer);
94 Config getActiveConfig(Display display);
95 bool getClientTargetSupport(Display display, uint32_t width, uint32_t height,
97 std::vector<ColorMode> getColorModes(Display display);
98 int32_t getDisplayAttribute(Display display, Config config,
100 std::vector<Config> getDisplayConfigs(Display display);
101 std::string getDisplayName(Display display);
102 IComposerClient::DisplayType getDisplayType(Display display);
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp52 Display display) { in getPerFrameMetadataKeys() argument
54 mClient->getPerFrameMetadataKeys(display, [&](const auto& tmpError, const auto& tmpKeys) { in getPerFrameMetadataKeys()
97 Display display = 0; in createVirtualDisplay_2_2() local
102 display = tmpDisplay; in createVirtualDisplay_2_2()
105 ASSERT_TRUE(mDisplayResources.insert({display, DisplayResource(true)}).second) in createVirtualDisplay_2_2()
106 << "duplicated virtual display id " << display; in createVirtualDisplay_2_2()
109 return display; in createVirtualDisplay_2_2()
112 bool ComposerClient::getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height, in getClientTargetSupport_2_2() argument
114 Error error = mClient->getClientTargetSupport_2_2(display, width, height, format, dataspace); in getClientTargetSupport_2_2()
118 void ComposerClient::setPowerMode_2_2(Display display, IComposerClient::PowerMode mode) { in setPowerMode_2_2() argument
[all …]
/hardware/interfaces/graphics/composer/2.1/
DIComposerCallback.hal23 /** The display has been connected */
25 /** The display has been disconnected */
30 * Notifies the client that the given display has either been connected or
31 * disconnected. Every active display (even a built-in physical display)
36 * and the onVsync callback should not be called for a display until vsync
43 * @param display is the display that triggers the hotplug event.
44 * @param connected indicates whether the display is connected or
48 onHotplug(Display display, Connection connected);
52 * state for this display to be resent, and the display to be validated
59 * @param display is the display to refresh.
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp91 int32_t getDisplayNameHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize, in getDisplayNameHook() argument
94 if (adapter.getDisplayId() != display) { in getDisplayNameHook()
108 int32_t getDisplayTypeHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outType) { in getDisplayTypeHook() argument
110 if (adapter.getDisplayId() != display) { in getDisplayTypeHook()
118 int32_t getDozeSupportHook(hwc2_device_t* device, hwc2_display_t display, int32_t* outSupport) { in getDozeSupportHook() argument
120 if (adapter.getDisplayId() != display) { in getDozeSupportHook()
128 int32_t getHdrCapabilitiesHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outNumTypes, in getHdrCapabilitiesHook() argument
132 if (adapter.getDisplayId() != display) { in getHdrCapabilitiesHook()
140 int32_t setPowerModeHook(hwc2_device_t* device, hwc2_display_t display, int32_t /*mode*/) { in setPowerModeHook() argument
142 if (adapter.getDisplayId() != display) { in setPowerModeHook()
[all …]
/hardware/qcom/display/msm8996/
DAndroid.mk1 display-hals := libcopybit liblight libmemtrack libqservice libqdutils
3 display-hals += libgralloc
5 display-hals += libgralloc1
8 display-hals += hdmi_cec
10 display-hals += $(sdm-libs)/utils $(sdm-libs)/core $(sdm-libs)/hwc $(sdm-libs)/hwc2
13 include $(call all-named-subdir-makefiles,$(display-hals))
16 include $(call all-named-subdir-makefiles,$(display-hals))
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h48 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction() argument
56 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallDisplayFunction()
57 auto hwc_display = hwc_session->hwc_display_[display]; in CallDisplayFunction()
64 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction() argument
73 if (display < HWC_NUM_DISPLAY_TYPES && hwc_session->hwc_display_[display]) { in CallLayerFunction()
75 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction()
78 if (hwc_session->hwc_display_[display]->geometry_changes_) { in CallLayerFunction()
79 hwc_session->hwc_display_[display]->validated_ = false; 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,
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h52 Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) override { in getPerFrameMetadataKeys() argument
58 int32_t error = mDispatch.getPerFrameMetadataKeys(mDevice, display, &count, nullptr); in getPerFrameMetadataKeys()
65 mDevice, display, &count, in getPerFrameMetadataKeys()
78 Display display, Layer layer, in setLayerPerFrameMetadata() argument
93 int32_t error = mDispatch.setLayerPerFrameMetadata(mDevice, display, layer, metadata.size(), in setLayerPerFrameMetadata()
98 Error getReadbackBufferAttributes(Display display, PixelFormat* outFormat, in getReadbackBufferAttributes() argument
107 mDispatch.getReadbackBufferAttributes(mDevice, display, &format, &dataspace); in getReadbackBufferAttributes()
115 Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle, in setReadbackBuffer() argument
122 mDispatch.setReadbackBuffer(mDevice, display, bufferHandle, fenceFd.release()); in setReadbackBuffer()
126 Error getReadbackBufferFence(Display display, base::unique_fd* outFenceFd) override { in getReadbackBufferFence() argument
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.cpp313 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges() argument
315 if (display >= HWC_NUM_DISPLAY_TYPES) { in AcceptDisplayChanges()
319 return HWCSession::CallDisplayFunction(device, display, &HWCDisplay::AcceptDisplayChanges); in AcceptDisplayChanges()
322 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer() argument
327 if (display >= HWC_NUM_DISPLAY_TYPES) { in CreateLayer()
331 return CallDisplayFunction(device, display, &HWCDisplay::CreateLayer, out_layer_id); in CreateLayer()
358 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer() argument
360 if (display >= HWC_NUM_DISPLAY_TYPES) { in DestroyLayer()
364 return CallDisplayFunction(device, display, &HWCDisplay::DestroyLayer, layer); in DestroyLayer()
367 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay() argument
[all …]

12345678910