mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +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:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user