diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h')
-rw-r--r-- | Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h b/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h index edd6c135c..174056589 100644 --- a/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h +++ b/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h @@ -137,6 +137,15 @@ public: virtual void pushGroupMarkerEXT(const String&); virtual void popGroupMarkerEXT(void); + // Some helper methods to detect GPU functionality + virtual bool isNVIDIA() { return false; } + virtual bool isAMD() { return false; } + virtual bool isIntel() { return false; } + virtual String vendor() { return ""; } + + virtual bool maySupportMultisampling() { return true; } + virtual bool requiresBuiltInFunctionEmulation() { return false; } + private: // Instances of this class are strictly owned by the GraphicsContext3D implementation and do not // need to be instantiated by any other code. |