mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2008-11-07 Matthew Allum <mallum@linux.intel.com>
Bug 1238 - [PATCH] Pack bitfields in ClutterTexturePrivate * clutter/clutter-texture.c: Using 'guint my_field : 1' for booleans to save space only makes sense if you group all such fields together. Fix grouping for ClutterTexturePrivate. Thanks to Owen Taylor for patch.
This commit is contained in:
parent
0d7545a541
commit
1453d8b44f
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2008-11-07 Matthew Allum <mallum@linux.intel.com>
|
||||
|
||||
Bug 1238 - [PATCH] Pack bitfields in ClutterTexturePrivate
|
||||
|
||||
* clutter/clutter-texture.c:
|
||||
|
||||
Using 'guint my_field : 1' for booleans to save space only
|
||||
makes sense if you group all such fields together. Fix
|
||||
grouping for ClutterTexturePrivate. Thanks to Owen Taylor for
|
||||
patch.
|
||||
|
||||
2008-11-07 Matthew Allum <mallum@linux.intel.com>
|
||||
|
||||
Bug 1237 - clutter_texture_set_filter_quality calls
|
||||
|
@ -77,11 +77,8 @@ struct _ClutterTexturePrivate
|
||||
{
|
||||
gint width;
|
||||
gint height;
|
||||
guint sync_actor_size : 1;
|
||||
gint max_tile_waste;
|
||||
ClutterTextureQuality filter_quality;
|
||||
guint repeat_x : 1;
|
||||
guint repeat_y : 1;
|
||||
CoglHandle texture;
|
||||
gboolean no_slice;
|
||||
|
||||
@ -94,6 +91,9 @@ struct _ClutterTexturePrivate
|
||||
guint local_data_has_alpha;
|
||||
guchar *local_data;
|
||||
|
||||
guint sync_actor_size : 1;
|
||||
guint repeat_x : 1;
|
||||
guint repeat_y : 1;
|
||||
guint in_dispose : 1;
|
||||
guint keep_aspect_ratio : 1;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user