aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h')
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h b/src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h
index bbc9538b86d..b00cbf63eba 100644
--- a/src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h
+++ b/src/gallium/drivers/swr/rasterizer/common/rdtsc_buckets.h
@@ -48,7 +48,17 @@ extern THREAD UINT tlsThreadId;
class BucketManager
{
public:
- BucketManager() {}
+
+ uint32_t mCurrentFrame;
+ std::vector<uint32_t> mBucketMap;
+ bool mBucketsInitialized;
+ std::string mBucketMgrName;
+
+
+ BucketManager(std::string name) : mCurrentFrame(0), mBucketsInitialized(false), mBucketMgrName(name)
+ {
+ mBucketMap.clear();
+ }
~BucketManager();
// removes all registered thread data