Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp2091 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2092 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2100 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2101 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2102 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2106 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2107 if(!gpuHint->mEGLContext) { in setGPUHint()
2113 if(gpuHint->mCompositionState != COMPOSITION_STATE_GPU in setGPUHint()
2118 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2119 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2091 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2092 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2100 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2101 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2102 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2106 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2107 if(!gpuHint->mEGLContext) { in setGPUHint()
2113 if(!gpuHint->mPrevCompositionGLES && !MDPComp::isIdleFallback()) { in setGPUHint()
2117 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2118 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp2434 struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo; in setGPUHint() local
2435 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list) in setGPUHint()
2443 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) { in setGPUHint()
2444 gpuHint->mEGLDisplay = eglGetCurrentDisplay(); in setGPUHint()
2445 if(!gpuHint->mEGLDisplay) { in setGPUHint()
2449 gpuHint->mEGLContext = eglGetCurrentContext(); in setGPUHint()
2450 if(!gpuHint->mEGLContext) { in setGPUHint()
2456 if(gpuHint->mCompositionState != COMPOSITION_STATE_GPU in setGPUHint()
2461 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) && in setGPUHint()
2462 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
[all …]