Home
last modified time | relevance | path

Searched refs:mDisplay (Results 1 – 25 of 75) sorted by relevance

123

/hardware/google/graphics/common/libhwc2.1/
Dpixel-display.cpp84 if (mDisplay) { in isLbeSupported()
85 *_aidl_return = mDisplay->isLbeSupported(); in isLbeSupported()
93 if (mDisplay) { in setLbeState()
94 mDisplay->setLbeState(state); in setLbeState()
101 if (mDisplay) { in setLbeAmbientLight()
102 mDisplay->setLbeAmbientLight(ambientLux); in setLbeAmbientLight()
109 if (mDisplay) { in getLbeState()
110 *_aidl_return = mDisplay->getLbeState(); in getLbeState()
117 if (mDisplay) { in isLhbmSupported()
118 *_aidl_return = mDisplay->isLhbmSupported(); in isLhbmSupported()
[all …]
Dhistogram_mediator.cpp19 mDisplay = display; in HistogramMediator()
28 static_cast<ExynosDisplayDrmInterface *>(mDisplay->mDisplayInterface.get()); in getFrameCount()
33 if (mDisplay->isSecureContentPresenting()) { in requestHist()
37 static_cast<ExynosDisplayDrmInterface *>(mDisplay->mDisplayInterface.get()); in requestHist()
52 static_cast<ExynosDisplayDrmInterface *>(mDisplay->mDisplayInterface.get()); in cancelHistRequest()
93 return (!mDisplay->isPowerModeOff() && !mIDLHistogram->mHistReq_pending); in collectRoiLuma()
104 static_cast<ExynosDisplayDrmInterface *>(mDisplay->mDisplayInterface.get()); in calRoi()
/hardware/google/graphics/zumapro/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp59 mDisplay(display), in OperationRateManager()
72 OP_MANAGER_LOGI(mDisplay, "Op Rate: NS=%d HS=%d NsMinDbv=%d", mDisplayNsOperationRate, in OperationRateManager()
99 DISPLAY_STR_LOGD(DISP_STR(mDisplay), eDebugOperationRate, "OperationRateManager: rate=%d", in onPeakRefreshRate()
104 OP_MANAGER_LOGE(mDisplay, in onPeakRefreshRate()
112 DISPLAY_STR_LOGD(DISP_STR(mDisplay), eDebugOperationRate, "enabled=%d", enabled); in onLowPowerMode()
121 int32_t targetRefreshRate = mDisplay->getRefreshRate(cfg); in onConfig()
124 mHistogramQueryWorker->updateConfig(mDisplay->mXres, mDisplay->mYres); in onConfig()
129 DISPLAY_STR_LOGD(DISP_STR(mDisplay), eDebugOperationRate, "OperationRateManager: rate=%d", in onConfig()
138 DISPLAY_STR_LOGD(DISP_STR(mDisplay), eDebugOperationRate, "OperationRateManager: dbv=%d", dbv); in onBrightness()
159 DISPLAY_STR_LOGD(DISP_STR(mDisplay), eDebugOperationRate, in onBrightness()
[all …]
/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/
DComposerClientReader.h44 explicit ComposerClientReader(std::optional<int64_t> display = {}) : mDisplay(display) {} in mDisplay() function
95 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in hasChanges()
111 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takeChangedCompositionTypes()
123 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takeDisplayRequests()
135 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takeReleaseFences()
147 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takePresentFence()
159 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takePresentOrValidateStage()
170 LOG_ALWAYS_FATAL_IF(mDisplay && display != *mDisplay); in takeClientTargetProperty()
194 LOG_ALWAYS_FATAL_IF(mDisplay && changedCompositionTypes.display != *mDisplay); in parseSetChangedCompositionTypes()
200 LOG_ALWAYS_FATAL_IF(mDisplay && displayRequest.display != *mDisplay); in parseSetDisplayRequests()
[all …]
/hardware/google/gfxstream/host/testlibs/x11/
DX11Window.cpp158 mDisplay(nullptr), in X11Window()
169 mDisplay(nullptr), in X11Window()
185 mDisplay = XOpenDisplay(nullptr); in initialize()
186 if (!mDisplay) in initialize()
192 int screen = DefaultScreen(mDisplay); in initialize()
193 Window root = RootWindow(mDisplay, screen); in initialize()
198 visual = DefaultVisual(mDisplay, screen); in initialize()
206 … XVisualInfo *visuals = XGetVisualInfo(mDisplay, VisualIDMask, &visualTemplate, &numVisuals); in initialize()
217 int depth = DefaultDepth(mDisplay, screen); in initialize()
218 Colormap colormap = XCreateColormap(mDisplay, root, visual, AllocNone); in initialize()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglOsApi_egl.cpp246 mDisplay(display), in EglOsEglContext()
251 if (!mDispatcher->eglDestroyContext(mDisplay, mNativeCtx)) { in ~EglOsEglContext()
263 EGLDisplay mDisplay; member in __anon4d714c1e0111::EglOsEglContext
328 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in __anon4d714c1e0111::EglOsEglDisplay
351 mDisplay = mDispatcher.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in EglOsEglDisplay()
355 if (mDisplay == EGL_NO_DISPLAY) { in EglOsEglDisplay()
371 mDisplay = mDispatcher.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in EglOsEglDisplay()
375 if (mDisplay == EGL_NO_DISPLAY) { in EglOsEglDisplay()
381 if (mDisplay == EGL_NO_DISPLAY) in EglOsEglDisplay()
382 mDisplay = mDispatcher.eglGetDisplay(EGL_DEFAULT_DISPLAY); in EglOsEglDisplay()
[all …]
DEglOsApi_glx.cpp268 mDisplay(display), in GlxContext()
275 getGlxApi()->glXDestroyContext(mDisplay, mContext); in ~GlxContext()
282 X11Display* mDisplay = nullptr; member in __anonf3e8b6d10111::GlxContext
290 explicit GlxDisplay(X11Display* disp) : mDisplay(disp) {} in GlxDisplay()
297 getGlxApi()->glXDestroyPbuffer(mDisplay, in ~GlxDisplay()
304 getGlxApi()->glXDestroyPbuffer(mDisplay, in ~GlxDisplay()
309 getX11Api()->XCloseDisplay(mDisplay); in ~GlxDisplay()
327 GLXFBConfig* frmtList = glx->glXGetFBConfigs(mDisplay, DefaultScreen(mDisplay), &n); in queryConfigs()
332 mDisplay, in queryConfigs()
343 glx->glXQueryVersion(mDisplay, in queryConfigs()
[all …]
/hardware/google/graphics/common/libhwc2.1/libvrr/display/exynos/
DExynosDisplayContextProvider.cpp26 if (!mDisplay || !(mDisplay->mBrightnessController)) { in getBrightnessMode()
29 auto res = mDisplay->mBrightnessController->getBrightnessNitsAndMode(); in getBrightnessMode()
48 if (!mDisplay || !(mDisplay->mBrightnessController)) { in getBrightnessNits()
51 auto res = mDisplay->mBrightnessController->getBrightnessNitsAndMode(); in getBrightnessNits()
73 if (!mDisplay) return nullptr; in getDisplayConfigs()
74 return &(mDisplay->mDisplayConfigs); in getDisplayConfigs()
DExynosDisplayContextProvider.h33 mDisplay(static_cast<ExynosDisplay*>(display)), in ExynosDisplayContextProvider()
34 mDisplayFileNodePath(mDisplay->getPanelSysfsPath()){}; in ExynosDisplayContextProvider()
63 ExynosDisplay* mDisplay;
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp40 mDisplay(display), in ExynosLayer()
100 fence_close(mAcquireFence, mDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_UNDEFINED); in ~ExynosLayer()
104 mPrevAcquireFence = fence_close(mPrevAcquireFence, mDisplay, FENCE_TYPE_SRC_ACQUIRE, in ~ExynosLayer()
147 if ((mDisplay->mDisplayControl.handleLowFpsLayers) && in checkFps()
216 HWC_LOGE(mDisplay, "Layer's metadata is NULL!!"); in doPreProcess()
218 HWC_LOGE(mDisplay, "Layer's metadata map failed!!"); in doPreProcess()
298 if ((mDisplay->mDisplayControl.adjustDisplayFrame == true) && in doPreProcess()
313 if (mPreprocessedInfo.displayFrame.right > (int)(mDisplay->mXres)) { in doPreProcess()
314 mPreprocessedInfo.displayFrame.left = mDisplay->mXres - in doPreProcess()
316 mPreprocessedInfo.displayFrame.right = mDisplay->mXres; in doPreProcess()
[all …]
DDisplayTe2Manager.cpp21 : mDisplay(display), in DisplayTe2Manager()
39 if (!mDisplay) { in setTe2Option()
42 } else if (!mDisplay->registerRefreshRateChangeListener( in setTe2Option()
92 if (!mDisplay) { in setChangeableTe2Rate()
101 targetTe2RateHz == mDisplay->getRefreshRate(mDisplay->mActiveConfig)) { in setChangeableTe2Rate()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DGlWrapper.cpp231 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
232 if (mDisplay == EGL_NO_DISPLAY) { in initialize()
239 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize()
258 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
265 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize()
275 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize()
282 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
313 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown()
319 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown()
321 eglDestroySurface(mDisplay, mSurface); in shutdown()
[all …]
/hardware/google/gfxstream/host/gl/
DDisplaySurfaceGl.cpp50 : mDisplay(display), in DisplaySurfaceGlContextHelper()
53 if (mDisplay == EGL_NO_DISPLAY) { in DisplaySurfaceGlContextHelper()
85 if (!s_egl.eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in setupContext()
121 if (!s_egl.eglMakeCurrent(mDisplay, in teardownContext()
132 EGLDisplay mDisplay = EGL_NO_DISPLAY; member in gfxstream::gl::__anonde5edafa0111::DisplaySurfaceGlContextHelper
190 if (!s_egl.eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in bindContext()
200 : mDisplay(display), in DisplaySurfaceGl()
206 if (mDisplay != EGL_NO_DISPLAY) { in ~DisplaySurfaceGl()
208 s_egl.eglDestroySurface(mDisplay, mSurface); in ~DisplaySurfaceGl()
211 s_egl.eglDestroyContext(mDisplay, mContext); in ~DisplaySurfaceGl()
DEmulatedEglWindowSurface.cpp41 mDisplay(display), in EmulatedEglWindowSurface()
46 s_egl.eglDestroySurface(mDisplay, mSurface); in ~EmulatedEglWindowSurface()
130 if (!s_egl.eglMakeCurrent(mDisplay, in flushColorBuffer()
143 s_egl.eglMakeCurrent(mDisplay, prevDrawSurf, prevReadSurf, prevContext); in flushColorBuffer()
166 mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in resize()
173 s_egl.eglDestroySurface(mDisplay, mSurface); in resize()
184 mSurface = s_egl.eglCreatePbufferSurface(mDisplay, in resize()
197 mDisplay, in resize()
227 s_egl.eglSaveConfig(mDisplay, mConfig, stream); in onSave()
DEmulatedEglFenceSync.cpp119 mDisplay(display), in EmulatedEglFenceSync()
141 s_egl.eglClientWaitSyncKHR(mDisplay, mSync, in wait()
149 s_egl.eglWaitSyncKHR(mDisplay, mSync, 0); in waitAsync()
156 mDisplay, mSync, EGL_SYNC_STATUS_KHR, &val)) in isSignaled()
163 s_egl.eglDestroySyncKHR(mDisplay, mSync); in destroy()
/hardware/interfaces/automotive/evs/1.1/default/
DGlWrapper.cpp230 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
231 if (mDisplay == EGL_NO_DISPLAY) { in initialize()
238 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize()
250 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
257 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize()
268 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize()
275 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
306 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown()
311 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown()
312 eglDestroySurface(mDisplay, mSurface); in shutdown()
[all …]
/hardware/google/graphics/common/hwc3/
DUtil.h74 : mName(name), mDisplay(display) { in DebugFunction()
75 if (mDisplay) { in DebugFunction()
76 LOG(INFO) << mName << "(display=" << *mDisplay << ",..) Enter"; in DebugFunction()
83 if (mDisplay) { in ~DebugFunction()
84 LOG(INFO) << mName << "(display=" << *mDisplay << ",..) Exit"; in ~DebugFunction()
92 std::optional<int64_t> mDisplay; variable
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.cpp30 writer.setLayerDisplayFrame(mDisplay, mLayer, mDisplayFrame); in write()
31 writer.setLayerSourceCrop(mDisplay, mLayer, mSourceCrop); in write()
32 writer.setLayerZOrder(mDisplay, mLayer, mZOrder); in write()
33 writer.setLayerSurfaceDamage(mDisplay, mLayer, mSurfaceDamage); in write()
34 writer.setLayerTransform(mDisplay, mLayer, mTransform); in write()
35 writer.setLayerPlaneAlpha(mDisplay, mLayer, mAlpha); in write()
36 writer.setLayerBlendMode(mDisplay, mLayer, mBlendMode); in write()
37 writer.setLayerBrightness(mDisplay, mLayer, mBrightness); in write()
38 writer.setLayerDataspace(mDisplay, mLayer, mDataspace); in write()
216 mDisplay = display; in ReadbackBuffer()
[all …]
/hardware/google/graphics/common/libhwc2.1/libvrr/display/
DDisplayContextProviderFactory.h41 : mDisplay(display), in DisplayContextProviderFactory()
51 ExynosDisplayContextProvider>(mDisplay, mDisplayConfigurationsOwner, in buildDisplayContextProvider()
61 void* mDisplay;
/hardware/google/graphics/zuma/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp26 ALOGD("[%s] OperationRateManager::%s:" msg, mDisplay->mDisplayName.c_str(), __func__, \
29 ALOGI("[%s] OperationRateManager::%s:" msg, mDisplay->mDisplayName.c_str(), __func__, \
32 ALOGE("[%s] OperationRateManager::%s:" msg, mDisplay->mDisplayName.c_str(), __func__, \
80 mDisplay(display), in OperationRateManager()
119 mDisplayRefreshRate = mDisplay->getRefreshRate(cfg); in onConfig()
184 int32_t curRefreshRate = mDisplay->getRefreshRate(mDisplay->mActiveConfig); in updateOperationRateLocked()
232 if (!mDisplay->isConfigSettingEnabled() && effectiveOpRate == mDisplayNsOperationRate) { in updateOperationRateLocked()
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.cpp74 PipeBook::getDestStr((eDest)i), mPipeBook[i].mDisplay); in configDone()
92 if((mPipeBook[i].mDisplay == PipeBook::DPY_UNUSED || in nextPipe()
93 mPipeBook[i].mDisplay == dpy) && in nextPipe()
106 mPipeBook[index].mDisplay = dpy; in nextPipe()
132 int dpy = mPipeBook[index].mDisplay; in commit()
134 if (mPipeBook[i].mDisplay == dpy) in commit()
286 snprintf(str, 64, "Attached to dpy=%d\n\n", mPipeBook[i].mDisplay); in getDump()
298 mDisplay = DPY_UNUSED; in init()
306 mDisplay = DPY_UNUSED; in destroy()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.h70 if (mDisplay->isVrrSupported()) { in enableRefreshRateCalculator()
74 mDisplay->mDevice->onRefreshRateChangedDebug(mDisplay->mDisplayId, in enableRefreshRateCalculator()
252 for (size_t i = 0; i < mDisplay->mLayers.size(); i++) { in getPresentFrameFlag()
253 auto layer = mDisplay->mLayers[i]; in getPresentFrameFlag()
258 if (mDisplay->isUpdateRRIndicatorOnly()) { in getPresentFrameFlag()
307 ExynosDisplay* mDisplay; variable
/hardware/google/graphics/zuma/libhwc2.1/libdevice/
DHistogramController.cpp79 mDisplay->mDevice->onRefresh(mDisplay->mDisplayId); in queryOPR()
94 mDisplay->mDevice->onRefresh(mDisplay->mDisplayId); in queryOPR()
114 static_cast<ExynosDisplayDrmInterface*>(mDisplay->mDisplayInterface.get()); in getOPRVals()
286 mDisplay->mDevice->onRefresh(mDisplay->mDisplayId); in postAtomicCommitCleanup()
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.h187 int mDisplay; member
257 if( (mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
258 mPipeBook[i].mDisplay == dpy) && in availablePipes()
274 if( (mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
275 mPipeBook[i].mDisplay == dpy) && in availablePipes()
289 if((mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
290 mPipeBook[i].mDisplay == dpy) && in availablePipes()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.h195 int mDisplay; member
265 if( (mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
266 mPipeBook[i].mDisplay == dpy) && in availablePipes()
282 if( (mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
283 mPipeBook[i].mDisplay == dpy) && in availablePipes()
297 if((mPipeBook[i].mDisplay == DPY_UNUSED || in availablePipes()
298 mPipeBook[i].mDisplay == dpy) && in availablePipes()

123