Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Apparently clutter changed something in the order actors are realized so
the reparenting trick wasn't working anymore.
Anyway I should really drop this gdk thing and get back to plain Xlib
since gdk moved to client side windows and cannot be used anymore as a
plain wrapper over x11 stuff.
|
|
|
|
|
|
Damn, it seems I disabled it believing it wasn't really necessary but it
actually it is. Remember: don't assume something that works on nvidia
actually works everywhere. By the way doesn't work well on nvidia too if I
disable updates, it just works "well enough" to make me not notice I
disabled it :)
|
|
|
|
Fix a warning and do some dummy animation stuff.. nothing really useful
nor definitive, just a quick test.
|
|
Bind each actor to a sink and a function in the layout to retrieve the
correspondent actor for a sink so the xoverlay window can be set in a
definite order and not randomly as before.
|
|
|
|
|
|
Remove unused functions copied from tidygrid and reduce the layout manager
to just a scaling manager that keeps the aspect ratio
|
|
Write a placeholder subclass of CheeseTexture, at the moment it doesn't do
anything but could be useful to abstract the gstreamer part from the
TFP backend or just for keeping everything a bit cleaner, we'll see.
|
|
Turns out I completely missed clutter_x11_handle_event function.
This way I can forward structure and damage events to clutterx11tfp to
make it manually handle them. This way automatic-updates works again.
Btw, it seems that it works correctly even if autoupdates is FALSE but I
still have to figure out why.
|
|
Don't really recall why I added it
|
|
I'm sorry for this big commit but I was working on a separate branch and
it was stuffed with several silly commits with unuseful messages (in sardo)
that I didn't want to make public :P
Let's summarize what happened:
1. Move to gdkwindow
- clutter-gtk disables x11 event retrieval. This has the unfortunate
consequence of f***ing up ClutterX11TexturePixmap auto update part and
sync pixmap on window configure/map part
- also this prevents me from using the x11 filters to remap unmapped
windows on stage iconification
- how to solve this? clutter doesn't handle x11 events anymore because gdk
does, so let's use a gdk filter to:
a) listen to damage events to reproduce auto-updates behaviour (partly
copied and reworked from ClutterX11TexturePixmap implementation
b) listen to structure events to sync pixmap on map and configure
c) listen to stage win map events to remap on iconification
- also take advantage of gdk windowing api (to improve)
- I'm still doubtful about reparent on stage realize thing... but don't
how to handle differently since GtkClutterEmbed sets a foreign window
for the stage on realize
2. First test with a layout manager
- copied from TidyGrid just to test how a layout works
- resize layout on window configure-event
3. Hope that's all... it is as far as I remember
|
|
|
|
|
|
|
|
Set a null sized input shape to prevent offscreen video windows to steal
input from the clutter stage.
|
|
|
|
|
|
|
|
Try to add a simple on-mouse-over with clutter_actor_animate
Position video windows offscreen so that they don't steal input to the
stage. Probably not the proper way to do it.
|
|
Create window in the init function. Wait for the stage to be mapped
before to map the video window, install a x11 event handler to map-unmap
the window with the parent (stage window).
|
|
Rearrange everything a bit to abstract the window creation process
|
|
Subclass ClutterGLXTexturePixmap. At the moment it does nothing more than
the parent class, well I'm no even sure I need a subclass.. we'll see.
|
|
Import clutteractortee.c from gst-plugins-gl examples and rename it to
cheese-texture.c.
Add initial support for Map and Unmap event handling.
Create a little autotools skeleton.
|