mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Use cairo-gl in clients
This commit is contained in:
parent
2cdc18452e
commit
a85fe3cf45
5 changed files with 204 additions and 99 deletions
|
|
@ -339,12 +339,8 @@ handle_frame(void *data,
|
|||
uint32_t frame, uint32_t timestamp)
|
||||
{
|
||||
struct gears *gears = data;
|
||||
EGLint name, stride;
|
||||
|
||||
eglExportDRMImageMESA(gears->display,
|
||||
gears->image, &name, NULL, &stride);
|
||||
|
||||
window_copy(gears->window, &gears->rectangle, name, stride);
|
||||
window_copy_image(gears->window, &gears->rectangle, gears->image);
|
||||
|
||||
window_commit(gears->window, 10);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue