diff --git a/gfx/gl/GLBlitTextureImageHelper.cpp b/gfx/gl/GLBlitTextureImageHelper.cpp index f8d709ec2cd..b151240e4e5 100644 --- a/gfx/gl/GLBlitTextureImageHelper.cpp +++ b/gfx/gl/GLBlitTextureImageHelper.cpp @@ -5,6 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "GLBlitTextureImageHelper.h" +#include "DecomposeIntoNoRepeatTriangles.h" #include "GLContext.h" #include "nsRect.h" #include "gfx2DGlue.h" diff --git a/gfx/gl/GLContextProviderEGL.cpp b/gfx/gl/GLContextProviderEGL.cpp index 2632cb42a87..ecbdff2b281 100644 --- a/gfx/gl/GLContextProviderEGL.cpp +++ b/gfx/gl/GLContextProviderEGL.cpp @@ -109,6 +109,9 @@ public: #include "gfxCrashReporterUtils.h" +#include "ScopedGLHelpers.h" +#include "GLBlitHelper.h" + using namespace mozilla::gfx; #ifdef MOZ_WIDGET_GONK diff --git a/gfx/gl/GLContextUtils.cpp b/gfx/gl/GLContextUtils.cpp index 8b129f840e1..34a5db1003b 100644 --- a/gfx/gl/GLContextUtils.cpp +++ b/gfx/gl/GLContextUtils.cpp @@ -5,6 +5,8 @@ #include "GLContext.h" #include "GLContextUtils.h" +#include "mozilla/gfx/2D.h" +#include "gfx2DGlue.h" using namespace mozilla::gfx; diff --git a/gfx/gl/GLContextUtils.h b/gfx/gl/GLContextUtils.h index d2f1bc054db..6913a37d266 100644 --- a/gfx/gl/GLContextUtils.h +++ b/gfx/gl/GLContextUtils.h @@ -20,7 +20,7 @@ namespace mozilla { namespace gl { TemporaryRef -ReadBackSurface(GLContext* aContext, GLuint aTexture, bool aYInvert, SurfaceFormat aFormat); +ReadBackSurface(GLContext* aContext, GLuint aTexture, bool aYInvert, gfx::SurfaceFormat aFormat); } // namespace gl } // namespace mozilla diff --git a/gfx/gl/GLScreenBuffer.cpp b/gfx/gl/GLScreenBuffer.cpp index 015f63a1afc..92894852bd1 100644 --- a/gfx/gl/GLScreenBuffer.cpp +++ b/gfx/gl/GLScreenBuffer.cpp @@ -17,6 +17,7 @@ #ifdef XP_MACOSX #include "SharedSurfaceIO.h" #endif +#include "ScopedGLHelpers.h" using namespace mozilla::gfx; diff --git a/gfx/gl/GLTextureImage.cpp b/gfx/gl/GLTextureImage.cpp index 632cfc91fa4..77b5ef6ce5d 100644 --- a/gfx/gl/GLTextureImage.cpp +++ b/gfx/gl/GLTextureImage.cpp @@ -9,6 +9,7 @@ #include "gfxPlatform.h" #include "gfxUtils.h" #include "gfx2DGlue.h" +#include "ScopedGLHelpers.h" namespace mozilla { namespace gl { diff --git a/gfx/gl/ScopedGLHelpers.cpp b/gfx/gl/ScopedGLHelpers.cpp index 042fe1227c2..8918995c414 100644 --- a/gfx/gl/ScopedGLHelpers.cpp +++ b/gfx/gl/ScopedGLHelpers.cpp @@ -3,6 +3,7 @@ * 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/. */ +#include "GLContext.h" #include "ScopedGLHelpers.h" namespace mozilla { diff --git a/gfx/gl/SharedSurfaceGralloc.cpp b/gfx/gl/SharedSurfaceGralloc.cpp index 4c093631f74..d34044a1ad6 100644 --- a/gfx/gl/SharedSurfaceGralloc.cpp +++ b/gfx/gl/SharedSurfaceGralloc.cpp @@ -15,6 +15,7 @@ #include "ui/GraphicBuffer.h" #include "../layers/ipc/ShadowLayers.h" +#include "ScopedGLHelpers.h" #define DEBUG_GRALLOC #ifdef DEBUG_GRALLOC diff --git a/gfx/layers/composite/CompositableHost.cpp b/gfx/layers/composite/CompositableHost.cpp index dc40785d181..e4e3e9547a9 100644 --- a/gfx/layers/composite/CompositableHost.cpp +++ b/gfx/layers/composite/CompositableHost.cpp @@ -15,6 +15,7 @@ #include "nsAutoPtr.h" // for nsRefPtr #include "nsDebug.h" // for NS_WARNING #include "nsTraceRefcnt.h" // for MOZ_COUNT_CTOR, etc +#include "gfxPlatform.h" // for gfxPlatform namespace mozilla { namespace layers {