Bumping manifests a=b2g-bump
[gecko.git] / dom / canvas / WebGLExtensionBlendMinMax.cpp
blobf2ca63e52e1717760ebeca2ce7fcee22af4843d9
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "WebGLExtensions.h"
7 #include "GLContext.h"
8 #include "mozilla/dom/WebGLRenderingContextBinding.h"
9 #include "WebGLContext.h"
11 namespace mozilla {
13 WebGLExtensionBlendMinMax::WebGLExtensionBlendMinMax(WebGLContext* webgl)
14 : WebGLExtensionBase(webgl)
16 MOZ_ASSERT(IsSupported(webgl), "Don't construct extension if unsupported.");
19 WebGLExtensionBlendMinMax::~WebGLExtensionBlendMinMax()
23 bool
24 WebGLExtensionBlendMinMax::IsSupported(const WebGLContext* webgl)
26 return webgl->GL()->IsSupported(gl::GLFeature::blend_minmax);
29 IMPL_WEBGL_EXTENSION_GOOP(WebGLExtensionBlendMinMax)
31 } // namespace mozilla