mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Remove rdctype namespace. Rename rdctype::str -> rdcstr, rdcarray, etc
* Since these types are more prevalent than originally designed, it makes more sense to remove the namespace for ease of typing/naming. * Also add a specialised type 'bytebuf' for an array of bytes. * This makes mapping easier to SWIG since there's no special casing for namespaced arrays. Especially so for nested cases like rdctype::array<rdctype::str> -> rdcarray<rdcstr>
This commit is contained in:
@@ -224,7 +224,7 @@ void EventBrowser::OnEventChanged(uint32_t eventID)
|
||||
}
|
||||
|
||||
QPair<uint32_t, uint32_t> EventBrowser::AddDrawcalls(RDTreeWidgetItem *parent,
|
||||
const rdctype::array<DrawcallDescription> &draws)
|
||||
const rdcarray<DrawcallDescription> &draws)
|
||||
{
|
||||
uint lastEID = 0, lastDraw = 0;
|
||||
|
||||
@@ -282,8 +282,7 @@ QPair<uint32_t, uint32_t> EventBrowser::AddDrawcalls(RDTreeWidgetItem *parent,
|
||||
return qMakePair(lastEID, lastDraw);
|
||||
}
|
||||
|
||||
void EventBrowser::SetDrawcallTimes(RDTreeWidgetItem *node,
|
||||
const rdctype::array<CounterResult> &results)
|
||||
void EventBrowser::SetDrawcallTimes(RDTreeWidgetItem *node, const rdcarray<CounterResult> &results)
|
||||
{
|
||||
if(node == NULL)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user