diff --git a/ChangeLog b/ChangeLog index ed9a30e96..77803a37d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ +2008-06-14 Emmanuele Bassi + + * README: We depend on PangoCairo, now; also add all the missing + release notes entries and the missing backends configuration notes. + 2008-06-14 Matthew Allum * README: - Make needed GL version 1.4, note GLES2 support, add some notes - for COGL. + Make needed GL version 1.4, note GLES2 support, add some notes + for COGL. 2008-06-13 Emmanuele Bassi @@ -506,16 +511,16 @@ 2008-06-06 Matthew Allum - Bug #948 - Remove texture rectangle support + Bug #948 - Remove texture rectangle support * clutter/clutter-feature.c: * clutter/clutter-feature.h: * clutter/clutter-texture.c: * clutter/cogl/gl/cogl.c: * clutter/glx/clutter-glx-texture-pixmap.c: - Remove support for GL_TEXTURE_RECTANGLE_ARB (now using just regular - 2D textures, with optional npots extension). Simplifys code, + makes - mipmap & shader support much more sane. + Remove support for GL_TEXTURE_RECTANGLE_ARB (now using just regular + 2D textures, with optional npots extension). Simplifys code, + makes + mipmap & shader support much more sane. 2008-06-06 Øyvind Kolås @@ -636,24 +641,24 @@ Applied patch from bug #947 - * clutter/clutter-stage.c (clutter_stage_get_default): Don't grab - the floating reference when creating the default stage. The stage - manager will take a reference to it so it will behave as any other - stage. - (clutter_stage_new): Don't take the floating reference to the new - stage but let the stage manager keep it instead. + * clutter/clutter-stage.c (clutter_stage_get_default): Don't grab + the floating reference when creating the default stage. The stage + manager will take a reference to it so it will behave as any other + stage. + (clutter_stage_new): Don't take the floating reference to the new + stage but let the stage manager keep it instead. - * clutter/clutter-stage-manager.c - (_clutter_stage_manager_add_stage): Take a reference to the stage + * clutter/clutter-stage-manager.c + (_clutter_stage_manager_add_stage): Take a reference to the stage when it is added to the list. - (_clutter_stage_manager_remove_stage): Unref the stage when it is + (_clutter_stage_manager_remove_stage): Unref the stage when it is removed from the list. - (clutter_stage_manager_dispose): Keep track of the 'next' pointer + (clutter_stage_manager_dispose): Keep track of the 'next' pointer as a separate variable so we can cope when the stage being destroyed removes itself from the list as the list is being iterated. - * clutter/clutter-actor.c (clutter_actor_destroy): Take a + * clutter/clutter-actor.c (clutter_actor_destroy): Take a reference at the beginning of the function even if there is no parent container so that overall the reference count is not changed when the actor is unref'd again at the bottom of the @@ -664,11 +669,11 @@ 2008-06-03 Matthew Allum * clutter/glx/clutter-glx-texture-pixmap.c: - Dont always fallback to x11 (slow) updates for a single - failed pixmap. - Minor cleanups. + Dont always fallback to x11 (slow) updates for a single + failed pixmap. + Minor cleanups. * clutter/x11/clutter-x11-texture-pixmap.c: - Move shm allocation to only area updates. + Move shm allocation to only area updates. 2008-06-03 Øyvind Kolås diff --git a/README b/README index 404b2dabd..99059dca4 100644 --- a/README +++ b/README @@ -8,7 +8,7 @@ Clutter currently requires: * GLib >= 2.14.0 * GdkPixbuf - * Pango >= 1.18 + * PangoCairo >= 1.18 * OpenGL >= 1.4, OpenGL ES 1.1 or OpenGL ES 2.0 * GLX, SDL, WGL or an EGL Implementation @@ -62,25 +62,31 @@ See the INSTALL file. Info on specific Clutter options; eglnative: EGL/Open GL ES backend on 'native windowing system' - i.e - raw framebuffer. Expects EGL implementation to provide a - createNativeWindow () call. Also optionally supports + raw framebuffer. Expects the EGL implementation to provide + a createNativeWindow() call. Also it optionally supports tslib for touchscreen events. sdl: Basic SDL backend, using Open GL. Should provide portability - to Windows and possibly other OS's. (experimental) + to Windows and possibly other OS's. osx: OS X backend. (experimental) win32: - Windows WGL backend + Microsoft Windows(tm) WGL backend (experimental) - --with-imagebackend=[gdk-pixbuf/internal] - Select the image loading backend used by COGL (default=gdk-pixbuf) + fruity: + Apple iPod Touch(tm)/iPhone(tm) backend (experimental) - gdk-pixbuf: Depend on gdk-pixbuf-2.0 + --with-imagebackend=[gdk-pixbuf/quartz/internal] + Select the image loading backend used by COGL - internal: Internal JPEG and PNG loader. Should only be used - for testing on new platforms + gdk-pixbuf: Depend on gdk-pixbuf-2.0 (default for the glx, eglx, + eglnative, sdl, win32 flavours) + + quartz: Depend on CoreGraphics (default for the osx flavour) + + internal: Internal JPEG and PNG loader. Should only be used + for testing on new platforms --with-gles=[1.1/2.0] Select the GLES version (for EGL backends) (default=1.1) @@ -165,6 +171,38 @@ wanting to port to newer releases (See NEWS for general new feature info). Release Notes for Clutter 0.8 ------------------------------- +* The functions that return the transformed position of an actor have + been renamed to be more explicit about it: + + clutter_actor_get_abs_position - clutter_actor_get_transformed_position + clutter_actor_get_abs_size - clutter_actor_get_transformed_size + + Their behaviour has not been changed. + +* Clutter does not strictly depend on GdkPixbuf anymore; this means that + you will have to include yourself if you are + operating with GdkPixbuf objects and not including that header. The + GdkPixbuf-based API has been removed from Clutter core: + + clutter_texture_new_from_pixbuf + clutter_texture_set_pixbuf + clutter_texture_get_pixbuf + + are all deprecated functions. It is still possible to load a GdkPixbuf + into a ClutterTexture with this sample code: + + clutter_texture_set_from_rgb_data (texture, + gdk_pixbuf_get_pixels (pixbuf), + gdk_pixbuf_get_has_alpha (pixbuf), + gdk_pixbuf_get_width (pixbuf), + gdk_pixbuf_get_height (pixbuf), + gdk_pixbuf_get_rowstride (pixbuf), + 4, 0, + &error); + + The clutter-gtk integration library has API for using GdkPixbuf with + ClutterTextures (among others). + * The COGL GL wrapper API has been overhauled and now contains many new features including new texture abstractions, path based primitive drawing, improved FBO support and is now fully documented. @@ -238,7 +276,7 @@ Release Notes for Clutter 0.8 instead of returning the composited opacity of the entire parents chain of an actor, clutter_actor_get_opacity() does what you mean, and returns the opacity set with clutter_actor_set_opacity(). The composited - opacity value is now returned by clutter_actor_get_abs_opacity(). + opacity value is now returned by clutter_actor_get_paint_opacity(). * Until 0.6, clutter_label_get_color() would have returned a ClutterColor with the alpha component equal to the composited opacity of the label.