[M108 Migration][API] Add ewk_context_max_refresh_rate_set
To reduce current consumption, some devices need to set screen FPS limitation.
This api is added to set screen FPS limitation.
If max refresh rate is set as 30, each thread will work as below.
1) With |setInterval(16ms)|.
- Renderer main thread : 60fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
2) With |setInterval(20ms)|
- Renderer main thread : 50fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
3) With |requestAnimationFrame|
- Renderer main thread : 30fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
References:
https://review.tizen.org/gerrit/270945
Change-Id: I05d8e28afe2b12ccf1d281c7634bab380a0e5b40
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
20 files changed: