[pd-drivers]: Ad more debug values
[pd-3ds]: Use new debug values [pd-lithium]: Add functionality to DrawList::Optimize [pd-ui7]: Add setters for Menu pos ans size
This commit is contained in:
@@ -71,6 +71,7 @@ PD_API void DrawList::Merge(DrawList::Ref list) {
|
||||
PD_API void DrawList::Copy(DrawList::Ref list) { pPool.Copy(list->pPool); }
|
||||
|
||||
PD_API void DrawList::Optimize() {
|
||||
pPool.Sort();
|
||||
/*std::sort(pDrawList.begin(), pDrawList.end(),
|
||||
[](const PD::Li::Command::Ref &a, const PD::Li::Command::Ref &b) {
|
||||
if (a->Layer == b->Layer) { // Same layer
|
||||
|
||||
Reference in New Issue
Block a user