console.c (c110d949b8166a633179edcf3390a42673ac843c) console.c (568b12fccfe5394326df1ce3e10790608d439a37)
1/*
2 * QEMU graphical console
3 *
4 * Copyright (c) 2004 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1801{
1802 assert(con->gl);
1803 return con->gl->ops->dpy_gl_ctx_make_current(con->gl, ctx);
1804}
1805
1806void dpy_gl_scanout_disable(QemuConsole *con)
1807{
1808 assert(con->gl);
1/*
2 * QEMU graphical console
3 *
4 * Copyright (c) 2004 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1801{
1802 assert(con->gl);
1803 return con->gl->ops->dpy_gl_ctx_make_current(con->gl, ctx);
1804}
1805
1806void dpy_gl_scanout_disable(QemuConsole *con)
1807{
1808 assert(con->gl);
1809 if (con->gl->ops->dpy_gl_scanout_disable) {
1810 con->gl->ops->dpy_gl_scanout_disable(con->gl);
1811 } else {
1812 con->gl->ops->dpy_gl_scanout_texture(con->gl, 0, false, 0, 0,
1813 0, 0, 0, 0);
1814 }
1809 con->gl->ops->dpy_gl_scanout_disable(con->gl);
1815}
1816
1817void dpy_gl_scanout_texture(QemuConsole *con,
1818 uint32_t backing_id,
1819 bool backing_y_0_top,
1820 uint32_t backing_width,
1821 uint32_t backing_height,
1822 uint32_t x, uint32_t y,

--- 636 unchanged lines hidden ---
1810}
1811
1812void dpy_gl_scanout_texture(QemuConsole *con,
1813 uint32_t backing_id,
1814 bool backing_y_0_top,
1815 uint32_t backing_width,
1816 uint32_t backing_height,
1817 uint32_t x, uint32_t y,

--- 636 unchanged lines hidden ---