expedite: Add support for setting vsync in drm engine
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
3571eef532
commit
d846790c37
|
@ -3,7 +3,7 @@
|
||||||
#include <Evas_Engine_Drm.h>
|
#include <Evas_Engine_Drm.h>
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
engine_drm_args(const char *engine __UNUSED__, int width, int height)
|
engine_drm_args(const char *engine __UNUSED__, int width __UNUSED__, int height __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Engine_Info_Drm *einfo;
|
Evas_Engine_Info_Drm *einfo;
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ engine_drm_args(const char *engine __UNUSED__, int width, int height)
|
||||||
einfo->info.rotation = 0;
|
einfo->info.rotation = 0;
|
||||||
einfo->info.depth = 32;
|
einfo->info.depth = 32;
|
||||||
einfo->info.destination_alpha = EINA_FALSE;
|
einfo->info.destination_alpha = EINA_FALSE;
|
||||||
|
einfo->info.vsync = EINA_FALSE;
|
||||||
|
|
||||||
if (!evas_engine_info_set(evas, (Evas_Engine_Info *)einfo))
|
if (!evas_engine_info_set(evas, (Evas_Engine_Info *)einfo))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue