2007-03-21 Matthew Allum <mallum@openedhand.com>
[clutter-gtk] / ChangeLog
1 2007-03-21  Matthew Allum  <mallum@openedhand.com>
2
3         * clutter-gtk/gtk-clutter.c:
4         * clutter-gtk/gtk-clutter.h:
5         Redo to subclass GtkSocket and use XEMBED to embed clutter stage.
6         Needs at least clutter 0.2.2. Avoids previous issues with
7         white textures when painting onto a GtkWindow.
8
9         * examples/gtk-clutter-test.c: (main):
10         Update.
11
12         * configure.ac:
13         * clutter-gtk.pc.in:
14         Fixups to require clutter-0.2.2
15
16 2006-11-30  Matthew Allum  <mallum@openedhand.com>
17
18         * clutter-gtk.doap:
19         Update doap file a little.
20
21 2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>
22
23         * clutter-gtk/gtk-clutter.c:
24         (gtk_clutter_expose_event): Queue a redraw of the
25         stage instead of directly swapping the GL buffers.
26
27 2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>
28
29         * clutter-gtk/gtk-clutter.c:
30         (gtk_clutter_expose_event): Use the newly added
31         clutter_stage_swap_buffers() and fix the missing redraw
32         on expose bug.
33
34 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
35
36         * examples/gtk-clutter-test.c: Add a "quit" button.
37
38 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
39
40         * clutter-gtk/gtk-clutter.c:
41         (gtk_clutter_destroy): Destroy the ClutterStage instead
42         of unreffing it.
43
44         (gtk_clutter_size_allocate): Queue a redraw if the stage
45         is marked as visible.
46
47         (gtk_clutter_realize): Remove the forced realize: the
48         stage is already realized by default.
49
50         * examples/gtk-clutter-test.c: Use gtk_main_quit().
51
52 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
53
54         * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
55
56         * clutter-gtk/gtk-clutter.c:
57         (gtk_clutter_destroy), (gtk_clutter_class_init): Move
58         the stage unref to the GtkObject::destroy method.
59
60         (gtk_clutter_size_allocate): Oblige to the size allocation
61         request from the container of the GtkClutter widget by
62         resizing the ClutterStage.
63
64         (gtk_clutter_size_request): Require the size of the stage.
65
66         (gtk_clutter_destroy), (gtk_clutter_size_request),
67         (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
68         macro, which does a type check and a function call; use the
69         priv pointer we conveniently keep around.
70
71         * examples/gtk-clutter-test.c: Use the given constructor;
72         now window resizing works.  The stage doesn't get refreshed
73         immediately (resize the window), though, and there's still
74         the X error when we close the window.
75
76 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
77
78         * *: Initial import out of the main tree.