Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 25 of 87) sorted by relevance

1234

/hardware/google/aemu/host-common/testing/
DMockAndroidMultiDisplayAgent.cpp105 uint32_t* displayId) -> bool { in __anonc182111b0702()
109 .createDisplay = [](uint32_t* displayId) -> int { in __anonc182111b0902()
110 mMultiDisplay.emplace(*displayId, android::MultiDisplayInfo()); in __anonc182111b0902()
113 .destroyDisplay = [](uint32_t displayId) -> int { in __anonc182111b0a02()
114 mMultiDisplay.erase(displayId); in __anonc182111b0a02()
117 .setDisplayPose = [](uint32_t displayId,
123 mMultiDisplay[displayId].pos_x = x; in __anonc182111b0b02()
124 mMultiDisplay[displayId].pos_y = y; in __anonc182111b0b02()
125 mMultiDisplay[displayId].width = w; in __anonc182111b0b02()
126 mMultiDisplay[displayId].height = h; in __anonc182111b0b02()
[all …]
/hardware/google/gfxstream/host/
DGfxStreamAgents.cpp144 [](uint32_t* x, uint32_t* y, uint32_t* displayId) -> bool { in __anon8c00e9f90702()
148 .createDisplay = [](uint32_t* displayId) -> int { in __anon8c00e9f90902()
149 if (displayId == nullptr) { in __anon8c00e9f90902()
158 if (mMultiDisplay.find(*displayId) != mMultiDisplay.end()) { in __anon8c00e9f90902()
162 if (*displayId == MultiDisplay::s_invalidIdMultiDisplay) { in __anon8c00e9f90902()
165 *displayId = i; in __anon8c00e9f90902()
170 if (*displayId == MultiDisplay::s_invalidIdMultiDisplay) { in __anon8c00e9f90902()
176 mMultiDisplay.emplace(*displayId, android::MultiDisplayInfo()); in __anon8c00e9f90902()
179 .destroyDisplay = [](uint32_t displayId) -> int { in __anon8c00e9f90a02()
180 mMultiDisplay.erase(displayId); in __anon8c00e9f90a02()
[all …]
DReadbackWorker.h31 virtual void initReadbackForDisplay(uint32_t displayId, uint32_t w, uint32_t h) = 0;
34 virtual void deinitReadbackForDisplay(uint32_t displayId) = 0;
52 virtual DoNextReadbackResult doNextReadback(uint32_t displayId,
62 virtual void getPixels(uint32_t displayId, void* out, uint32_t bytes) = 0;
76 virtual FlushResult flushPipeline(uint32_t displayId) = 0;
DHwc2.cpp22 flatComposeRequest->displayId = 0; in ToFlatComposeRequest()
33 flatComposeRequest->displayId = composeRequest->displayId; in ToFlatComposeRequest()
DFrameBuffer.h188 void setPostCallback(Renderer::OnPostCallback onPost, void* onPostContext, uint32_t displayId,
324 void doPostCallback(void* pixels, uint32_t displayId);
326 void getPixels(void* pixels, uint32_t bytes, uint32_t displayId);
327 void flushReadPipeline(int displayId);
423 uint8_t* pixels, size_t* cPixels, int displayId, int desiredWidth,
436 int createDisplay(uint32_t *displayId);
437 int createDisplay(uint32_t displayId);
438 int destroyDisplay(uint32_t displayId);
439 int setDisplayColorBuffer(uint32_t displayId, uint32_t colorBuffer);
440 int getDisplayColorBuffer(uint32_t displayId, uint32_t* colorBuffer);
[all …]
DFrameBuffer.cpp579 uint32_t displayId = 0; local
580 if (createDisplay(&displayId) < 0) {
584 setDisplayPose(displayId, 0, 0, getWidth(), getHeight(), 0);
661 m_readbackWorker->getPixels(readback.displayId, readback.pixelsOut, readback.bytes); in sendReadbackWorkerCmd()
664 … m_readbackWorker->initReadbackForDisplay(readback.displayId, readback.width, readback.height); in sendReadbackWorkerCmd()
667 m_readbackWorker->deinitReadbackForDisplay(readback.displayId); in sendReadbackWorkerCmd()
788 uint32_t displayId, bool useBgraReadback) { in setPostCallback() argument
792 if (!emugl::get_emugl_multi_display_operations().getMultiDisplay(displayId, in setPostCallback()
799 ERR("display %d not exist, cancelling OnPost callback", displayId); in setPostCallback()
802 if (m_onPost.find(displayId) != m_onPost.end()) { in setPostCallback()
[all …]
/hardware/google/aemu/host-common/
DMultiDisplay.cpp249 bool MultiDisplay::translateCoordination(uint32_t* x, uint32_t* y, uint32_t* displayId) { in translateCoordination() argument
251 *displayId = 0; in translateCoordination()
271 *displayId = iter.first; in translateCoordination()
288 int MultiDisplay::createDisplay(uint32_t* displayId) { in createDisplay() argument
293 if (displayId == nullptr) { in createDisplay()
305 if (mMultiDisplay.find(*displayId) != mMultiDisplay.end()) { in createDisplay()
310 if (*displayId == s_invalidIdMultiDisplay) { in createDisplay()
313 *displayId = i; in createDisplay()
318 if (*displayId == s_invalidIdMultiDisplay) { in createDisplay()
324 mMultiDisplay.emplace(*displayId, MultiDisplayInfo()); in createDisplay()
[all …]
/hardware/google/gfxstream/host/gl/
DReadbackWorkerGl.cpp32 ReadbackWorkerGl::TrackedDisplay::TrackedDisplay(uint32_t displayId, uint32_t w, uint32_t h) in TrackedDisplay() argument
36 mDisplayId(displayId) {} in TrackedDisplay()
53 void ReadbackWorkerGl::initReadbackForDisplay(uint32_t displayId, uint32_t w, uint32_t h) { in initReadbackForDisplay() argument
56 auto [it, inserted] = mTrackedDisplays.emplace(displayId, TrackedDisplay(displayId, w, h)); in initReadbackForDisplay()
58 ERR("Double init of TrackeDisplay for display:%d", displayId); in initReadbackForDisplay()
72 void ReadbackWorkerGl::deinitReadbackForDisplay(uint32_t displayId) { in deinitReadbackForDisplay() argument
75 auto it = mTrackedDisplays.find(displayId); in deinitReadbackForDisplay()
77 ERR("Double deinit of TrackedDisplay for display:%d", displayId); in deinitReadbackForDisplay()
91 ReadbackWorkerGl::doNextReadback(uint32_t displayId, in doNextReadback() argument
129 TrackedDisplay& r = mTrackedDisplays[displayId]; in doNextReadback()
[all …]
DReadbackWorkerGl.h61 DoNextReadbackResult doNextReadback(uint32_t displayId,
72 void getPixels(uint32_t displayId, void* out, uint32_t bytes) override;
78 FlushResult flushPipeline(uint32_t displayId) override;
80 void initReadbackForDisplay(uint32_t displayId, uint32_t w, uint32_t h) override;
82 void deinitReadbackForDisplay(uint32_t displayId) override;
87 TrackedDisplay(uint32_t displayId, uint32_t w, uint32_t h);
/hardware/google/aemu/host-common/include/host-common/
Dmulti_display_agent.h55 bool (*translateCoordination)(uint32_t* x, uint32_t*y, uint32_t* displayId);
57 int (*createDisplay)(uint32_t* displayId);
58 int (*destroyDisplay)(uint32_t displayId);
59 int (*setDisplayPose)(uint32_t displayId,
65 int (*getDisplayPose)(uint32_t displayId,
70 int (*getDisplayColorBuffer)(uint32_t displayId, uint32_t* colorBuffer);
71 int (*getColorBufferDisplay)(uint32_t colorBuffer, uint32_t* displayId);
72 int (*setDisplayColorBuffer)(uint32_t displayId, uint32_t colorBuffer);
DMultiDisplay.h61 uint32_t displayId; member
101 bool translateCoordination(uint32_t* x, uint32_t* y, uint32_t* displayId);
103 int createDisplay(uint32_t* displayId);
104 int setDisplayPose(uint32_t displayId,
111 int destroyDisplay(uint32_t displayId);
112 int getDisplayPose(uint32_t displayId,
117 int getDisplayColorBuffer(uint32_t displayId, uint32_t* colorBuffer);
118 int getColorBufferDisplay(uint32_t colorBuffer, uint32_t* displayId);
119 int setDisplayColorBuffer(uint32_t displayId, uint32_t colorBuffer);
Dscreen-recorder.h55 uint32_t displayId; member
67 uint32_t displayId; member
/hardware/google/graphics/common/libhwc2.1/libhwcService/
DIExynosHWC.h71 virtual int32_t ignoreDisplayBrightnessUpdateRequests(int32_t displayId, bool ignore) = 0;
72 virtual int32_t setDisplayBrightnessNits(int32_t displayId, float nits) = 0;
73 virtual int32_t setDisplayBrightnessDbv(int32_t displayId, uint32_t dbv) = 0;
80 virtual int32_t setDisplayMultiThreadedPresent(const int32_t& displayId,
82 virtual int32_t triggerRefreshRateIndicatorUpdate(uint32_t displayId, uint32_t refreshRate) = 0;
83 virtual int32_t dumpBuffers(uint32_t displayId, int32_t count) = 0;
84 virtual int32_t setPresentTimeoutController(uint32_t displayId, uint32_t controllerType) = 0;
86 uint32_t displayId, int timeoutNs,
88 virtual int32_t setFixedTe2Rate(uint32_t displayId, int32_t rateHz) = 0;
DIExynosHWC.cpp384 virtual int setDDIScaler(uint32_t displayId, uint32_t width, uint32_t height) { in setDDIScaler() argument
387 data.writeUint32(displayId); in setDDIScaler()
420 virtual int32_t ignoreDisplayBrightnessUpdateRequests(int32_t displayId, bool ignore) { in ignoreDisplayBrightnessUpdateRequests() argument
423 data.writeInt32(displayId); in ignoreDisplayBrightnessUpdateRequests()
430 virtual int32_t setDisplayBrightnessNits(int32_t displayId, float nits) { in setDisplayBrightnessNits() argument
433 data.writeInt32(displayId); in setDisplayBrightnessNits()
440 virtual int32_t setDisplayBrightnessDbv(int32_t displayId, uint32_t dbv) { in setDisplayBrightnessDbv() argument
443 data.writeInt32(displayId); in setDisplayBrightnessDbv()
514 virtual int32_t setDisplayMultiThreadedPresent(const int32_t& displayId, in setDisplayMultiThreadedPresent() argument
518 data.writeInt32(displayId); in setDisplayMultiThreadedPresent()
[all …]
DExynosHWCService.cpp418 int32_t ExynosHWCService::ignoreDisplayBrightnessUpdateRequests(int32_t displayId, bool ignore) { in ignoreDisplayBrightnessUpdateRequests() argument
419 ALOGD("ExynosHWCService::%s() displayId(%u) ignore(%u)", __func__, displayId, ignore); in ignoreDisplayBrightnessUpdateRequests()
421 auto display = mHWCCtx->device->getDisplay(displayId); in ignoreDisplayBrightnessUpdateRequests()
537 int32_t ExynosHWCService::setDisplayMultiThreadedPresent(const int32_t& displayId, in setDisplayMultiThreadedPresent() argument
539 auto display = mHWCCtx->device->getDisplay(displayId); in setDisplayMultiThreadedPresent()
544 ALOGD("ExynosHWCService::%s() display(%u) enable=%d", __func__, displayId, enable); in setDisplayMultiThreadedPresent()
548 int32_t ExynosHWCService::triggerRefreshRateIndicatorUpdate(uint32_t displayId, in triggerRefreshRateIndicatorUpdate() argument
550 auto display = mHWCCtx->device->getDisplay(displayId); in triggerRefreshRateIndicatorUpdate()
554 ALOGD("ExynosHWCService::%s() displayID(%u) refreshRate(%u)", __func__, displayId, refreshRate); in triggerRefreshRateIndicatorUpdate()
561 int32_t ExynosHWCService::dumpBuffers(uint32_t displayId, int32_t count) { in dumpBuffers() argument
[all …]
DExynosHWCService.h73 virtual int32_t ignoreDisplayBrightnessUpdateRequests(int32_t displayId, bool ignore);
87 virtual int32_t triggerRefreshRateIndicatorUpdate(uint32_t displayId,
89 virtual int32_t dumpBuffers(uint32_t displayId, int32_t count) override;
91 int32_t setPresentTimeoutController(uint32_t displayId, uint32_t controllerType) override;
93 int32_t setPresentTimeoutParameters(uint32_t displayId, int __unused timeoutNs,
96 virtual int32_t setFixedTe2Rate(uint32_t displayId, int32_t rateHz);
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/
Dopengles.h66 typedef void (*OnPostFunc)(void* context, uint32_t displayId, int width,
72 uint32_t displayId);
74 typedef void (*ReadPixelsFunc)(void* pixels, uint32_t bytes, uint32_t displayId);
78 typedef void (*FlushReadPixelPipeline)(int displayId);
123 typedef bool (*ScreenshotFunc)(const char* dirname, uint32_t displayId);
125 AEMU_EXPORT bool android_screenShot(const char* dirname, uint32_t displayId);
/hardware/google/gfxstream/guest/renderControl_enc/
DrenderControl_entry.cpp46 int rcCreateDisplay(uint32_t* displayId);
47 int rcDestroyDisplay(uint32_t displayId);
48 int rcSetDisplayColorBuffer(uint32_t displayId, uint32_t colorBuffer);
49 int rcGetDisplayColorBuffer(uint32_t displayId, uint32_t* colorBuffer);
50 int rcGetColorBufferDisplay(uint32_t colorBuffer, uint32_t* displayId);
51 int rcGetDisplayPose(uint32_t displayId, GLint* x, GLint* y, uint32_t* w, uint32_t* h);
52 int rcSetDisplayPose(uint32_t displayId, GLint x, GLint y, uint32_t w, uint32_t h);
70 int rcCreateDisplayById(uint32_t displayId);
71 …int rcSetDisplayPoseDpi(uint32_t displayId, GLint x, GLint y, uint32_t w, uint32_t h, uint32_t dpi…
314 int rcCreateDisplay(uint32_t* displayId) in rcCreateDisplay() argument
[all …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.h287 void onHotPlug(uint32_t displayId, bool status, int hotplugErrorCode);
288 void onRefresh(uint32_t displayId);
291 void onVsync(uint32_t displayId, int64_t timestamp);
292 bool onVsync_2_4(uint32_t displayId, int64_t timestamp, uint32_t vsyncPeriod);
293 void onVsyncPeriodTimingChanged(uint32_t displayId,
296 void onContentProtectionUpdated(uint32_t displayId, HdcpLevels hdcpLevels);
304 bool checkDisplayConnection(uint32_t displayId);
310 void setDynamicRecomposition(uint32_t displayId, unsigned int on);
340 uint32_t getSpecialPlaneNum(uint32_t displayId);
346 void onVsyncIdle(hwc2_display_t displayId);
[all …]
DExynosDevice.cpp548 void ExynosDevice::onHotPlug(uint32_t displayId, bool status, int hotplugErrorCode) { in onHotPlug() argument
555 ExynosDisplay* hotpluggedDisplay = getDisplay(displayId); in onHotPlug()
601 callbackFunc(callbackInfo.callbackData, displayId, in onHotPlug()
620 vsyncCallbackFunc(vsyncCallbackData, displayId, -hotplugErrorCode, ~0); in onHotPlug()
632 callbackFunc(callbackData, displayId, in onHotPlug()
642 void ExynosDevice::onRefresh(uint32_t displayId) { in onRefresh() argument
647 if (!checkDisplayConnection(displayId)) return; in onRefresh()
649 ExynosDisplay *display = (ExynosDisplay *)getDisplay(displayId); in onRefresh()
658 callbackFunc(callbackData, displayId); in onRefresh()
661 void ExynosDevice::onVsync(uint32_t displayId, int64_t timestamp) { in onVsync() argument
[all …]
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DGlWrapper.h37 uint64_t displayId);
47 uint64_t displayId);
49 uint64_t displayId);
/hardware/google/gfxstream/codegen/renderControl/
DrenderControl.in39 GL_ENTRY(int, rcCreateDisplay, uint32_t* displayId);
40 GL_ENTRY(int, rcDestroyDisplay, uint32_t displayId);
41 GL_ENTRY(int, rcSetDisplayColorBuffer, uint32_t displayId, uint32_t colorBuffer);
42 GL_ENTRY(int, rcGetDisplayColorBuffer, uint32_t displayId, uint32_t* colorBuffer);
43 GL_ENTRY(int, rcGetColorBufferDisplay, uint32_t colorBuffer, uint32_t* displayId);
44 GL_ENTRY(int, rcGetDisplayPose, uint32_t displayId, GLint* x, GLint* y, uint32_t* w, uint32_t* h);
45 GL_ENTRY(int, rcSetDisplayPose, uint32_t displayId, GLint x, GLint y, uint32_t w, uint32_t h);
63 GL_ENTRY(int, rcCreateDisplayById, uint32_t displayId);
64 GL_ENTRY(int, rcSetDisplayPoseDpi, uint32_t displayId, GLint x, GLint y, uint32_t w, uint32_t h, ui…
DrenderControl.attrib73 dir displayId out
74 len displayId sizeof(uint32_t)
81 dir displayId out
82 len displayId sizeof(uint32_t)
/hardware/google/gfxstream/include/render-utils/
DRenderer.h132 uint32_t displayId,
142 uint32_t displayId) = 0;
161 uint32_t displayId);
164 using FlushReadPixelPipeline = void (*)(int displayId);
308 uint8_t* pixels, size_t* cPixels, int displayId = 0,
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_TargetTest.cpp1537 const auto displayId = displayIdOpt.value_or(getPrimaryDisplayId()); local
1538 auto& writer = getWriter(displayId);
1539 writer.validateDisplay(displayId, expectedPresentTime, frameIntervalNs);
1543 writer.presentDisplay(displayId);
1547 auto presentFence = mReader.takePresentFence(displayId);
1730 const auto displayId = display.getDisplayId(); in forEachNotifyExpectedPresentConfig() local
1731 EXPECT_TRUE(mComposerClient->setPowerMode(displayId, PowerMode::ON).isOk()); in forEachNotifyExpectedPresentConfig()
1733 mComposerClient->getDisplayConfigurations(displayId); in forEachNotifyExpectedPresentConfig()
1739 mComposerClient->getDisplayVsyncPeriod(displayId); in forEachNotifyExpectedPresentConfig()
1749 waitForVsyncPeriodChange(displayId, timeline, systemTime(), oldVsyncPeriod, in forEachNotifyExpectedPresentConfig()
[all …]

1234