mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 06:46:19 +02:00
Adding the populated counter
This commit is contained in:
parent
c5b5aa93b1
commit
56e9b1bb37
2 changed files with 7 additions and 0 deletions
|
@ -310,3 +310,7 @@ uint32_t Context::getTexturePendingGPUTransferCount() {
|
|||
Size Context::getTexturePendingGPUTransferMemSize() {
|
||||
return Backend::texturePendingGPUTransferMemSize.getValue();
|
||||
}
|
||||
|
||||
Size Context::getTextureResourcePopulatedGPUMemSize() {
|
||||
return Backend::textureResourcePopulatedGPUMemSize.getValue();
|
||||
}
|
||||
|
|
|
@ -113,6 +113,7 @@ public:
|
|||
|
||||
static ContextMetricCount texturePendingGPUTransferCount;
|
||||
static ContextMetricSize texturePendingGPUTransferMemSize;
|
||||
static ContextMetricSize textureResourcePopulatedGPUMemSize;
|
||||
|
||||
|
||||
protected:
|
||||
|
@ -243,6 +244,8 @@ public:
|
|||
static uint32_t getTexturePendingGPUTransferCount();
|
||||
static Size getTexturePendingGPUTransferMemSize();
|
||||
|
||||
static Size getTextureResourcePopulatedGPUMemSize();
|
||||
|
||||
protected:
|
||||
Context(const Context& context);
|
||||
|
||||
|
|
Loading…
Reference in a new issue