Bug 1335296 - Expand about:support WebGL information

This commit is contained in:
janekptacijarabaci 2018-08-01 08:58:59 +02:00 • committed by Roy Tam
commit 43c36e207f
25 changed files with 256 additions and 29 deletions

View file

@ -12,6 +12,7 @@
#include "WebGLTypes.h"
namespace mozilla {
class ErrorResult;
namespace dom {
template<typename T>
@ -385,6 +386,19 @@ public:
DECL_WEBGL_EXTENSION_GOOP
};
class WebGLExtensionDebugGet final
: public WebGLExtensionBase
{
public:
explicit WebGLExtensionDebugGet(WebGLContext* webgl);
virtual ~WebGLExtensionDebugGet();
void GetParameter(JSContext* cx, GLenum pname,
JS::MutableHandle<JS::Value> retval, ErrorResult& er) const;
DECL_WEBGL_EXTENSION_GOOP
};
} // namespace mozilla
#endif // WEBGL_EXTENSIONS_H_