[maemo-commits] [maemo-commits] r17532 - in projects/haf/trunk/clutter: clutter/cogl/common debian
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Feb 27 16:12:00 EET 2009
- Previous message: [maemo-commits] r17531 - projects/haf/trunk/libmatchbox2
- Next message: [maemo-commits] r17533 - projects/haf/trunk/hildon-thumbnail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: gw Date: 2009-02-27 16:11:59 +0200 (Fri, 27 Feb 2009) New Revision: 17532 Modified: projects/haf/trunk/clutter/clutter/cogl/common/cogl-bitmap-pixbuf.c projects/haf/trunk/clutter/debian/changelog Log: Now be 100% safe - at the expense of colour depth Modified: projects/haf/trunk/clutter/clutter/cogl/common/cogl-bitmap-pixbuf.c =================================================================== --- projects/haf/trunk/clutter/clutter/cogl/common/cogl-bitmap-pixbuf.c 2009-02-27 11:59:21 UTC (rev 17531) +++ projects/haf/trunk/clutter/clutter/cogl/common/cogl-bitmap-pixbuf.c 2009-02-27 14:11:59 UTC (rev 17532) @@ -136,11 +136,11 @@ csemi = ctotal - (ctransparent + copaque); if (has_transparent) - *has_transparent = ctransparent > ctotal/50; + *has_transparent = ctransparent > /*ctotal/50*/0; if (has_semi) - *has_semi = csemi > ctotal/50; + *has_semi = csemi > /*ctotal/50*/0; if (has_opaque) - *has_opaque = copaque > ctotal/50; + *has_opaque = copaque > /*ctotal/50*/0; } /* Find the best 16 bit format for this bitmap. It can Modified: projects/haf/trunk/clutter/debian/changelog =================================================================== --- projects/haf/trunk/clutter/debian/changelog 2009-02-27 11:59:21 UTC (rev 17531) +++ projects/haf/trunk/clutter/debian/changelog 2009-02-27 14:11:59 UTC (rev 17532) @@ -3,6 +3,8 @@ * Fixed coverity findings for clutter-behaviour-rotate.c * Fixed coverity findings for json-parser.c * Changed colour ranges for _cogl_bitmap_check_alpha to make it more safe + * Changed _cogl_bitmap_check_alpha to be 100% safe (at the expense of colour + depth) - bug 102062 * unreleased -- Gordon Williams <gordon.williams at collabora.co.uk> Mon, 23 Feb 2009 13:59:13 +0200
- Previous message: [maemo-commits] r17531 - projects/haf/trunk/libmatchbox2
- Next message: [maemo-commits] r17533 - projects/haf/trunk/hildon-thumbnail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]