[PATCH] clients: add es2_info

2011-10-27 Thread Pekka Paalanen
Originally copied from mesa/demos git, src/egl/opengles1/es1_info.c and ported to Wayland by copying parts of simple-egl.c Licence Acked-by: Brian Paul Signed-off-by: Pekka Paalanen --- clients/.gitignore |1 + clients/Makefile.am |5 +- clients/es2_info.c | 287

[PATCH] composior: fix tiny cursor bug with drm compositor

2011-10-27 Thread Ander Conselvan de Oliveira
The drm compositor always creates a 64x64 bo for the cursor image regardless of the size of the actual cursor. When the fade animation kicks in it disables the hardware cursor so that it is rendered as a regular surface. This surface is rendered to a 32x32 region but using a 64x64 texture so the cu

RE: questions about gtk simple applications running on wayland

2011-10-27 Thread Zhao, Juan J
Some updates for this question. In gtk side, if I run "wl_shell_set_toplevel" once the surface is created by "wl_compositor_create_surface", everything is OK. But later, gtk application will bind some image to this surface. And then call "wl_shell_set_toplevel". In the server side, the function