Lines Matching refs:gpuHint
2091 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()
2119 gpuHint->mEGLContext, attr_list)) { in setGPUHint()
2122 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_3; in setGPUHint()
2123 gpuHint->mPrevCompositionGLES = true; in setGPUHint()
2129 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_0) && in setGPUHint()
2130 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
2131 gpuHint->mEGLContext, attr_list)) { in setGPUHint()
2134 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_0; in setGPUHint()
2142 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_0) && in setGPUHint()
2143 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay, in setGPUHint()
2144 gpuHint->mEGLContext, attr_list)) { in setGPUHint()
2147 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_0; in setGPUHint()
2149 gpuHint->mPrevCompositionGLES = false; in setGPUHint()