Revert "picking: Fix tracking of pick buffer validity"

This reverts commit d7e86e2696.

This was a half baked patch that was pushed a bit early since it broke
test-texture-pick-with-alpha + the commit message refers to a change on
the wip/paint-box branch that hasn't happened yet.
This commit is contained in:
Robert Bragg
2010-09-23 11:35:42 +01:00
parent d7e86e2696
commit b2a56c9cda
4 changed files with 25 additions and 59 deletions

View File

@ -183,6 +183,9 @@ struct _ClutterMainContext
GList *repaint_funcs;
ClutterSettings *settings;
gint picks_per_frame;
gboolean have_complete_pick_buffer;
};
#define CLUTTER_CONTEXT() (_clutter_context_get_default ())
@ -276,13 +279,6 @@ int _clutter_stage_get_pending_swaps (ClutterStage *stage);
gboolean _clutter_stage_has_full_redraw_queued (ClutterStage *stage);
void _clutter_stage_set_pick_buffer_valid (ClutterStage *stage,
gboolean valid);
gboolean _clutter_stage_get_pick_buffer_valid (ClutterStage *stage);
void _clutter_stage_increment_pick_counter (ClutterStage *stage);
void _clutter_stage_unset_pick_counter (ClutterStage *stage);
guint _clutter_stage_get_pick_counter (ClutterStage *stage);
/* vfuncs implemented by backend */
GType _clutter_backend_impl_get_type (void);