a0e19c9469
The stack is now stored as a list of reference counted entries. Instead of using a GList, each entry now contains a link with a reference to its parent. The idea is that this would allow copying stacks with a shared ancestry. Previously the code flushed the state by finding the bottom of the stack and then applying each entry by walking back up to the top. This is slightly harder to do now because the list is no longer doubly-linked. However I don't think it matters which order the entries are applied so I've just changed it to apply them in reverse order. There was also a restriction that if ever the stencil buffer is used then we could no longer use clip planes for any subsequent entries. I don't think this makes sense because it should always work as long as it doesn't attempt to use the clip planes more than once. I've therefore removed the restriction. |
||
---|---|---|
.. | ||
cogl | ||
doc | ||
pango | ||
Makefile.am |