|
@@ -1223,7 +1223,8 @@ static void displaychangelistener_display_console(DisplayChangeListener *dcl,
|
|
|
con->scanout.texture.x,
|
|
|
con->scanout.texture.y,
|
|
|
con->scanout.texture.width,
|
|
|
- con->scanout.texture.height);
|
|
|
+ con->scanout.texture.height,
|
|
|
+ con->scanout.texture.d3d_tex2d);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2115,7 +2116,8 @@ void dpy_gl_scanout_texture(QemuConsole *con,
|
|
|
uint32_t backing_width,
|
|
|
uint32_t backing_height,
|
|
|
uint32_t x, uint32_t y,
|
|
|
- uint32_t width, uint32_t height)
|
|
|
+ uint32_t width, uint32_t height,
|
|
|
+ void *d3d_tex2d)
|
|
|
{
|
|
|
DisplayState *s = con->ds;
|
|
|
DisplayChangeListener *dcl;
|
|
@@ -2123,7 +2125,7 @@ void dpy_gl_scanout_texture(QemuConsole *con,
|
|
|
con->scanout.kind = SCANOUT_TEXTURE;
|
|
|
con->scanout.texture = (ScanoutTexture) {
|
|
|
backing_id, backing_y_0_top, backing_width, backing_height,
|
|
|
- x, y, width, height
|
|
|
+ x, y, width, height, d3d_tex2d,
|
|
|
};
|
|
|
QLIST_FOREACH(dcl, &s->listeners, next) {
|
|
|
if (con != (dcl->con ? dcl->con : active_console)) {
|
|
@@ -2133,7 +2135,8 @@ void dpy_gl_scanout_texture(QemuConsole *con,
|
|
|
dcl->ops->dpy_gl_scanout_texture(dcl, backing_id,
|
|
|
backing_y_0_top,
|
|
|
backing_width, backing_height,
|
|
|
- x, y, width, height);
|
|
|
+ x, y, width, height,
|
|
|
+ d3d_tex2d);
|
|
|
}
|
|
|
}
|
|
|
}
|