mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
update frameworks/opengl_wrapper/src/EGL/egl_wrapper_display.cpp.
Signed-off-by: chengwenfeng <chengwenfeng6@huawei.com>
This commit is contained in:
parent
68e28ed871
commit
9d3d9e37a1
@ -639,6 +639,7 @@ EGLBoolean EglWrapperDisplay::SwapBuffers(EGLSurface surf)
|
||||
{
|
||||
WLOGD("");
|
||||
std::lock_guard<std::mutex> lock(refLockMutex_);
|
||||
|
||||
#if USE_APS_FUNC
|
||||
OHOS::Rosen::ApsGameFpsController::GetInstance().PowerCtrllofEglswapbuffer();
|
||||
#endif // USE_APS_FUNC
|
||||
|
Loading…
Reference in New Issue
Block a user