Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:gpuHint

2432     struct gpu_hint_info *gpuHint = &ctx->mGPUHintInfo;
2433 if(!gpuHint->mGpuPerfModeEnable || !ctx || !list)
2441 if(!gpuHint->mEGLDisplay || !gpuHint->mEGLContext) {
2442 gpuHint->mEGLDisplay = eglGetCurrentDisplay();
2443 if(!gpuHint->mEGLDisplay) {
2447 gpuHint->mEGLContext = eglGetCurrentContext();
2448 if(!gpuHint->mEGLContext) {
2454 if(gpuHint->mCompositionState != COMPOSITION_STATE_GPU
2459 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_3) &&
2460 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay,
2461 gpuHint->mEGLContext, attr_list)) {
2464 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_3;
2465 gpuHint->mCompositionState = COMPOSITION_STATE_GPU;
2471 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_0) &&
2472 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay,
2473 gpuHint->mEGLContext, attr_list)) {
2476 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_0;
2479 gpuHint->mCompositionState = COMPOSITION_STATE_IDLE_FALLBACK;
2487 if((gpuHint->mCurrGPUPerfMode != EGL_GPU_LEVEL_0) &&
2488 !eglGpuPerfHintQCOM(gpuHint->mEGLDisplay,
2489 gpuHint->mEGLContext, attr_list)) {
2492 gpuHint->mCurrGPUPerfMode = EGL_GPU_LEVEL_0;
2494 gpuHint->mCompositionState = COMPOSITION_STATE_MDP;