diff --git a/dom/canvas/TexUnpackBlob.cpp b/dom/canvas/TexUnpackBlob.cpp index 0e6d8f5f48f2..f9cb53d3bc90 100644 --- a/dom/canvas/TexUnpackBlob.cpp +++ b/dom/canvas/TexUnpackBlob.cpp @@ -13,6 +13,7 @@ #include "nsLayoutUtils.h" #include "WebGLBuffer.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #include "WebGLTexelConversions.h" #include "WebGLTexture.h" diff --git a/dom/canvas/WebGL2ContextRenderbuffers.cpp b/dom/canvas/WebGL2ContextRenderbuffers.cpp index 820ea655b97c..65ece765fbd5 100644 --- a/dom/canvas/WebGL2ContextRenderbuffers.cpp +++ b/dom/canvas/WebGL2ContextRenderbuffers.cpp @@ -8,6 +8,7 @@ #include "GLContext.h" #include "WebGLContextUtils.h" +#include "WebGLFormats.h" namespace mozilla { diff --git a/dom/canvas/WebGLContext.cpp b/dom/canvas/WebGLContext.cpp index 45ce08a2f59b..019d149a0ec0 100644 --- a/dom/canvas/WebGLContext.cpp +++ b/dom/canvas/WebGLContext.cpp @@ -63,6 +63,7 @@ #include "WebGLContextLossHandler.h" #include "WebGLContextUtils.h" #include "WebGLExtensions.h" +#include "WebGLFormats.h" #include "WebGLFramebuffer.h" #include "WebGLMemoryTracker.h" #include "WebGLObjectModel.h" diff --git a/dom/canvas/WebGLContext.h b/dom/canvas/WebGLContext.h index 8bd65834b6c0..d2d64e65f082 100644 --- a/dom/canvas/WebGLContext.h +++ b/dom/canvas/WebGLContext.h @@ -34,7 +34,6 @@ #include "CacheMap.h" #include "WebGLContextLossHandler.h" #include "WebGLContextUnchecked.h" -#include "WebGLFormats.h" #include "WebGLObjectModel.h" #include "WebGLStrongTypes.h" #include "WebGLTexture.h" @@ -102,6 +101,9 @@ class MozFramebuffer; namespace webgl { class AvailabilityRunnable; struct CachedDrawFetchLimits; +struct FormatInfo; +class FormatUsageAuthority; +struct FormatUsageInfo; struct LinkedProgramInfo; class ShaderValidator; class TexUnpackBlob; diff --git a/dom/canvas/WebGLContextFramebufferOperations.cpp b/dom/canvas/WebGLContextFramebufferOperations.cpp index ce0262f8034d..2dfc9cdcf704 100644 --- a/dom/canvas/WebGLContextFramebufferOperations.cpp +++ b/dom/canvas/WebGLContextFramebufferOperations.cpp @@ -4,11 +4,13 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "WebGLContext.h" -#include "WebGLTexture.h" -#include "WebGLRenderbuffer.h" -#include "WebGLFramebuffer.h" + #include "GLContext.h" #include "GLScreenBuffer.h" +#include "WebGLFormats.h" +#include "WebGLFramebuffer.h" +#include "WebGLRenderbuffer.h" +#include "WebGLTexture.h" namespace mozilla { diff --git a/dom/canvas/WebGLExtensionCompressedTextureASTC.cpp b/dom/canvas/WebGLExtensionCompressedTextureASTC.cpp index 3d0a8862f6b5..6bd121325704 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureASTC.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureASTC.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" namespace mozilla { diff --git a/dom/canvas/WebGLExtensionCompressedTextureATC.cpp b/dom/canvas/WebGLExtensionCompressedTextureATC.cpp index b114016ce54e..85a45a2dac1a 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureATC.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureATC.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLExtensionCompressedTextureES3.cpp b/dom/canvas/WebGLExtensionCompressedTextureES3.cpp index 974e4283fa33..ea8a5bc47924 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureES3.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureES3.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLExtensionCompressedTextureETC1.cpp b/dom/canvas/WebGLExtensionCompressedTextureETC1.cpp index 9f2d7a62af96..94b6167ec40d 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureETC1.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureETC1.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp b/dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp index 939ce7363f72..21c61becedc6 100644 --- a/dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp +++ b/dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp b/dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp index e032a47e99ec..1ba3854eb730 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLExtensionCompressedTextureS3TC_SRGB.cpp b/dom/canvas/WebGLExtensionCompressedTextureS3TC_SRGB.cpp index c547928f4e14..fe66f5699c2d 100644 --- a/dom/canvas/WebGLExtensionCompressedTextureS3TC_SRGB.cpp +++ b/dom/canvas/WebGLExtensionCompressedTextureS3TC_SRGB.cpp @@ -7,6 +7,7 @@ #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #ifdef FOO #error FOO is already defined! We use FOO() macros to keep things succinct in this file. diff --git a/dom/canvas/WebGLRenderbuffer.cpp b/dom/canvas/WebGLRenderbuffer.cpp index d90fe785b4bf..ba1d3e716ec5 100644 --- a/dom/canvas/WebGLRenderbuffer.cpp +++ b/dom/canvas/WebGLRenderbuffer.cpp @@ -9,6 +9,7 @@ #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "ScopedGLHelpers.h" #include "WebGLContext.h" +#include "WebGLFormats.h" #include "WebGLStrongTypes.h" #include "WebGLTexture.h" diff --git a/dom/canvas/WebGLTexture.cpp b/dom/canvas/WebGLTexture.cpp index 5dce61015963..c5e62a790049 100644 --- a/dom/canvas/WebGLTexture.cpp +++ b/dom/canvas/WebGLTexture.cpp @@ -15,6 +15,7 @@ #include "ScopedGLHelpers.h" #include "WebGLContext.h" #include "WebGLContextUtils.h" +#include "WebGLFormats.h" #include "WebGLFramebuffer.h" #include "WebGLSampler.h" #include "WebGLTexelConversions.h"