pool append move and copy
This commit is contained in:
@@ -10,9 +10,14 @@ PD_API Drawlist::Drawlist() { Clear(); }
|
||||
|
||||
PD_API Drawlist::~Drawlist() { Clear(); }
|
||||
|
||||
PD_API void Drawlist::Merge(Drawlist& other) {}
|
||||
PD_API void Drawlist::Merge(Drawlist& other) {
|
||||
pCommands.AppendMove(other.pCommands);
|
||||
other.Clear();
|
||||
}
|
||||
|
||||
PD_API void Drawlist::Copy(Drawlist& other) {}
|
||||
PD_API void Drawlist::Copy(Drawlist& other) {
|
||||
pCommands.AppendCopy(other.pCommands);
|
||||
}
|
||||
|
||||
PD_API void Drawlist::Optimize() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user