Neil Roberts 708bbc72e1 cogl: Implement retained clip stacks
This adds three new internal API functions which can be used to retain
the clip stack state and restore it later:

 _cogl_get_clip_stack
 _cogl_set_clip_stack
 _cogl_clip_stack_copy

The functions are currently internal and not yet used but we may want
to make them public in future to replace the cogl_clip_stack_save()
and cogl_clip_stack_restore() APIs.

The get function just returns the handle to the clip stack at the top
of the stack of stacks and the set function just replaces it.

The copy function makes a cheap copy of an existing stack by taking a
reference to the top stack entry. This ends up working like a deep
copy because there is no way to modify entries of a stack but it
doesn't actually copy the data.
2010-04-15 14:51:01 +01:00
..
2010-04-15 14:51:01 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 11:13:04 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-02-25 12:01:03 +00:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 11:12:32 +00:00
2010-01-20 00:38:07 +00:00
2010-03-02 11:12:32 +00:00
2010-02-04 21:10:02 +00:00
2010-03-02 11:12:32 +00:00
2010-02-12 14:50:11 +00:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00