diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-01-29 10:43:00 -0500 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-03-13 12:09:39 -0400 |
commit | 8659f5979ca0762273ea04df040ae06c035477f7 (patch) | |
tree | 21dc9f59fd4b9d2a09aaadbfafdc9bb4d22e7f44 | |
parent | a6d5cd31dae411477a6657fdf91a51a072df95f4 (diff) | |
download | efl-8659f5979ca0762273ea04df040ae06c035477f7.tar.gz |
evas-drm: Add basic Outbuf structure
-rw-r--r-- | src/modules/evas/engines/drm/evas_engine.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h index 4bc94be044..1d140a832d 100644 --- a/src/modules/evas/engines/drm/evas_engine.h +++ b/src/modules/evas/engines/drm/evas_engine.h @@ -36,4 +36,20 @@ extern int _evas_engine_drm_log_dom; # endif # define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__) +struct _Outbuf +{ + int w, h, bpp, rotation; + unsigned int depth, format; + + Evas_Engine_Info_Drm *info; + + Eina_Bool alpha : 1; +}; + +Outbuf *_outbuf_setup(Evas_Engine_Info_Drm *einfo, int w, int h); +void _outbuf_free(Outbuf *ob); +int _outbuf_get_rotation(Outbuf *ob); +void _outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth); +void *_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); + #endif |