[PATCH web] building: add --with-cairo=gl to weston autogen step

U. Artie Eoff ullysses.a.eoff at intel.com
Tue Aug 13 08:00:51 PDT 2013


From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>

The option --with-cairo=[image|gl|glesv2] was added to Weston's
configure and it defaults to --with-cairo=image.  Since the
preceding instructions elude to compiling and using cairo-gl,
Weston needs to be configured to use it.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
---
 building.html | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/building.html b/building.html
index 771c659..8ea822a 100644
--- a/building.html
+++ b/building.html
@@ -226,9 +226,14 @@ And optionally, for the pdf viewer:
 poppler-glib and
 gio-2.0.</p>
 
+<p>If you opt to use cairo-gl, then Weston needs to be
+configured with the option "--with-cairo=gl" to enable it.  Otherwise,
+Weston will default to cairo-image (software) to render it's demo
+clients.</p>
+
 <pre>    $ git clone git://anongit.freedesktop.org/wayland/weston
     $ cd weston
-    $ ./autogen.sh --prefix=$WLD
+    $ ./autogen.sh --prefix=$WLD --with-cairo=gl
     $ make
     $ make install
 </pre>
-- 
1.8.3.1



More information about the wayland-devel mailing list