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