2011-09-30 21:45:50 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-09-30 21:45:50 -07:00
|
|
|
|
|
|
|
#ifndef WEBGLEXTENSIONS_H_
|
|
|
|
#define WEBGLEXTENSIONS_H_
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
|
2011-10-26 13:00:44 -07:00
|
|
|
class WebGLExtensionLoseContext :
|
|
|
|
public nsIWebGLExtensionLoseContext,
|
|
|
|
public WebGLExtension
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WebGLExtensionLoseContext(WebGLContext*);
|
|
|
|
virtual ~WebGLExtensionLoseContext();
|
|
|
|
|
2012-03-26 11:59:04 -07:00
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
2011-10-26 13:00:44 -07:00
|
|
|
NS_DECL_NSIWEBGLEXTENSIONLOSECONTEXT
|
|
|
|
};
|
|
|
|
|
2011-09-30 21:45:50 -07:00
|
|
|
class WebGLExtensionStandardDerivatives :
|
|
|
|
public nsIWebGLExtensionStandardDerivatives,
|
|
|
|
public WebGLExtension
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WebGLExtensionStandardDerivatives(WebGLContext* context);
|
|
|
|
virtual ~WebGLExtensionStandardDerivatives();
|
|
|
|
|
2012-03-26 11:59:04 -07:00
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
2011-09-30 21:45:50 -07:00
|
|
|
NS_DECL_NSIWEBGLEXTENSION
|
|
|
|
};
|
|
|
|
|
2012-02-23 05:43:57 -08:00
|
|
|
class WebGLExtensionTextureFilterAnisotropic :
|
|
|
|
public nsIWebGLExtensionTextureFilterAnisotropic,
|
|
|
|
public WebGLExtension
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WebGLExtensionTextureFilterAnisotropic(WebGLContext* context);
|
|
|
|
virtual ~WebGLExtensionTextureFilterAnisotropic();
|
|
|
|
|
2012-03-26 11:59:04 -07:00
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
2012-02-23 05:43:57 -08:00
|
|
|
NS_DECL_NSIWEBGLEXTENSION
|
|
|
|
};
|
|
|
|
|
2012-05-08 10:29:31 -07:00
|
|
|
class WebGLExtensionCompressedTextureS3TC :
|
|
|
|
public nsIWebGLExtensionCompressedTextureS3TC,
|
|
|
|
public WebGLExtension
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WebGLExtensionCompressedTextureS3TC(WebGLContext* context);
|
|
|
|
virtual ~WebGLExtensionCompressedTextureS3TC();
|
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
|
|
|
NS_DECL_NSIWEBGLEXTENSION
|
|
|
|
};
|
|
|
|
|
2011-09-30 21:45:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // WEBGLEXTENSIONS_H_
|