Re: [clutter] clutter-gtk release for clutter 1.2.0

2010-03-13 Thread Bastien Nocera
On Sat, 2010-03-13 at 09:56 +, Peter Robinson wrote:
 Hi All,
 
 Is there any plans to cut a clutter-gtk release that's compatible with
 the clutter 1.2 release? It seems the current 0.10.2 release is not.

If it's for gnome-games, I worked around the problem by requiring an
older clutter-gtk, which (seems to) work(s) just fine with the new
clutter.

See:
http://cvs.fedoraproject.org/viewvc/rpms/gnome-games/devel/gnome-games-use-old-clutter-gtk.patch?revision=1.1view=markup

Cheers

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gtk release for clutter 1.2.0

2010-03-13 Thread Emmanuele Bassi
On Sat, 2010-03-13 at 09:56 +, Peter Robinson wrote:

 Is there any plans to cut a clutter-gtk release that's compatible with
 the clutter 1.2 release? It seems the current 0.10.2 release is not.

yes, I'm planning a clutter-gtk 0.10.4 release ASAP which will depend on
Clutter 1.2; clutter-gtk 1.0 (which is the current master but with the
API for embedding gtk+ widgets inside Clutter reviewed and cleaned up)
will follow within the end of March.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] clutter-gtk

2010-02-24 Thread Gerardo Di Iorio
Is possible build clutter-gtk  whith eglnative flavour??'


thnaks
Gerardo Di Iorio

-- 
http://www.gerardodiiorio.com
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gtk

2010-02-24 Thread Sven Luther
On Wed, Feb 24, 2010 at 01:34:33PM +0100, Gerardo Di Iorio wrote:
 Is possible build clutter-gtk  whith eglnative flavour??'

I wonder about this, i guess that clutter-gtk is using X behind the
scenes or something, or directfb, not using opengl for the drawing.

I suppose that if gtk could be made to use some cairo renderer that 
runs on top of opengles, clutter-gtk would make some sense.

If not, i guess that you could always render in a cairo-image, and
have this rendered using clutter, but i guess this would be rather 
inneficient, depending on what you want to do, and what cpu you do
have.

Friendly,

Sven Luther
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gtk

2010-02-24 Thread Emmanuele Bassi
On Wed, 2010-02-24 at 13:34 +0100, Gerardo Di Iorio wrote:
 Is possible build clutter-gtk  whith eglnative flavour??'

no.

GTK+ (barely) supports DirectFB, but the eglnative backend of Clutter
assumes that Clutter owns the framebuffer.

you can only use Clutter-GTK with the x11-based backends (glx and eglx,
albeit the latter is completely untested) and with the win32 backend
(though the win32 backend of gtk+ does not support client-side windows
so embedding GtkWidgets inside ClutterActors does not work).

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] [clutter-gtk] Merging client-side-windows branch

2009-09-08 Thread Eduardo Lima
Hi guys,

I would like to know the integration status of GTK+'s
client-side-windows feature into clutter-gtk (GtkClutterActor), and if
some help is needed on that direction. I'm interested in having that
feature upstream and right now have some time to work on it.

Recently, I've playing around with alexl's experimental branch and have
proposed some changes [1].

Thank you all,
Edu

[1] http://gitorious.org/~elima/clutter-gtk-copy/clutter-gtk-elima




signature.asc
Description: OpenPGP digital signature


Re: [clutter] clutter-gtk CSW work

2009-08-26 Thread Davyd Madeley
On Wed, 2009-08-26 at 10:38 +1000, Davyd Madeley wrote:

 Specifically there is also a bug where something occasionally generates
 a full-actor expose.

Ok, after quite a bit of debugging I've finally found the cause of this.

gtk_clutter_offscreen_size_allocate was calling gdk_window_move_resize,
so any call to gtk_widget_queue_resize was causing a full expose of the
widget tree. I've now changed this to only call move_resize if the
container's allocation changes.

Fixing this up makes the whole thing a lot more responsive.

--d

-- 
Davyd Madeley

Collabora Ltd., Melbourne, Australia
http://www.collabora.co.uk/

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] clutter-gtk CSW work

2009-08-25 Thread Davyd Madeley
Hey all,

In case you didn't see my blog post, I've been doing some work on
extending alexl's clutter-gtk CSW branch.

http://davyd.livejournal.com/280866.html
http://git.collabora.co.uk/?p=user/davyd/clutter-gtk-davyd.git;a=shortlog;h=refs/heads/client-side-windows-additions

The important additions here are GtkClutterWindow, which is a GtkWidget
that looks like a regular GtkWindow, but transparently places actors
onto a GtkClutterEmbed stage and GtkClutterStandin, which is a widget
that accepts a ClutterActor and makes room within a GTK+ packing tree
for that actor.

The work also includes a bunch of test cases to check ref-counting,
reparenting and a bunch of other things work correctly. It also includes
some demos of intermixing Clutter work with GTK+ (some of these are
quite hacky).

Performance is ok, but some transient updates (like short button
presses) can be lost if the widget tree is large (looking into this).

Feedback greatly appreciated.

--d

-- 
Davyd Madeley

Collabora Ltd., Melbourne, Australia
http://www.collabora.co.uk/

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gtk CSW work

2009-08-25 Thread Saul Lethbridge
Excellent work! What is the long term plan for Clutter-Gtk? Will we see
Gtk depending on clutter in the near future?

On Tue, Aug 25, 2009 at 7:51 PM, Davyd Madeley 
davyd.made...@collabora.co.uk wrote:

 Hey all,

 In case you didn't see my blog post, I've been doing some work on
 extending alexl's clutter-gtk CSW branch.

 http://davyd.livejournal.com/280866.html

 http://git.collabora.co.uk/?p=user/davyd/clutter-gtk-davyd.git;a=shortlog;h=refs/heads/client-side-windows-additions

 The important additions here are GtkClutterWindow, which is a GtkWidget
 that looks like a regular GtkWindow, but transparently places actors
 onto a GtkClutterEmbed stage and GtkClutterStandin, which is a widget
 that accepts a ClutterActor and makes room within a GTK+ packing tree
 for that actor.

 The work also includes a bunch of test cases to check ref-counting,
 reparenting and a bunch of other things work correctly. It also includes
 some demos of intermixing Clutter work with GTK+ (some of these are
 quite hacky).

 Performance is ok, but some transient updates (like short button
 presses) can be lost if the widget tree is large (looking into this).

 Feedback greatly appreciated.

 --d

 --
 Davyd Madeley

 Collabora Ltd., Melbourne, Australia
 http://www.collabora.co.uk/

 --
 To unsubscribe send a mail to 
 clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com




Re: [clutter] Clutter-gtk resize bug

2009-04-08 Thread Piotr Rak
Hi Vald

2009/4/8 Vlad Volodin vest...@gmail.com:
 Hello everybody,

 I have a clutter from git (0.9) and clutter-gtk from git too (0.9).
 When I used them in my project, I've got a strange Gtk-CRITICAL
 warning, while I resized the main window. I've also tried to build
 clutter-gtk with standard ./configure  make, and launch an example
 with such way:

 ~/git/clutter-gtk/examples$ ./gtk-clutter-multistage
 (/home/vest/git/clutter-gtk/examples/.libs/lt-gtk-clutter-multistage:1496):
 Gtk-CRITICAL **: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET
 (widget)' failed
 (/home/vest/git/clutter-gtk/examples/.libs/lt-gtk-clutter-multistage:1496):
 Gtk-CRITICAL **: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET
 (widget)' failed
  and so on. These errors are occured only with resizable widgets.

I hit this one yesterday too, but tought that this was my fault.

 I think, I've found the correct answer of my problem:

 clutter-gtk/gtk-clutter-embed.c
 502:  priv-queue_redraw_id =
 503:    g_signal_connect (priv-stage,
 504:                      queue-redraw, G_CALLBACK (on_stage_queue_redraw),
 505:                      embed);

 due to help: on_stage_queue_redraw should have a prototype in the next way:
 The queue-redraw signal
 void user_function (ClutterActor *actor,
                            ClutterActor *origin,
                            gpointer      user_data)      : Run Last

 but in clutter-gtk/gtk-clutter-embed.c
 91: static void
 92: on_stage_queue_redraw (ClutterStage *stage,
 93:                       gpointer      user_data)
 94:{
 95:  GtkWidget *embed = user_data;

 it looks like user_data isn't embed, but is a origin. When I've
 changed the lines as
 91: static void
 92: on_stage_queue_redraw (ClutterStage *stage, ClutterStage* origin,
 93:                       gpointer      user_data)
 everything got work!!!

I can comfirm, this change indeed fixes problem.
Great thanks for tracking and finding solution for it!

Cheers, Piotr
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Clutter-gtk resize bug

2009-04-08 Thread Vlad Volodin
Hello

Ok, I will add it tomorrow, because it is too late for my Time Zone.

Vlad Volodin

2009/4/8 Emmanuele Bassi eba...@linux.intel.com:
 On Wed, 2009-04-08 at 02:04 +0400, Vlad Volodin wrote:

 I have a clutter from git (0.9) and clutter-gtk from git too (0.9).

 [...]

 thanks for the detective work. yes, clutter-gtk hasn't been updated with
 the latest API changes in clutter 0.9.

 Should I create a new bug in Bugzilla, or you will change a code a bit
 without bug creation?

 you should always open a bug in bugzilla, and if you can attach the
 patch; if anything, it makes it easier for me to get notification of
 breakages and I can track patches a lot better and faster.

 ciao,
  Emmanuele.

 --
 Emmanuele Bassi, Senior Engineer        | emmanuele.ba...@intel.com
 Intel Open Source Technology Center     | http://oss.intel.com

 --
 To unsubscribe send a mail to clutter+unsubscr...@o-hand.com


--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Clutter-gtk resize bug

2009-04-07 Thread Vlad Volodin
Hello everybody,

I have a clutter from git (0.9) and clutter-gtk from git too (0.9).
When I used them in my project, I've got a strange Gtk-CRITICAL
warning, while I resized the main window. I've also tried to build
clutter-gtk with standard ./configure  make, and launch an example
with such way:

~/git/clutter-gtk/examples$ ./gtk-clutter-multistage
(/home/vest/git/clutter-gtk/examples/.libs/lt-gtk-clutter-multistage:1496):
Gtk-CRITICAL **: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET
(widget)' failed
(/home/vest/git/clutter-gtk/examples/.libs/lt-gtk-clutter-multistage:1496):
Gtk-CRITICAL **: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET
(widget)' failed
 and so on. These errors are occured only with resizable widgets.

I think, I've found the correct answer of my problem:

clutter-gtk/gtk-clutter-embed.c
502:  priv-queue_redraw_id =
503:g_signal_connect (priv-stage,
504:  queue-redraw, G_CALLBACK (on_stage_queue_redraw),
505:  embed);

due to help: on_stage_queue_redraw should have a prototype in the next way:
The queue-redraw signal
void user_function (ClutterActor *actor,
ClutterActor *origin,
gpointer  user_data)  : Run Last

but in clutter-gtk/gtk-clutter-embed.c
91: static void
92: on_stage_queue_redraw (ClutterStage *stage,
93:   gpointer  user_data)
94:{
95:  GtkWidget *embed = user_data;

it looks like user_data isn't embed, but is a origin. When I've
changed the lines as
91: static void
92: on_stage_queue_redraw (ClutterStage *stage, ClutterStage* origin,
93:   gpointer  user_data)
everything got work!!!

Should I create a new bug in Bugzilla, or you will change a code a bit
without bug creation?

Thank you for reply in advance,
Vlad Volodin
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] clutter-gtk trancperent window

2009-03-05 Thread Roei Azachi

Hi, 
I'm new to clutter and I'm trying to show a bmp image on a gtk window and move 
the bmp around with clutter.
I've created a GtkWindow and added a gtk_clutter_embed widget to it.
I've added to the clutter widget stage the bmp image (with 
clutter_texture_new_from_file).
all is working very well until I change the transparency of the GtkWindow (with 
gtk_window_set_opacity), I get a crash in: 
clutter_stage_win32_choose_pixel_format.
it seems that this function can not find DescribePixelFormat when realizing the 
stage.
can anyone help me with this issue?
any pointers will be much appreciated.
Thanks,
Roei

_
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009

Re: [clutter] clutter-gtk OSX flavour

2008-10-09 Thread Tommi Komulainen
On Thu, Oct 9, 2008 at 7:32 AM, Tomas Frydrych [EMAIL PROTECTED] wrote:
 ere wer wrote:
 There seams to be a new (native?) port of GTK+ to OSX:

 http://labs.imendio.com/:

 From what I understand (have not tested anythig), this version does
 not require X

 Im interested if there will be a new flavor to clutter-gtk, currently
 there are only x11/win32, or the x11 will do?

 At the moment the Clutter OSX backend does not have the necessary API,
 for this; I think at least clutter_osx_set_stage_foreign() and
 clutter_osx_disable_event_retrieval() are necessary to get clutter-gtk
 to work with the native osx gtk port. Patches, as always, are welcome.

There's two patches I made some time ago, needs work:
http://lists.o-hand.com/clutter/1250.html

IMO the clutter_foo_disable_event_retrieval() is a fairly ugly hack
and would nice if it were replaced with something like
clutter_init_embed() or something.


-- 
Tommi Komulainen [EMAIL PROTECTED]
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



Re: [clutter] clutter-gtk OSX flavour

2008-10-09 Thread Tomas Frydrych
ere wer wrote:
 There seams to be a new (native?) port of GTK+ to OSX:
 
 http://labs.imendio.com/:
 
 From what I understand (have not tested anythig), this version does
 not require X
 
 Im interested if there will be a new flavor to clutter-gtk, currently
 there are only x11/win32, or the x11 will do?

At the moment the Clutter OSX backend does not have the necessary API,
for this; I think at least clutter_osx_set_stage_foreign() and
clutter_osx_disable_event_retrieval() are necessary to get clutter-gtk
to work with the native osx gtk port. Patches, as always, are welcome.

Tomas
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



[clutter] clutter-gtk OSX flavour

2008-10-09 Thread ere wer
There seams to be a new (native?) port of GTK+ to OSX:


http://labs.imendio.com/:

Announcing the GTK+ OS X framework
September 23, 2008 – 8:30 am

We’re happy to announce the GTK+ Framework for Mac OS X. This means getting 
started with GTK+ development on your Mac is as easy as saying 1, 2, 3!

Just download the framework, install it, launch XCode and you’re ready to go!

You can find the latest version of the installer on our GTK+ on OS X website. 
(http://www.gtk-osx.org/)


From what I understand (have not tested anythig), this version does not require 
X

Im interested if there will be a new flavor to clutter-gtk, currently there are 
only x11/win32, or the x11 will do?

...sorry if the question is lame :/
MihailNaydenov



--
To unsubscribe send a mail to [EMAIL PROTECTED]



[clutter] clutter-gtk

2008-06-06 Thread Daniel Oberhoff

Hi,

So after clearing the perl questions I am thinking about gtk. We would  
like to use gtk alongside clutter. Not sure if this would mean  
embedding gtk into clutter or vice versa, probably either could be  
used. For the former I find a note on the project page, but nothing  
about how to actually do it. For the latter i find the clutter-gtk  
sources, but they seem to require x11, ruling out osx native and  
windows, which is not so great for us. So any hints to a) how to  
embedd gtk into clutter (if possible using glade scripts) or b) if it  
is possible to make clutter-gtk not depend on x11 and work in gtk 
+quartz and gtk+windows would be appreciated.


Best

Daniel
--
To unsubscribe send a mail to [EMAIL PROTECTED]



Re: [clutter] clutter-gtk

2008-06-06 Thread Matthew Allum
Hi;

On Fri, 2008-06-06 at 13:50 +0200, Daniel Oberhoff wrote:
 Hi,
 
 So after clearing the perl questions I am thinking about gtk. We would  
 like to use gtk alongside clutter. Not sure if this would mean  
 embedding gtk into clutter or vice versa, probably either could be  
 used. For the former I find a note on the project page, but nothing  
 about how to actually do it. For the latter i find the clutter-gtk  
 sources, but they seem to require x11, ruling out osx native and  
 windows, which is not so great for us. So any hints to a) how to  
 embedd gtk into clutter (if possible using glade scripts) or b) if it  
 is possible to make clutter-gtk not depend on x11 and work in gtk 
 +quartz and gtk+windows would be appreciated.
 

The trunk clutter-gtk supporting embedding clutter into GTK+ currently
on both windows and X11 (hopefully OSX too soon - patches very
welcome :)).

For embedding GTK into Clutter this cannot really be done until GTK gets
offscreen support. You could in theory cobble something together using
texture from pixmap support and some event injecting but likely would
have some funny corner cases and would be limited to only X11.

  == Matthew

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



Fwd: [clutter] clutter-gtk

2008-06-06 Thread Daniel Oberhoff



Anfang der weitergeleiteten E-Mail:


Also event handling shouldn't be so hard. As long as the original osx
implementation does all the event handling through the NSOpenGLView  
it
should just come along. Though I will have to check if gtk+quartz  
does

something to hog the event chain (probably does actually).


(Did you mean to leave the list out of the loop?)


Ah, no, sorry. Forgot to hit reply to all in Mail.


The event handling in clutter assumes stage equals
ClutterGLWindow+ClutterGLView, so for one it would need to be able to
work based on NSView only. Probably not too hard.

Another issue is that in clutter there's a really low level hack to
get NSApp events. Now, gtk-quartz does virtually the exact same thing,
so the two are unlikely to run peacefully in parallel. So when used in
gtk context, the gtk widget should be able to disable the poll
function in clutter and let gtk own the event queueing.


Ok. Can you provide me with pointers to source files?

Daniel

ps: I am impressed with the activity of this list. I am used to  
waiting at least a day...

--
To unsubscribe send a mail to [EMAIL PROTECTED]