Ander Conselvan de Oliveira
d51624f915
simple-egl: add option for running fullscreen
13 years ago
Bill Spitzak
d273e28567
weston: Don't ask for EGL depth buffer if not needed
...
This makes the compositor and demo clients work on the current nouveau
nvfx driver. Obviously does not fix any clients that actually want a
depth buffer, but this does allow more people to at least try wayland.
13 years ago
Kristian Høgsberg
fcfc83f6ae
clients: Use wl_display_disconnect()
13 years ago
Kristian Høgsberg
8e81df4503
Use new format codes
13 years ago
Pekka Paalanen
fb850c4e0f
simple clients: flush before destroying wl_display
...
Flush our pending destroy requests to the server before destroying the
wl_display.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
2c2c1060e9
simple-egl: implement destructors
...
Destroy all wl objects and call EGL cleanup functions. Reduces leaks
reported by Valgrind considerably, though not to zero.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
88e60fc2ba
simple clients: add signal handler for clean exit
...
Add signal handler for SIGINT to simple-egl and simple-shm, so they can
be exited voluntarily, without killing them. Later we can add clean-up
code and destructors, and check with valgrind for leaks and errors.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
9d1613eb4a
wl_shell_surface adaptation
...
Protocol changes in Wayland core introduced a new interface
wl_shell_surface, and moved all wl_shell surface methods into it. Adapt
the compositor and its Wayland backend, shell plugin, and all clients to
the new interface.
Depends on the Wayland core commit "protocol: introduce wl_shell_surface"
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Kristian Høgsberg
9ef9e0ecf9
simple-egl: Remove leftover wl_visual variable
13 years ago
Benjamin Franzke
91eacca38b
Remove egl display type setenv hack
...
No longer needed with mesa 7.12-devel egl display autodetection.
14 years ago
Kristian Høgsberg
f389cacc20
Move away from visuals and just use EGLConfigs or shm format tokens
14 years ago
Kristian Høgsberg
2415990461
clients: Remove a few unused variables
14 years ago
Kristian Høgsberg
f790c79ec7
Use wl_display_bind() for binding to globals
14 years ago
Kristian Høgsberg
334182062f
Use the new wl_callback interface
14 years ago
Kristian Høgsberg
2669f72e95
clients: Rename simple-client to simple-egl
14 years ago
Benjamin Franzke
282019a7df
simple-client: Trigger first drawing by hand
14 years ago
Kristian Høgsberg
7a5c979f4c
Move map requests to shell
14 years ago
Benjamin Franzke
65e5051bc7
clients: Add an optional roundtrip for visual lookup
14 years ago
Kristian Høgsberg
8357cd61d8
window.c: Deal with visual changes
14 years ago
Kristian Høgsberg
ded9ff337b
simple-client: setenv the EGL platform for simple client as well
14 years ago
Kristian Høgsberg
7cbdb64ab6
Fix clients to work with wl_ prefixed interface names
14 years ago
Kristian Høgsberg
91342c6081
Switch to new subscribe protocol and wayland-egl
14 years ago
Benjamin Franzke
2eae9e3f1c
simple-client: Request a alpha channel in choose config
14 years ago
Benjamin Franzke
ec4d342aa9
Support per surface frame events
...
This fixes tearing with multi head.
14 years ago
Kristian Høgsberg
297d6dd442
window.c: Include wayland-egl.h before EGL headers so we get the right platform
14 years ago
Kristian Høgsberg
3eff366911
Add struct wl_egl_display argument to wl_egl_window_create
...
We don't need it in the mesa implementation, but other implementations
might and it's symmetric with wl_egl_pixmap_create().
14 years ago
Kristian Høgsberg
bfb8e61381
Follow wayland-egl renames
14 years ago
Kristian Høgsberg
a495a5ed8b
simple-client: Port to wayland-egl and use eglSwapBuffers()
...
simple-client is simpler.
14 years ago
Kristian Høgsberg
00439617f3
Fix new gcc 4.6 warnings
...
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable]
etc.
14 years ago
Kristian Høgsberg
ad67af1bcc
simple-client: Remove unnecessary flush
14 years ago
Kristian Høgsberg
1a11fac8fa
simple-client: Create GLES2 context
14 years ago
Benjamin Franzke
aabdce027f
Add a simple client
14 years ago