MeVisLabToolboxReference
MeVis/Foundation/Sources/OSXSupport/macGPUInfo.h
Go to the documentation of this file.
00001 // **InsertLicense** code author="Felix Ritter" version="1.0"
00002 
00006 
00007 #ifndef __macGPUInfo_H
00008 #define __macGPUInfo_H
00009 #if defined(__APPLE__)
00010 
00011 #include <utility>
00012 #include <stdint.h>
00013 
00014 namespace macx {
00015 
00017   class GPUInfo
00018   {
00019   public:
00020     
00022     static bool drawingStateWillExecInHardware();
00023     
00025 
00027     static std::pair<uint64_t,uint64_t> getGPUMemoryInfo();
00028   };
00029 
00030 }
00031 
00032 #endif  // __APPLE__
00033 #endif  // __macGPUInfo_H