gtk.h (7cb6b97300f0405b4c6856c49bdc33fa3265852f) gtk.h (568b12fccfe5394326df1ce3e10790608d439a37)
1#ifndef UI_GTK_H
2#define UI_GTK_H
3
4/* Work around an -Wstrict-prototypes warning in GTK headers */
5#pragma GCC diagnostic push
6#pragma GCC diagnostic ignored "-Wstrict-prototypes"
7#include <gtk/gtk.h>
8#pragma GCC diagnostic pop

--- 126 unchanged lines hidden (view full) ---

135 QEMUGLContext ctx);
136void gd_gl_area_scanout_texture(DisplayChangeListener *dcl,
137 uint32_t backing_id,
138 bool backing_y_0_top,
139 uint32_t backing_width,
140 uint32_t backing_height,
141 uint32_t x, uint32_t y,
142 uint32_t w, uint32_t h);
1#ifndef UI_GTK_H
2#define UI_GTK_H
3
4/* Work around an -Wstrict-prototypes warning in GTK headers */
5#pragma GCC diagnostic push
6#pragma GCC diagnostic ignored "-Wstrict-prototypes"
7#include <gtk/gtk.h>
8#pragma GCC diagnostic pop

--- 126 unchanged lines hidden (view full) ---

135 QEMUGLContext ctx);
136void gd_gl_area_scanout_texture(DisplayChangeListener *dcl,
137 uint32_t backing_id,
138 bool backing_y_0_top,
139 uint32_t backing_width,
140 uint32_t backing_height,
141 uint32_t x, uint32_t y,
142 uint32_t w, uint32_t h);
143void gd_gl_area_scanout_disable(DisplayChangeListener *dcl);
143void gd_gl_area_scanout_flush(DisplayChangeListener *dcl,
144 uint32_t x, uint32_t y, uint32_t w, uint32_t h);
145void gtk_gl_area_init(void);
146QEMUGLContext gd_gl_area_get_current_context(DisplayChangeListener *dcl);
147int gd_gl_area_make_current(DisplayChangeListener *dcl,
148 QEMUGLContext ctx);
149
150#endif /* UI_GTK_H */
144void gd_gl_area_scanout_flush(DisplayChangeListener *dcl,
145 uint32_t x, uint32_t y, uint32_t w, uint32_t h);
146void gtk_gl_area_init(void);
147QEMUGLContext gd_gl_area_get_current_context(DisplayChangeListener *dcl);
148int gd_gl_area_make_current(DisplayChangeListener *dcl,
149 QEMUGLContext ctx);
150
151#endif /* UI_GTK_H */