Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow

This commit is contained in:
Jonathan Watt 2014-04-16 01:41:40 +01:00
parent 192cfd4627
commit 200e95e9eb
95 changed files with 16 additions and 132 deletions

View File

@ -7,8 +7,6 @@
#include "nsIImageLoadingContent.h" #include "nsIImageLoadingContent.h"
#include "nsExpirationTracker.h" #include "nsExpirationTracker.h"
#include "imgIRequest.h" #include "imgIRequest.h"
#include "gfxASurface.h"
#include "gfxPoint.h"
#include "mozilla/dom/Element.h" #include "mozilla/dom/Element.h"
#include "nsTHashtable.h" #include "nsTHashtable.h"
#include "mozilla/dom/HTMLCanvasElement.h" #include "mozilla/dom/HTMLCanvasElement.h"

View File

@ -6,6 +6,8 @@
#ifndef CANVASIMAGECACHE_H_ #ifndef CANVASIMAGECACHE_H_
#define CANVASIMAGECACHE_H_ #define CANVASIMAGECACHE_H_
#include "nsSize.h"
namespace mozilla { namespace mozilla {
namespace dom { namespace dom {
class Element; class Element;
@ -16,9 +18,6 @@ class SourceSurface;
} // namespace gfx } // namespace gfx
} // namespace mozilla } // namespace mozilla
class imgIRequest; class imgIRequest;
class gfxASurface;
#include "gfxPoint.h"
namespace mozilla { namespace mozilla {

View File

@ -23,7 +23,6 @@
#include "nsLayoutUtils.h" #include "nsLayoutUtils.h"
#include "GLContextProvider.h" #include "GLContextProvider.h"
#include "gfxImageSurface.h"
#include "mozilla/LinkedList.h" #include "mozilla/LinkedList.h"
#include "mozilla/CheckedInt.h" #include "mozilla/CheckedInt.h"

View File

@ -20,7 +20,6 @@
#include "nsString.h" #include "nsString.h"
#include "nsDebug.h" #include "nsDebug.h"
#include "gfxImageSurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "GLContext.h" #include "GLContext.h"

View File

@ -8,7 +8,6 @@
#include "ImageEncoder.h" #include "ImageEncoder.h"
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
#include "gfxImageSurface.h"
#include "Layers.h" #include "Layers.h"
#include "mozilla/Base64.h" #include "mozilla/Base64.h"
#include "mozilla/CheckedInt.h" #include "mozilla/CheckedInt.h"

View File

@ -42,7 +42,6 @@
#include "nsViewManager.h" #include "nsViewManager.h"
#include "nsIDOMHTMLCanvasElement.h" #include "nsIDOMHTMLCanvasElement.h"
#include "gfxImageSurface.h"
#include "nsLayoutUtils.h" #include "nsLayoutUtils.h"
#include "nsComputedDOMStyle.h" #include "nsComputedDOMStyle.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"

View File

@ -15,7 +15,6 @@
#include "nsError.h" #include "nsError.h"
#include "mozilla/EventForwards.h" #include "mozilla/EventForwards.h"
class gfxASurface;
class gfxContext; class gfxContext;
class nsCString; class nsCString;
struct nsIntRect; struct nsIntRect;

View File

@ -43,7 +43,6 @@ typedef IOSurfacePtr (*IOSurfaceContextGetSurfaceFunc)(CGContextRef ref);
#include "2D.h" #include "2D.h"
#include "mozilla/RefPtr.h" #include "mozilla/RefPtr.h"
class gfxASurface;
struct _CGLContextObject; struct _CGLContextObject;
typedef _CGLContextObject* CGLContextObj; typedef _CGLContextObject* CGLContextObj;

View File

@ -27,7 +27,6 @@
#include "GLDefs.h" #include "GLDefs.h"
#include "GLLibraryLoader.h" #include "GLLibraryLoader.h"
#include "gfxImageSurface.h"
#include "gfx3DMatrix.h" #include "gfx3DMatrix.h"
#include "nsISupportsImpl.h" #include "nsISupportsImpl.h"
#include "plstr.h" #include "plstr.h"

View File

@ -7,13 +7,12 @@
#define GLCONTEXTPROVIDER_H_ #define GLCONTEXTPROVIDER_H_
#include "GLContextTypes.h" #include "GLContextTypes.h"
#include "gfxTypes.h"
#include "gfxPoint.h"
#include "nsAutoPtr.h" #include "nsAutoPtr.h"
#include "SurfaceTypes.h" #include "SurfaceTypes.h"
#include "nsSize.h" // for gfxIntSize (needed by GLContextProviderImpl.h below)
class nsIWidget; class nsIWidget;
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace gl { namespace gl {

View File

@ -9,9 +9,6 @@
#include "nsDebug.h" #include "nsDebug.h"
#include "nsIWidget.h" #include "nsIWidget.h"
#include <OpenGL/gl.h> #include <OpenGL/gl.h>
#include "gfxASurface.h"
#include "gfxImageSurface.h"
#include "gfxQuartzSurface.h"
#include "gfxPrefs.h" #include "gfxPrefs.h"
#include "gfxFailure.h" #include "gfxFailure.h"
#include "prenv.h" #include "prenv.h"

View File

@ -100,7 +100,6 @@ public:
#include "gfxUtils.h" #include "gfxUtils.h"
#include "gfxFailure.h" #include "gfxFailure.h"
#include "gfxASurface.h" #include "gfxASurface.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "GLContextProvider.h" #include "GLContextProvider.h"
#include "GLLibraryEGL.h" #include "GLLibraryEGL.h"

View File

@ -26,7 +26,6 @@
#include "GLXLibrary.h" #include "GLXLibrary.h"
#include "gfxXlibSurface.h" #include "gfxXlibSurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "GLContextGLX.h" #include "GLContextGLX.h"
#include "gfxUtils.h" #include "gfxUtils.h"

View File

@ -8,8 +8,6 @@
#include "GLLibraryLoader.h" #include "GLLibraryLoader.h"
#include "nsDebug.h" #include "nsDebug.h"
#include "nsIWidget.h" #include "nsIWidget.h"
#include "gfxASurface.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "gfxWindowsSurface.h" #include "gfxWindowsSurface.h"

View File

@ -9,6 +9,7 @@
#include "OGLShaderProgram.h" #include "OGLShaderProgram.h"
#include "gfxTypes.h" #include "gfxTypes.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxImageSurface.h"
#include "ScopedGLHelpers.h" #include "ScopedGLHelpers.h"
#include "mozilla/gfx/2D.h" #include "mozilla/gfx/2D.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"

View File

@ -18,7 +18,6 @@
#include <queue> #include <queue>
// Forwards: // Forwards:
class gfxImageSurface;
namespace mozilla { namespace mozilla {
namespace gl { namespace gl {
class GLContext; class GLContext;

View File

@ -5,7 +5,6 @@
#include "SharedSurfaceIO.h" #include "SharedSurfaceIO.h"
#include "GLContextCGL.h" #include "GLContextCGL.h"
#include "gfxImageSurface.h"
#include "mozilla/gfx/MacIOSurface.h" #include "mozilla/gfx/MacIOSurface.h"
#include "mozilla/DebugOnly.h" #include "mozilla/DebugOnly.h"
#include "ScopedGLHelpers.h" #include "ScopedGLHelpers.h"

View File

@ -6,6 +6,7 @@
#ifndef SHARED_SURFACEIO_H_ #ifndef SHARED_SURFACEIO_H_
#define SHARED_SURFACEIO_H_ #define SHARED_SURFACEIO_H_
#include "gfxImageSurface.h"
#include "SharedSurfaceGL.h" #include "SharedSurfaceGL.h"
#include "mozilla/RefPtr.h" #include "mozilla/RefPtr.h"

View File

@ -10,7 +10,6 @@
#include "SharedSurface.h" // for SharedSurface #include "SharedSurface.h" // for SharedSurface
#include "SharedSurfaceGL.h" // for SharedSurface_GL, etc #include "SharedSurfaceGL.h" // for SharedSurface_GL, etc
#include "SurfaceTypes.h" // for APITypeT, APITypeT::OpenGL, etc #include "SurfaceTypes.h" // for APITypeT, APITypeT::OpenGL, etc
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxMatrix.h" // for gfxMatrix #include "gfxMatrix.h" // for gfxMatrix
#include "gfxPattern.h" // for gfxPattern, etc #include "gfxPattern.h" // for gfxPattern, etc
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat #include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat

View File

@ -9,7 +9,6 @@
#include <stdint.h> // for uint32_t #include <stdint.h> // for uint32_t
#include "GLContextTypes.h" // for GLContext #include "GLContextTypes.h" // for GLContext
#include "Layers.h" // for CanvasLayer, etc #include "Layers.h" // for CanvasLayer, etc
#include "gfxASurface.h" // for gfxASurface
#include "gfxContext.h" // for gfxContext, etc #include "gfxContext.h" // for gfxContext, etc
#include "gfxTypes.h" #include "gfxTypes.h"
#include "gfxPlatform.h" // for gfxImageFormat #include "gfxPlatform.h" // for gfxImageFormat

View File

@ -4,7 +4,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "D3D9SurfaceImage.h" #include "D3D9SurfaceImage.h"
#include "gfxImageSurface.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "mozilla/layers/TextureD3D9.h" #include "mozilla/layers/TextureD3D9.h"
#include "mozilla/gfx/Types.h" #include "mozilla/gfx/Types.h"

View File

@ -11,7 +11,6 @@
#include "mozilla/layers/ImageBridgeChild.h" #include "mozilla/layers/ImageBridgeChild.h"
#include "mozilla/layers/GrallocTextureClient.h" #include "mozilla/layers/GrallocTextureClient.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "gfxImageSurface.h"
#include "YCbCrUtils.h" // for YCbCr conversions #include "YCbCrUtils.h" // for YCbCr conversions
#include <ColorConverter.h> #include <ColorConverter.h>

View File

@ -8,7 +8,6 @@
#include <string.h> // for memcpy, memset #include <string.h> // for memcpy, memset
#include "SharedTextureImage.h" // for SharedTextureImage #include "SharedTextureImage.h" // for SharedTextureImage
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxPlatform.h" // for gfxPlatform #include "gfxPlatform.h" // for gfxPlatform
#include "gfxUtils.h" // for gfxUtils #include "gfxUtils.h" // for gfxUtils
#include "mozilla/RefPtr.h" // for TemporaryRef #include "mozilla/RefPtr.h" // for TemporaryRef

View File

@ -8,8 +8,8 @@
#include <stdint.h> // for uint32_t, uint8_t, uint64_t #include <stdint.h> // for uint32_t, uint8_t, uint64_t
#include <sys/types.h> // for int32_t #include <sys/types.h> // for int32_t
#include "gfxTypes.h"
#include "ImageTypes.h" // for ImageFormat, etc #include "ImageTypes.h" // for ImageFormat, etc
#include "gfxASurface.h" // for gfxASurface, etc
#include "mozilla/Assertions.h" // for MOZ_ASSERT_HELPER2 #include "mozilla/Assertions.h" // for MOZ_ASSERT_HELPER2
#include "mozilla/Mutex.h" // for Mutex #include "mozilla/Mutex.h" // for Mutex
#include "mozilla/ReentrantMonitor.h" // for ReentrantMonitorAutoEnter, etc #include "mozilla/ReentrantMonitor.h" // for ReentrantMonitorAutoEnter, etc

View File

@ -5,7 +5,6 @@
#include "ImageDataSerializer.h" #include "ImageDataSerializer.h"
#include "gfx2DGlue.h" // for SurfaceFormatToImageFormat #include "gfx2DGlue.h" // for SurfaceFormatToImageFormat
#include "gfxASurface.h" // for gfxASurface
#include "gfxImageSurface.h" // for gfxImageSurface #include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxPoint.h" // for gfxIntSize #include "gfxPoint.h" // for gfxIntSize
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc

View File

@ -47,7 +47,6 @@
#include "prlog.h" // for PRLogModuleInfo #include "prlog.h" // for PRLogModuleInfo
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
class gfxASurface;
class gfxContext; class gfxContext;
extern uint8_t gLayerManagerLayerBuilder; extern uint8_t gLayerManagerLayerBuilder;

View File

@ -10,7 +10,6 @@
#include "mozilla/gfx/MacIOSurface.h" #include "mozilla/gfx/MacIOSurface.h"
#include "mozilla/gfx/Point.h" #include "mozilla/gfx/Point.h"
#include "mozilla/layers/TextureClient.h" #include "mozilla/layers/TextureClient.h"
#include "gfxImageSurface.h"
namespace mozilla { namespace mozilla {

View File

@ -6,8 +6,8 @@
#ifndef ROTATEDBUFFER_H_ #ifndef ROTATEDBUFFER_H_
#define ROTATEDBUFFER_H_ #define ROTATEDBUFFER_H_
#include "gfxTypes.h"
#include <stdint.h> // for uint32_t #include <stdint.h> // for uint32_t
#include "gfxASurface.h" // for gfxASurface, etc
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
#include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef #include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef
#include "mozilla/gfx/2D.h" // for DrawTarget, etc #include "mozilla/gfx/2D.h" // for DrawTarget, etc

View File

@ -12,8 +12,6 @@
#include "nsCOMPtr.h" // for already_AddRefed #include "nsCOMPtr.h" // for already_AddRefed
#include "mozilla/gfx/Point.h" // for IntSize #include "mozilla/gfx/Point.h" // for IntSize
class gfxASurface;
// Split into a separate header from ImageLayers.h due to GLContext.h dependence // Split into a separate header from ImageLayers.h due to GLContext.h dependence
// Implementation remains in ImageLayers.cpp // Implementation remains in ImageLayers.cpp

View File

@ -6,7 +6,6 @@
#ifndef GFX_AUTOMASKDATA_H_ #ifndef GFX_AUTOMASKDATA_H_
#define GFX_AUTOMASKDATA_H_ #define GFX_AUTOMASKDATA_H_
#include "gfxASurface.h"
#include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor #include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor
namespace mozilla { namespace mozilla {
@ -15,8 +14,7 @@ namespace layers {
/** /**
* Drawing with a mask requires a mask surface and a transform. * Drawing with a mask requires a mask surface and a transform.
* *
* This helper class manages the gfxASurface * This helper class manages the SourceSurface logic.
* logic.
*/ */
class MOZ_STACK_CLASS AutoMoz2DMaskData { class MOZ_STACK_CLASS AutoMoz2DMaskData {
public: public:

View File

@ -9,13 +9,6 @@
#include "Layers.h" // for Layer (ptr only), etc #include "Layers.h" // for Layer (ptr only), etc
#include "basic/BasicImplData.h" // for BasicImplData #include "basic/BasicImplData.h" // for BasicImplData
#include "basic/BasicLayers.h" // for BasicLayerManager #include "basic/BasicLayers.h" // for BasicLayerManager
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxContext.h" // for gfxContext
#include "gfxPattern.h" // for gfxPattern, etc
#include "gfxUtils.h" // for gfxUtils
#ifdef MOZ_X11
#include "gfxXlibSurface.h" // for gfxXlibSurface
#endif
#include "mozilla/mozalloc.h" // for operator new #include "mozilla/mozalloc.h" // for operator new
#include "nsAutoPtr.h" // for nsRefPtr, getter_AddRefs, etc #include "nsAutoPtr.h" // for nsRefPtr, getter_AddRefs, etc
#include "nsCOMPtr.h" // for already_AddRefed #include "nsCOMPtr.h" // for already_AddRefed

View File

@ -9,7 +9,6 @@
#include "ImageTypes.h" // for ImageFormat, etc #include "ImageTypes.h" // for ImageFormat, etc
#include "cairo.h" // for cairo_user_data_key_t #include "cairo.h" // for cairo_user_data_key_t
#include "gfxASurface.h" // for gfxASurface, etc #include "gfxASurface.h" // for gfxASurface, etc
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat #include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat
#include "gfxUtils.h" // for gfxUtils #include "gfxUtils.h" // for gfxUtils
#include "mozilla/mozalloc.h" // for operator delete[], etc #include "mozilla/mozalloc.h" // for operator delete[], etc

View File

@ -11,8 +11,6 @@
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc
#include "mozilla/gfx/Types.h" #include "mozilla/gfx/Types.h"
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -9,7 +9,6 @@
#include "BasicImplData.h" // for BasicImplData #include "BasicImplData.h" // for BasicImplData
#include "BasicLayers.h" // for BasicLayerManager #include "BasicLayers.h" // for BasicLayerManager
#include "ReadbackLayer.h" // for ReadbackLayer #include "ReadbackLayer.h" // for ReadbackLayer
#include "gfxASurface.h" // for gfxASurface
#include "gfxContext.h" // for gfxContext, etc #include "gfxContext.h" // for gfxContext, etc
#include "mozilla/Attributes.h" // for MOZ_DELETE, MOZ_STACK_CLASS #include "mozilla/Attributes.h" // for MOZ_DELETE, MOZ_STACK_CLASS
#include "mozilla/Maybe.h" // for Maybe #include "mozilla/Maybe.h" // for Maybe

View File

@ -10,7 +10,6 @@
#include "ReadbackProcessor.h" // for ReadbackProcessor::Update, etc #include "ReadbackProcessor.h" // for ReadbackProcessor::Update, etc
#include "RenderTrace.h" // for RenderTraceInvalidateEnd, etc #include "RenderTrace.h" // for RenderTraceInvalidateEnd, etc
#include "BasicLayersImpl.h" // for AutoMaskData, etc #include "BasicLayersImpl.h" // for AutoMaskData, etc
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxContext.h" // for gfxContext, etc #include "gfxContext.h" // for gfxContext, etc
#include "gfxRect.h" // for gfxRect #include "gfxRect.h" // for gfxRect
#include "gfxUtils.h" // for gfxUtils #include "gfxUtils.h" // for gfxUtils

View File

@ -10,7 +10,6 @@
#include "SurfaceStream.h" // for SurfaceStream #include "SurfaceStream.h" // for SurfaceStream
#include "SurfaceTypes.h" // for SurfaceStreamHandle #include "SurfaceTypes.h" // for SurfaceStreamHandle
#include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat #include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxPlatform.h" // for gfxPlatform #include "gfxPlatform.h" // for gfxPlatform
#include "mozilla/gfx/BaseSize.h" // for BaseSize #include "mozilla/gfx/BaseSize.h" // for BaseSize
#include "mozilla/layers/CompositableForwarder.h" #include "mozilla/layers/CompositableForwarder.h"

View File

@ -6,7 +6,6 @@
#include "ClientLayerManager.h" // for ClientLayerManager, etc #include "ClientLayerManager.h" // for ClientLayerManager, etc
#include "ImageContainer.h" // for AutoLockImage, etc #include "ImageContainer.h" // for AutoLockImage, etc
#include "ImageLayers.h" // for ImageLayer #include "ImageLayers.h" // for ImageLayer
#include "gfxASurface.h" // for gfxASurface
#include "mozilla/Attributes.h" // for MOZ_OVERRIDE #include "mozilla/Attributes.h" // for MOZ_OVERRIDE
#include "mozilla/RefPtr.h" // for RefPtr #include "mozilla/RefPtr.h" // for RefPtr
#include "mozilla/layers/CompositorTypes.h" #include "mozilla/layers/CompositorTypes.h"

View File

@ -6,7 +6,6 @@
#include "ClientLayerManager.h" #include "ClientLayerManager.h"
#include "CompositorChild.h" // for CompositorChild #include "CompositorChild.h" // for CompositorChild
#include "GeckoProfiler.h" // for PROFILER_LABEL #include "GeckoProfiler.h" // for PROFILER_LABEL
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxPrefs.h" // for gfxPrefs::LayersTileWidth/Height #include "gfxPrefs.h" // for gfxPrefs::LayersTileWidth/Height
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
#include "mozilla/Hal.h" #include "mozilla/Hal.h"

View File

@ -9,7 +9,6 @@
#include <stdint.h> // for uint32_t #include <stdint.h> // for uint32_t
#include "GeckoProfiler.h" // for PROFILER_LABEL #include "GeckoProfiler.h" // for PROFILER_LABEL
#include "client/ClientLayerManager.h" // for ClientLayerManager, etc #include "client/ClientLayerManager.h" // for ClientLayerManager, etc
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxContext.h" // for gfxContext #include "gfxContext.h" // for gfxContext
#include "gfxRect.h" // for gfxRect #include "gfxRect.h" // for gfxRect
#include "gfxPrefs.h" // for gfxPrefs #include "gfxPrefs.h" // for gfxPrefs

View File

@ -10,7 +10,6 @@
#include "mozilla/layers/TextureClient.h" // for TextureClient, etc #include "mozilla/layers/TextureClient.h" // for TextureClient, etc
#include "mozilla/layers/TextureClientOGL.h" #include "mozilla/layers/TextureClientOGL.h"
#include "mozilla/mozalloc.h" // for operator delete, etc #include "mozilla/mozalloc.h" // for operator delete, etc
#include "gfxASurface.h" // for gfxContentType
#ifdef XP_WIN #ifdef XP_WIN
#include "gfxWindowsPlatform.h" // for gfxWindowsPlatform #include "gfxWindowsPlatform.h" // for gfxWindowsPlatform
#include "mozilla/layers/TextureD3D11.h" #include "mozilla/layers/TextureD3D11.h"

View File

@ -16,7 +16,6 @@
#include "mozilla/layers/LayersTypes.h" // for LayersBackend #include "mozilla/layers/LayersTypes.h" // for LayersBackend
#include "mozilla/layers/PCompositableChild.h" // for PCompositableChild #include "mozilla/layers/PCompositableChild.h" // for PCompositableChild
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc
#include "gfxASurface.h" // for gfxContentType
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -28,7 +28,6 @@
#include "nsTArray.h" // for nsTArray #include "nsTArray.h" // for nsTArray
class gfxContext; class gfxContext;
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace gfx { namespace gfx {

View File

@ -9,7 +9,6 @@
#include "ImageTypes.h" // for ImageFormat::PLANAR_YCBCR, etc #include "ImageTypes.h" // for ImageFormat::PLANAR_YCBCR, etc
#include "SharedTextureImage.h" // for SharedTextureImage::Data, etc #include "SharedTextureImage.h" // for SharedTextureImage::Data, etc
#include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat #include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxPlatform.h" // for gfxPlatform #include "gfxPlatform.h" // for gfxPlatform
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
#include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef #include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef

View File

@ -46,7 +46,6 @@
#ifdef MOZ_ANDROID_OMTC #ifdef MOZ_ANDROID_OMTC
# include "gfxReusableImageSurfaceWrapper.h" # include "gfxReusableImageSurfaceWrapper.h"
# include "gfxImageSurface.h"
#else #else
# include "gfxReusableSharedImageSurfaceWrapper.h" # include "gfxReusableSharedImageSurfaceWrapper.h"
# include "gfxSharedImageSurface.h" # include "gfxSharedImageSurface.h"

View File

@ -29,7 +29,6 @@
#include "nsISupportsImpl.h" // for TextureImage::AddRef, etc #include "nsISupportsImpl.h" // for TextureImage::AddRef, etc
class gfxReusableSurfaceWrapper; class gfxReusableSurfaceWrapper;
class gfxASurface;
class gfxImageSurface; class gfxImageSurface;
namespace mozilla { namespace mozilla {

View File

@ -36,8 +36,6 @@
#include "pratom.h" // For PR_ATOMIC_INCREMENT/DECREMENT #include "pratom.h" // For PR_ATOMIC_INCREMENT/DECREMENT
#include "gfxPrefs.h" #include "gfxPrefs.h"
class gfxImageSurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -9,7 +9,6 @@
#include "Units.h" // for LayerRect, LayerPixel, etc #include "Units.h" // for LayerRect, LayerPixel, etc
#include "gfx2DGlue.h" // for ToMatrix4x4 #include "gfx2DGlue.h" // for ToMatrix4x4
#include "gfx3DMatrix.h" // for gfx3DMatrix #include "gfx3DMatrix.h" // for gfx3DMatrix
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxPrefs.h" // for gfxPrefs #include "gfxPrefs.h" // for gfxPrefs
#include "gfxUtils.h" // for gfxUtils, etc #include "gfxUtils.h" // for gfxUtils, etc
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc

View File

@ -53,7 +53,6 @@
#include "GeckoProfiler.h" #include "GeckoProfiler.h"
#include "TextRenderer.h" // for TextRenderer #include "TextRenderer.h" // for TextRenderer
class gfxASurface;
class gfxContext; class gfxContext;
struct nsIntSize; struct nsIntSize;

View File

@ -29,7 +29,6 @@
#include "nscore.h" // for nsAString, etc #include "nscore.h" // for nsAString, etc
#include "LayerTreeInvalidation.h" #include "LayerTreeInvalidation.h"
class gfxASurface;
class gfxContext; class gfxContext;
struct nsIntPoint; struct nsIntPoint;
struct nsIntSize; struct nsIntSize;

View File

@ -7,7 +7,6 @@
#include "CompositableHost.h" // for CompositableHost #include "CompositableHost.h" // for CompositableHost
#include "LayersLogging.h" // for AppendToString #include "LayersLogging.h" // for AppendToString
#include "gfx2DGlue.h" // for ToIntSize #include "gfx2DGlue.h" // for ToIntSize
#include "gfxImageSurface.h" // for gfxImageSurface
#include "mozilla/gfx/2D.h" // for DataSourceSurface, Factory #include "mozilla/gfx/2D.h" // for DataSourceSurface, Factory
#include "mozilla/ipc/Shmem.h" // for Shmem #include "mozilla/ipc/Shmem.h" // for Shmem
#include "mozilla/layers/Compositor.h" // for Compositor #include "mozilla/layers/Compositor.h" // for Compositor

View File

@ -26,7 +26,6 @@
#include "nscore.h" // for nsACString #include "nscore.h" // for nsACString
#include "mozilla/layers/AtomicRefCountedWithFinalize.h" #include "mozilla/layers/AtomicRefCountedWithFinalize.h"
class gfxImageSurface;
class gfxReusableSurfaceWrapper; class gfxReusableSurfaceWrapper;
struct nsIntPoint; struct nsIntPoint;
struct nsIntSize; struct nsIntSize;

View File

@ -6,7 +6,6 @@
#include "CanvasLayerD3D10.h" #include "CanvasLayerD3D10.h"
#include "../d3d9/Nv3DVUtils.h" #include "../d3d9/Nv3DVUtils.h"
#include "gfxImageSurface.h"
#include "gfxWindowsSurface.h" #include "gfxWindowsSurface.h"
#include "gfxWindowsPlatform.h" #include "gfxWindowsPlatform.h"
#include "SurfaceStream.h" #include "SurfaceStream.h"

View File

@ -10,8 +10,6 @@
#include "mozilla/Preferences.h" #include "mozilla/Preferences.h"
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace gl { namespace gl {

View File

@ -4,7 +4,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ImageLayerD3D10.h" #include "ImageLayerD3D10.h"
#include "gfxImageSurface.h"
#include "gfxD2DSurface.h" #include "gfxD2DSurface.h"
#include "gfxWindowsSurface.h" #include "gfxWindowsSurface.h"
#include "yuv_convert.h" #include "yuv_convert.h"

View File

@ -6,7 +6,6 @@
#include "TextureD3D11.h" #include "TextureD3D11.h"
#include "CompositorD3D11.h" #include "CompositorD3D11.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxImageSurface.h"
#include "Effects.h" #include "Effects.h"
#include "mozilla/layers/YCbCrImageDataSerializer.h" #include "mozilla/layers/YCbCrImageDataSerializer.h"
#include "gfxWindowsPlatform.h" #include "gfxWindowsPlatform.h"

View File

@ -6,7 +6,6 @@
#include "mozilla/layers/PLayerTransaction.h" #include "mozilla/layers/PLayerTransaction.h"
#include "gfxImageSurface.h"
#include "gfxWindowsSurface.h" #include "gfxWindowsSurface.h"
#include "gfxWindowsPlatform.h" #include "gfxWindowsPlatform.h"
#include "SurfaceStream.h" #include "SurfaceStream.h"

View File

@ -9,8 +9,6 @@
#include "LayerManagerD3D9.h" #include "LayerManagerD3D9.h"
#include "GLContextTypes.h" #include "GLContextTypes.h"
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -12,7 +12,6 @@
#include "ImageLayerD3D9.h" #include "ImageLayerD3D9.h"
#include "ThebesLayerD3D9.h" #include "ThebesLayerD3D9.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "gfxImageSurface.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "yuv_convert.h" #include "yuv_convert.h"
#include "nsIServiceManager.h" #include "nsIServiceManager.h"

View File

@ -8,7 +8,6 @@
#include "Layers.h" #include "Layers.h"
#include "LayerManagerD3D9.h" #include "LayerManagerD3D9.h"
#include "gfxImageSurface.h"
#include "ReadbackProcessor.h" #include "ReadbackProcessor.h"
namespace mozilla { namespace mozilla {

View File

@ -8,7 +8,6 @@
#include "ISurfaceAllocator.h" #include "ISurfaceAllocator.h"
#include <sys/types.h> // for int32_t #include <sys/types.h> // for int32_t
#include "gfx2DGlue.h" // for IntSize #include "gfx2DGlue.h" // for IntSize
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat #include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat
#include "gfxSharedImageSurface.h" // for gfxSharedImageSurface #include "gfxSharedImageSurface.h" // for gfxSharedImageSurface
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc

View File

@ -22,7 +22,6 @@
#include "nsIMemoryReporter.h" #include "nsIMemoryReporter.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "GLContext.h" #include "GLContext.h"

View File

@ -18,8 +18,6 @@
#define MOZ_HAVE_SURFACEDESCRIPTORGRALLOC #define MOZ_HAVE_SURFACEDESCRIPTORGRALLOC
#define MOZ_HAVE_PLATFORM_SPECIFIC_LAYER_BUFFERS #define MOZ_HAVE_PLATFORM_SPECIFIC_LAYER_BUFFERS
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -13,7 +13,6 @@
#include "cairo-xlib.h" #include "cairo-xlib.h"
#include <stdint.h> // for uint32_t #include <stdint.h> // for uint32_t
#include "GLDefs.h" // for GLenum #include "GLDefs.h" // for GLenum
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxPlatform.h" // for gfxPlatform #include "gfxPlatform.h" // for gfxPlatform
#include "gfxXlibSurface.h" // for gfxXlibSurface #include "gfxXlibSurface.h" // for gfxXlibSurface
#include "gfx2DGlue.h" // for Moz2D transistion helpers #include "gfx2DGlue.h" // for Moz2D transistion helpers

View File

@ -14,7 +14,6 @@
#include "RenderTrace.h" // for RenderTraceScope #include "RenderTrace.h" // for RenderTraceScope
#include "ShadowLayerChild.h" // for ShadowLayerChild #include "ShadowLayerChild.h" // for ShadowLayerChild
#include "gfx2DGlue.h" // for Moz2D transition helpers #include "gfx2DGlue.h" // for Moz2D transition helpers
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxPlatform.h" // for gfxImageFormat, gfxPlatform #include "gfxPlatform.h" // for gfxImageFormat, gfxPlatform
#include "gfxSharedImageSurface.h" // for gfxSharedImageSurface #include "gfxSharedImageSurface.h" // for gfxSharedImageSurface
#include "ipc/IPCMessageUtils.h" // for gfxContentType, null_t #include "ipc/IPCMessageUtils.h" // for gfxContentType, null_t

View File

@ -23,7 +23,6 @@
struct nsIntPoint; struct nsIntPoint;
struct nsIntRect; struct nsIntRect;
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -20,8 +20,6 @@
#include "nsISupportsImpl.h" // for Image::AddRef #include "nsISupportsImpl.h" // for Image::AddRef
#include "mozilla/ipc/Shmem.h" #include "mozilla/ipc/Shmem.h"
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -12,8 +12,6 @@
#include "nsDebug.h" // for NS_WARNING #include "nsDebug.h" // for NS_WARNING
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR
class gfxASurface;
#ifndef MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H #ifndef MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H
#define MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H #define MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H

View File

@ -15,8 +15,6 @@
#include "mozilla/gfx/Types.h" // for SurfaceFormat #include "mozilla/gfx/Types.h" // for SurfaceFormat
#include "nsCOMPtr.h" // for already_AddRefed #include "nsCOMPtr.h" // for already_AddRefed
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace ipc { namespace ipc {
class Shmem; class Shmem;

View File

@ -22,7 +22,6 @@
#include "nsDebug.h" // for NS_ERROR, NS_WARNING #include "nsDebug.h" // for NS_ERROR, NS_WARNING
#include "nsString.h" // for nsAutoCString #include "nsString.h" // for nsAutoCString
class gfxImageSurface;
namespace mozilla { namespace mozilla {
namespace gl { namespace gl {

View File

@ -14,7 +14,6 @@
#include "LayerScope.h" // for LayerScope #include "LayerScope.h" // for LayerScope
#include "gfx2DGlue.h" // for ThebesFilter #include "gfx2DGlue.h" // for ThebesFilter
#include "gfx3DMatrix.h" // for gfx3DMatrix #include "gfx3DMatrix.h" // for gfx3DMatrix
#include "gfxASurface.h" // for gfxASurface, etc
#include "gfxCrashReporterUtils.h" // for ScopedGfxFeatureReporter #include "gfxCrashReporterUtils.h" // for ScopedGfxFeatureReporter
#include "gfxImageSurface.h" // for gfxImageSurface #include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxMatrix.h" // for gfxMatrix #include "gfxMatrix.h" // for gfxMatrix

View File

@ -11,8 +11,6 @@
#include "mozilla/layers/ISurfaceAllocator.h" #include "mozilla/layers/ISurfaceAllocator.h"
#include "mozilla/layers/ShadowLayerUtilsGralloc.h" #include "mozilla/layers/ShadowLayerUtilsGralloc.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "gfxASurface.h"
#include "gfxImageSurface.h" // for gfxImageSurface
namespace mozilla { namespace mozilla {
namespace layers { namespace layers {

View File

@ -4,7 +4,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GLContext.h" #include "GLContext.h"
#include "gfxImageSurface.h"
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include <ui/GraphicBuffer.h> #include <ui/GraphicBuffer.h>
#include "GrallocImages.h" // for GrallocImage #include "GrallocImages.h" // for GrallocImage

View File

@ -14,7 +14,6 @@
#include "SurfaceStream.h" // for SurfaceStream #include "SurfaceStream.h" // for SurfaceStream
#include "SurfaceTypes.h" // for SharedSurfaceType, etc #include "SurfaceTypes.h" // for SharedSurfaceType, etc
#include "gfx2DGlue.h" // for ContentForFormat, etc #include "gfx2DGlue.h" // for ContentForFormat, etc
#include "gfxImageSurface.h" // for gfxImageSurface
#include "gfxReusableSurfaceWrapper.h" // for gfxReusableSurfaceWrapper #include "gfxReusableSurfaceWrapper.h" // for gfxReusableSurfaceWrapper
#include "mozilla/gfx/2D.h" // for DataSourceSurface #include "mozilla/gfx/2D.h" // for DataSourceSurface
#include "mozilla/gfx/BaseSize.h" // for BaseSize #include "mozilla/gfx/BaseSize.h" // for BaseSize

View File

@ -36,7 +36,6 @@
#endif #endif
#endif #endif
class gfxImageSurface;
class gfxReusableSurfaceWrapper; class gfxReusableSurfaceWrapper;
class nsIntRegion; class nsIntRegion;
struct nsIntPoint; struct nsIntPoint;

View File

@ -13,7 +13,6 @@
#include "mozilla/RefPtr.h" #include "mozilla/RefPtr.h"
class gfxContext; class gfxContext;
class gfxImageSurface;
struct gfxRect; struct gfxRect;
struct gfxRGBA; struct gfxRGBA;
class gfxCornerSizes; class gfxCornerSizes;

View File

@ -6,6 +6,7 @@
#include "gfxDrawable.h" #include "gfxDrawable.h"
#include "gfxASurface.h" #include "gfxASurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "gfxColor.h" #include "gfxColor.h"
#ifdef MOZ_X11 #ifdef MOZ_X11

View File

@ -12,7 +12,6 @@
#include "gfxXlibNativeRenderer.h" #include "gfxXlibNativeRenderer.h"
#endif #endif
class gfxASurface;
class gfxContext; class gfxContext;
/** /**

View File

@ -7,7 +7,6 @@
#define GFXQTNATIVERENDER_H_ #define GFXQTNATIVERENDER_H_
#include "gfxColor.h" #include "gfxColor.h"
#include "gfxASurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxXlibSurface.h" #include "gfxXlibSurface.h"

View File

@ -14,6 +14,7 @@
#include "X11/Xlib.h" #include "X11/Xlib.h"
#endif #endif
class gfxImageSurface;
class gfxFontconfigUtils; class gfxFontconfigUtils;
class QWindow; class QWindow;

View File

@ -10,7 +10,6 @@
#include <map> #include <map>
#include <android/log.h> #include <android/log.h>
#include "nsSurfaceTexture.h" #include "nsSurfaceTexture.h"
#include "gfxImageSurface.h"
#include "AndroidBridge.h" #include "AndroidBridge.h"
#include "nsThreadUtils.h" #include "nsThreadUtils.h"
#include "mozilla/gfx/Matrix.h" #include "mozilla/gfx/Matrix.h"

View File

@ -13,8 +13,6 @@
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "GLDefs.h" #include "GLDefs.h"
class gfxASurface;
namespace mozilla { namespace mozilla {
namespace gfx { namespace gfx {
class Matrix4x4; class Matrix4x4;

View File

@ -67,7 +67,6 @@ class nsISelection;
template<class E> class nsCOMArray; template<class E> class nsCOMArray;
class nsWeakFrame; class nsWeakFrame;
class nsIScrollableFrame; class nsIScrollableFrame;
class gfxASurface;
class gfxContext; class gfxContext;
class nsIDOMEvent; class nsIDOMEvent;
class nsDisplayList; class nsDisplayList;

View File

@ -7,7 +7,6 @@
#include "nsSVGFilterFrame.h" #include "nsSVGFilterFrame.h"
// Keep others in (case-insensitive) order: // Keep others in (case-insensitive) order:
#include "gfxASurface.h"
#include "gfxUtils.h" #include "gfxUtils.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsRenderingContext.h" #include "nsRenderingContext.h"

View File

@ -11,7 +11,6 @@
// Keep others in (case-insensitive) order: // Keep others in (case-insensitive) order:
#include "gfx2DGlue.h" #include "gfx2DGlue.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxImageSurface.h"
#include "gfxMatrix.h" #include "gfxMatrix.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "gfxRect.h" #include "gfxRect.h"

View File

@ -27,9 +27,7 @@
#include "mozilla/Constants.h" #include "mozilla/Constants.h"
#include <algorithm> #include <algorithm>
class gfxASurface;
class gfxContext; class gfxContext;
class gfxImageSurface;
class gfxPattern; class gfxPattern;
class nsFrameList; class nsFrameList;
class nsIContent; class nsIContent;

View File

@ -38,7 +38,6 @@
#include "transportlayerdtls.h" #include "transportlayerdtls.h"
#include "transportlayerice.h" #include "transportlayerice.h"
#include "runnable_utils.h" #include "runnable_utils.h"
#include "gfxImageSurface.h"
#include "libyuv/convert.h" #include "libyuv/convert.h"
#include "mozilla/gfx/Point.h" #include "mozilla/gfx/Point.h"
#include "mozilla/gfx/Types.h" #include "mozilla/gfx/Types.h"

View File

@ -13,7 +13,6 @@
#include "nsPrintSettingsX.h" #include "nsPrintSettingsX.h"
#include "gfxQuartzSurface.h" #include "gfxQuartzSurface.h"
#include "gfxImageSurface.h"
// This must be the last include: // This must be the last include:
#include "nsObjCExceptions.h" #include "nsObjCExceptions.h"

View File

@ -27,7 +27,6 @@
#include "nsIDocument.h" #include "nsIDocument.h"
#include "nsIContent.h" #include "nsIContent.h"
#include "nsView.h" #include "nsView.h"
#include "gfxASurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "nsCocoaUtils.h" #include "nsCocoaUtils.h"
#include "mozilla/gfx/2D.h" #include "mozilla/gfx/2D.h"

View File

@ -36,7 +36,6 @@
#include "imgLoader.h" #include "imgLoader.h"
#include "imgRequestProxy.h" #include "imgRequestProxy.h"
#include "nsMenuItemX.h" #include "nsMenuItemX.h"
#include "gfxImageSurface.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "imgIContainer.h" #include "imgIContainer.h"
#include "nsCocoaUtils.h" #include "nsCocoaUtils.h"

View File

@ -7,6 +7,7 @@
#ifndef nsDragService_h__ #ifndef nsDragService_h__
#define nsDragService_h__ #define nsDragService_h__
#include "nsAutoPtr.h"
#include "nsBaseDragService.h" #include "nsBaseDragService.h"
#include "nsIObserver.h" #include "nsIObserver.h"
#include "nsAutoRef.h" #include "nsAutoRef.h"

View File

@ -5,19 +5,13 @@
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>
#include "gfxASurface.h" #include "nsImageToPixbuf.h"
#include "gfxImageSurface.h"
#include "gfxContext.h"
#include "gfxPlatform.h"
#include "mozilla/gfx/2D.h"
#include "mozilla/RefPtr.h"
#include "imgIContainer.h" #include "imgIContainer.h"
#include "mozilla/gfx/2D.h"
#include "mozilla/RefPtr.h"
#include "nsAutoPtr.h" #include "nsAutoPtr.h"
#include "nsImageToPixbuf.h"
using mozilla::gfx::DataSourceSurface; using mozilla::gfx::DataSourceSurface;
using mozilla::gfx::SurfaceFormat; using mozilla::gfx::SurfaceFormat;
using mozilla::RefPtr; using mozilla::RefPtr;

View File

@ -9,10 +9,6 @@
#include "nsIImageToPixbuf.h" #include "nsIImageToPixbuf.h"
#include "mozilla/Attributes.h" #include "mozilla/Attributes.h"
class gfxASurface;
class gfxPattern;
class gfxImageSurface;
namespace mozilla { namespace mozilla {
namespace gfx { namespace gfx {
class SourceSurface; class SourceSurface;

View File

@ -60,8 +60,6 @@
#include "nsAutoPtr.h" #include "nsAutoPtr.h"
#include "gfxQtPlatform.h" #include "gfxQtPlatform.h"
#include "gfxContext.h"
#include "gfxImageSurface.h"
#include "nsIDOMWheelEvent.h" #include "nsIDOMWheelEvent.h"
@ -71,7 +69,6 @@
#include "keysym2ucs.h" #include "keysym2ucs.h"
#endif #endif
#include "gfxUtils.h"
#include "Layers.h" #include "Layers.h"
#include "GLContextProvider.h" #include "GLContextProvider.h"

View File

@ -35,7 +35,6 @@
#include "nsCRT.h" #include "nsCRT.h"
#include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceDefs.h"
#include "nsUnicharUtils.h" #include "nsUnicharUtils.h"
#include "gfxASurface.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "nsRect.h" #include "nsRect.h"
#include "nsMathUtils.h" #include "nsMathUtils.h"

View File

@ -12,11 +12,10 @@
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsIDOMDataTransfer.h" #include "nsIDOMDataTransfer.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsRect.h"
#include "nsPoint.h" #include "nsPoint.h"
#include "mozilla/RefPtr.h" #include "mozilla/RefPtr.h"
#include "gfxImageSurface.h"
// translucency level for drag images // translucency level for drag images
#define DRAG_TRANSLUCENCY 0.65 #define DRAG_TRANSLUCENCY 0.65