mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +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("");
|
WLOGD("");
|
||||||
std::lock_guard<std::mutex> lock(refLockMutex_);
|
std::lock_guard<std::mutex> lock(refLockMutex_);
|
||||||
|
|
||||||
#if USE_APS_FUNC
|
#if USE_APS_FUNC
|
||||||
OHOS::Rosen::ApsGameFpsController::GetInstance().PowerCtrllofEglswapbuffer();
|
OHOS::Rosen::ApsGameFpsController::GetInstance().PowerCtrllofEglswapbuffer();
|
||||||
#endif // USE_APS_FUNC
|
#endif // USE_APS_FUNC
|
||||||
|
Loading…
Reference in New Issue
Block a user