summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/Extensions3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/Extensions3D.h')
-rw-r--r--Source/WebCore/platform/graphics/Extensions3D.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/Extensions3D.h b/Source/WebCore/platform/graphics/Extensions3D.h
index 5f28afb3b..48b26ce12 100644
--- a/Source/WebCore/platform/graphics/Extensions3D.h
+++ b/Source/WebCore/platform/graphics/Extensions3D.h
@@ -188,6 +188,22 @@ public:
virtual void insertEventMarkerEXT(const String&) = 0;
virtual void pushGroupMarkerEXT(const String&) = 0;
virtual void popGroupMarkerEXT(void) = 0;
+
+ virtual bool isNVIDIA() = 0;
+ virtual bool isAMD() = 0;
+ virtual bool isIntel() = 0;
+ virtual String vendor() = 0;
+
+ // If this method returns false then the system *definitely* does not support multisampling.
+ // It does not necessarily say the system does support it - callers must attempt to construct
+ // multisampled renderbuffers and check framebuffer completeness.
+ // Ports should implement this to return false on configurations where it is known
+ // that multisampling is not available.
+ virtual bool maySupportMultisampling() = 0;
+
+ // Some configurations have bugs regarding built-in functions in their OpenGL drivers
+ // that must be avoided. Ports should implement this flag such configurations.
+ virtual bool requiresBuiltInFunctionEmulation() = 0;
};
} // namespace WebCore