diff options
author | Igor Mitsyanko <i.mitsyanko@samsung.com> | 2012-06-14 12:48:15 +0400 |
---|---|---|
committer | Evgeny Voevodin <e.voevodin@samsung.com> | 2012-06-15 11:24:40 +0400 |
commit | 177dc581b8e70fe4285482474b8de02455a5a066 (patch) | |
tree | 073e1bb5c9911c395402f314c8a0a99e82c74b4e /console.h | |
parent | 63d1f301aef401eb4a458f556a53a9e7e094f4db (diff) | |
download | qemu-177dc581b8e70fe4285482474b8de02455a5a066.tar.gz qemu-177dc581b8e70fe4285482474b8de02455a5a066.tar.bz2 qemu-177dc581b8e70fe4285482474b8de02455a5a066.zip |
Tizen ARM: Add gles libs.
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -166,6 +166,9 @@ struct DisplayChangeListener { void (*dpy_fill)(struct DisplayState *s, int x, int y, int w, int h, uint32_t c); void (*dpy_text_cursor)(struct DisplayState *s, int x, int y); +#ifdef CONFIG_OPENGLES + void (*dpy_updatecaption)(void); +#endif struct DisplayChangeListener *next; }; @@ -247,6 +250,20 @@ static inline void dpy_update(DisplayState *s, int x, int y, int w, int h) } } +#ifdef CONFIG_OPENGLES +static inline void dpy_updatecaption(DisplayState *s) +{ + struct DisplayChangeListener *dcl = s->listeners; + while (dcl != NULL) { + if(dcl->dpy_updatecaption != NULL) + { + dcl->dpy_updatecaption(); + } + dcl = dcl->next; + } +} +#endif + static inline void dpy_resize(DisplayState *s) { struct DisplayChangeListener *dcl = s->listeners; |