mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-09 13:29:48 -05:00
Create front buffer with eagle.
This removes the intel dependencies from the system compositor.
This commit is contained in:
parent
820a877428
commit
b22382bfdc
2 changed files with 25 additions and 39 deletions
4
gears.c
4
gears.c
|
|
@ -315,9 +315,9 @@ handle_frame(void *data,
|
|||
uint32_t frame, uint32_t timestamp)
|
||||
{
|
||||
struct gears *gears = data;
|
||||
uint32_t name, stride;
|
||||
uint32_t name, handle, stride;
|
||||
|
||||
eglGetNativeBuffer(gears->surface, GL_FRONT_LEFT, &name, &stride);
|
||||
eglGetNativeBuffer(gears->surface, GL_FRONT_LEFT, &name, &handle, &stride);
|
||||
|
||||
window_copy(gears->window, &gears->rectangle, name, stride);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue