Home
last modified time | relevance | path

Searched refs:gpuHint (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp2088 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2089 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2097 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2098 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2099 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2103 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2104 if(!gpuHint->mEGLContext) { in setGPUHint()
2110 if(gpuHint->mCompositionState != COMPOSITION_STATE_GPU in setGPUHint()
2115 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2116 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2089 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2090 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2098 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2099 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2100 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2104 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2105 if(!gpuHint->mEGLContext) { in setGPUHint()
2111 if(!gpuHint->mPrevCompositionGLES && !MDPComp::isIdleFallback()) { in setGPUHint()
2115 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2116 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp2430 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2431 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2439 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2440 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2441 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2445 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2446 if(!gpuHint->mEGLContext) { in setGPUHint()
2452 if(gpuHint->mCompositionState != COMPOSITION_STATE_GPU in setGPUHint()
2457 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2458 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]