summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorIgor Mitsyanko <i.mitsyanko@samsung.com>2012-06-14 12:48:15 +0400
committerEvgeny Voevodin <e.voevodin@samsung.com>2012-06-15 11:24:40 +0400
commit177dc581b8e70fe4285482474b8de02455a5a066 (patch)
tree073e1bb5c9911c395402f314c8a0a99e82c74b4e /console.h
parent63d1f301aef401eb4a458f556a53a9e7e094f4db (diff)
downloadqemu-177dc581b8e70fe4285482474b8de02455a5a066.tar.gz
qemu-177dc581b8e70fe4285482474b8de02455a5a066.tar.bz2
qemu-177dc581b8e70fe4285482474b8de02455a5a066.zip
Tizen ARM: Add gles libs.
Diffstat (limited to 'console.h')
-rw-r--r--console.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/console.h b/console.h
index dee8a37158..13ad8e011a 100644
--- a/console.h
+++ b/console.h
@@ -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;