diff options
Diffstat (limited to 'chrome/gpu/gpu_thread.h')
-rw-r--r-- | chrome/gpu/gpu_thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_thread.h b/chrome/gpu/gpu_thread.h index 65a0234..56d4b431 100644 --- a/chrome/gpu/gpu_thread.h +++ b/chrome/gpu/gpu_thread.h @@ -8,8 +8,10 @@ #include "base/basictypes.h" #include "base/scoped_ptr.h" +#include "base/time.h" #include "build/build_config.h" #include "chrome/common/child_thread.h" +#include "chrome/common/gpu_info.h" #include "chrome/gpu/gpu_channel.h" #include "chrome/gpu/gpu_config.h" #include "chrome/gpu/x_util.h" @@ -20,6 +22,8 @@ class GpuThread : public ChildThread { GpuThread(); ~GpuThread(); + void Init(const base::Time& process_start_time); + // Remove the channel for a particular renderer. void RemoveChannel(int renderer_id); @@ -37,6 +41,9 @@ class GpuThread : public ChildThread { typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap; GpuChannelMap gpu_channels_; + // Information about the GPU, such as device and vendor ID. + GPUInfo gpu_info_; + DISALLOW_COPY_AND_ASSIGN(GpuThread); }; |