clutter

Unable to run Snappy player on Beaglebone Black using Yocto Project

99封情书 提交于 2019-12-08 04:32:10
问题 My main objective is to run snappy player (https://wiki.gnome.org/Snappy) on target machine ( BeagleBone Black ) so, I wrote a recipe for Snappy player( snappy_1.0.bb ) as below LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=686e6cb566fd6382c9fcc7a557bf4544" SRCREV = "e73fabce4c397b40d490c74f6a6a0de000804f42" SRC_URI = "git://git.gnome.org/snappy" S = "${WORKDIR}/git" RDEPENDS_${PN} = "gtk+3 gstreamer1.0 glib-2.0 clutter-1.0 gstreamer1.0-plugins-base libxtst clutter-gst-3.0 clutter

Filling a custom-shaped Clutter Actor with a Cairo-drawn canvas

扶醉桌前 提交于 2019-12-08 02:15:39
问题 Clutter 1.12 Cogl 1.10 Vala or C or Python. I might have a fundamental misunderstanding here — I think of "Actors" as 3D polygon things. I think of their colours as either vertex colors or as texture-mapping. In this light, I have been trying to draw a custom Actor and fill it with stuff drawn via Cairo. I'm not getting anywhere. Code is included below (in Vala). Can anyone set me right about Clutter's basics (the docs just don't cut it) or, if I'm close, help me get that code working. I

In Gtk, is it possible to make widgets fade in and out?

▼魔方 西西 提交于 2019-12-06 11:53:12
I would like to have a Label (or at least the text on the label) do a quick fade-in. It looks like this is possible in clutter , but I don't want to use clutter until clutter-sharp is packaged for Ubuntu. Is there any way to do this that doesn't involve using clutter? Emmanuele Bassi you can use gtk_widget_get_snapshot() and then fade out the GdkPixmap it returns using cairo I've never seen it in any of the more common GTK themes, but Google Chrome's new theme does this, and it uses GTK. So, I'm going to say yes, but not many use it. 来源: https://stackoverflow.com/questions/2827639/in-gtk-is-it

javascript extension to use C based APIs(clutter) in a webapp

爱⌒轻易说出口 提交于 2019-12-03 12:17:56
My goal is to use the C libraries to form web apps. I have choosen the way to do that via using "SWIG" tool. The Swig tool requires three things 1) .c file which defines all the functions. 2) .i file also called interface file which is creating the interface to load the APIs wherin I used the extern keyword. 3) APP written in javascript extension (.js file). I used SWIG tool to compile and run this app to verify the .js file has made correctly. The application is running fine on XMING X11 window. On compilation it creates _wrap.o, .o file and libFILENAME.so Now I want to run this app on

How to get started writing a compositing WM?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 05:26:01
问题 I would like to write a basic hardware-accelerated window manager, so I've been looking for some documentation on how to get started, but I've only managed to find this tutorial, which uses an outdated version of Clutter and won't build with any version currently available. Are there any other good resources for how to do this, or alternatively, a really bare-bones compositing WM to look at the source of? 回答1: There are two parts in your question: 1) How to write WM 2) how to write composite