mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
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:
parent
192cfd4627
commit
200e95e9eb
@ -7,8 +7,6 @@
|
||||
#include "nsIImageLoadingContent.h"
|
||||
#include "nsExpirationTracker.h"
|
||||
#include "imgIRequest.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPoint.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsTHashtable.h"
|
||||
#include "mozilla/dom/HTMLCanvasElement.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef CANVASIMAGECACHE_H_
|
||||
#define CANVASIMAGECACHE_H_
|
||||
|
||||
#include "nsSize.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
class Element;
|
||||
@ -16,9 +18,6 @@ class SourceSurface;
|
||||
} // namespace gfx
|
||||
} // namespace mozilla
|
||||
class imgIRequest;
|
||||
class gfxASurface;
|
||||
|
||||
#include "gfxPoint.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsLayoutUtils.h"
|
||||
|
||||
#include "GLContextProvider.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
#include "mozilla/LinkedList.h"
|
||||
#include "mozilla/CheckedInt.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "nsString.h"
|
||||
#include "nsDebug.h"
|
||||
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "GLContext.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "ImageEncoder.h"
|
||||
#include "jsapi.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/Base64.h"
|
||||
#include "mozilla/CheckedInt.h"
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "nsViewManager.h"
|
||||
|
||||
#include "nsIDOMHTMLCanvasElement.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsComputedDOMStyle.h"
|
||||
#include "nsIPresShell.h"
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "nsError.h"
|
||||
#include "mozilla/EventForwards.h"
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
class nsCString;
|
||||
struct nsIntRect;
|
||||
|
@ -43,7 +43,6 @@ typedef IOSurfacePtr (*IOSurfaceContextGetSurfaceFunc)(CGContextRef ref);
|
||||
#include "2D.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
|
||||
class gfxASurface;
|
||||
struct _CGLContextObject;
|
||||
|
||||
typedef _CGLContextObject* CGLContextObj;
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "GLDefs.h"
|
||||
#include "GLLibraryLoader.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfx3DMatrix.h"
|
||||
#include "nsISupportsImpl.h"
|
||||
#include "plstr.h"
|
||||
|
@ -7,13 +7,12 @@
|
||||
#define GLCONTEXTPROVIDER_H_
|
||||
|
||||
#include "GLContextTypes.h"
|
||||
#include "gfxTypes.h"
|
||||
#include "gfxPoint.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "SurfaceTypes.h"
|
||||
|
||||
#include "nsSize.h" // for gfxIntSize (needed by GLContextProviderImpl.h below)
|
||||
|
||||
class nsIWidget;
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace gl {
|
||||
|
@ -9,9 +9,6 @@
|
||||
#include "nsDebug.h"
|
||||
#include "nsIWidget.h"
|
||||
#include <OpenGL/gl.h>
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxQuartzSurface.h"
|
||||
#include "gfxPrefs.h"
|
||||
#include "gfxFailure.h"
|
||||
#include "prenv.h"
|
||||
|
@ -100,7 +100,6 @@ public:
|
||||
#include "gfxUtils.h"
|
||||
#include "gfxFailure.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "GLContextProvider.h"
|
||||
#include "GLLibraryEGL.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "GLXLibrary.h"
|
||||
#include "gfxXlibSurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "GLContextGLX.h"
|
||||
#include "gfxUtils.h"
|
||||
|
@ -8,8 +8,6 @@
|
||||
#include "GLLibraryLoader.h"
|
||||
#include "nsDebug.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfxWindowsSurface.h"
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "OGLShaderProgram.h"
|
||||
#include "gfxTypes.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "ScopedGLHelpers.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "gfx2DGlue.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <queue>
|
||||
|
||||
// Forwards:
|
||||
class gfxImageSurface;
|
||||
namespace mozilla {
|
||||
namespace gl {
|
||||
class GLContext;
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "SharedSurfaceIO.h"
|
||||
#include "GLContextCGL.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "mozilla/gfx/MacIOSurface.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "ScopedGLHelpers.h"
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef SHARED_SURFACEIO_H_
|
||||
#define SHARED_SURFACEIO_H_
|
||||
|
||||
#include "gfxImageSurface.h"
|
||||
#include "SharedSurfaceGL.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "SharedSurface.h" // for SharedSurface
|
||||
#include "SharedSurfaceGL.h" // for SharedSurface_GL, etc
|
||||
#include "SurfaceTypes.h" // for APITypeT, APITypeT::OpenGL, etc
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxMatrix.h" // for gfxMatrix
|
||||
#include "gfxPattern.h" // for gfxPattern, etc
|
||||
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <stdint.h> // for uint32_t
|
||||
#include "GLContextTypes.h" // for GLContext
|
||||
#include "Layers.h" // for CanvasLayer, etc
|
||||
#include "gfxASurface.h" // for gfxASurface
|
||||
#include "gfxContext.h" // for gfxContext, etc
|
||||
#include "gfxTypes.h"
|
||||
#include "gfxPlatform.h" // for gfxImageFormat
|
||||
|
@ -4,7 +4,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "D3D9SurfaceImage.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "mozilla/layers/TextureD3D9.h"
|
||||
#include "mozilla/gfx/Types.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "mozilla/layers/ImageBridgeChild.h"
|
||||
#include "mozilla/layers/GrallocTextureClient.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "YCbCrUtils.h" // for YCbCr conversions
|
||||
|
||||
#include <ColorConverter.h>
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <string.h> // for memcpy, memset
|
||||
#include "SharedTextureImage.h" // for SharedTextureImage
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "gfxUtils.h" // for gfxUtils
|
||||
#include "mozilla/RefPtr.h" // for TemporaryRef
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
#include <stdint.h> // for uint32_t, uint8_t, uint64_t
|
||||
#include <sys/types.h> // for int32_t
|
||||
#include "gfxTypes.h"
|
||||
#include "ImageTypes.h" // for ImageFormat, etc
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT_HELPER2
|
||||
#include "mozilla/Mutex.h" // for Mutex
|
||||
#include "mozilla/ReentrantMonitor.h" // for ReentrantMonitorAutoEnter, etc
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "ImageDataSerializer.h"
|
||||
#include "gfx2DGlue.h" // for SurfaceFormatToImageFormat
|
||||
#include "gfxASurface.h" // for gfxASurface
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPoint.h" // for gfxIntSize
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
|
@ -47,7 +47,6 @@
|
||||
#include "prlog.h" // for PRLogModuleInfo
|
||||
#include "gfx2DGlue.h"
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
|
||||
extern uint8_t gLayerManagerLayerBuilder;
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "mozilla/gfx/MacIOSurface.h"
|
||||
#include "mozilla/gfx/Point.h"
|
||||
#include "mozilla/layers/TextureClient.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
#ifndef ROTATEDBUFFER_H_
|
||||
#define ROTATEDBUFFER_H_
|
||||
|
||||
#include "gfxTypes.h"
|
||||
#include <stdint.h> // for uint32_t
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
#include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef
|
||||
#include "mozilla/gfx/2D.h" // for DrawTarget, etc
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include "nsCOMPtr.h" // for already_AddRefed
|
||||
#include "mozilla/gfx/Point.h" // for IntSize
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
// Split into a separate header from ImageLayers.h due to GLContext.h dependence
|
||||
// Implementation remains in ImageLayers.cpp
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#ifndef GFX_AUTOMASKDATA_H_
|
||||
#define GFX_AUTOMASKDATA_H_
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor
|
||||
|
||||
namespace mozilla {
|
||||
@ -15,8 +14,7 @@ namespace layers {
|
||||
/**
|
||||
* Drawing with a mask requires a mask surface and a transform.
|
||||
*
|
||||
* This helper class manages the gfxASurface
|
||||
* logic.
|
||||
* This helper class manages the SourceSurface logic.
|
||||
*/
|
||||
class MOZ_STACK_CLASS AutoMoz2DMaskData {
|
||||
public:
|
||||
|
@ -9,13 +9,6 @@
|
||||
#include "Layers.h" // for Layer (ptr only), etc
|
||||
#include "basic/BasicImplData.h" // for BasicImplData
|
||||
#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 "nsAutoPtr.h" // for nsRefPtr, getter_AddRefs, etc
|
||||
#include "nsCOMPtr.h" // for already_AddRefed
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "ImageTypes.h" // for ImageFormat, etc
|
||||
#include "cairo.h" // for cairo_user_data_key_t
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat
|
||||
#include "gfxUtils.h" // for gfxUtils
|
||||
#include "mozilla/mozalloc.h" // for operator delete[], etc
|
||||
|
@ -11,8 +11,6 @@
|
||||
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc
|
||||
#include "mozilla/gfx/Types.h"
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "BasicImplData.h" // for BasicImplData
|
||||
#include "BasicLayers.h" // for BasicLayerManager
|
||||
#include "ReadbackLayer.h" // for ReadbackLayer
|
||||
#include "gfxASurface.h" // for gfxASurface
|
||||
#include "gfxContext.h" // for gfxContext, etc
|
||||
#include "mozilla/Attributes.h" // for MOZ_DELETE, MOZ_STACK_CLASS
|
||||
#include "mozilla/Maybe.h" // for Maybe
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "ReadbackProcessor.h" // for ReadbackProcessor::Update, etc
|
||||
#include "RenderTrace.h" // for RenderTraceInvalidateEnd, etc
|
||||
#include "BasicLayersImpl.h" // for AutoMaskData, etc
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxContext.h" // for gfxContext, etc
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "gfxUtils.h" // for gfxUtils
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "SurfaceStream.h" // for SurfaceStream
|
||||
#include "SurfaceTypes.h" // for SurfaceStreamHandle
|
||||
#include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "mozilla/gfx/BaseSize.h" // for BaseSize
|
||||
#include "mozilla/layers/CompositableForwarder.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "ClientLayerManager.h" // for ClientLayerManager, etc
|
||||
#include "ImageContainer.h" // for AutoLockImage, etc
|
||||
#include "ImageLayers.h" // for ImageLayer
|
||||
#include "gfxASurface.h" // for gfxASurface
|
||||
#include "mozilla/Attributes.h" // for MOZ_OVERRIDE
|
||||
#include "mozilla/RefPtr.h" // for RefPtr
|
||||
#include "mozilla/layers/CompositorTypes.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "ClientLayerManager.h"
|
||||
#include "CompositorChild.h" // for CompositorChild
|
||||
#include "GeckoProfiler.h" // for PROFILER_LABEL
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxPrefs.h" // for gfxPrefs::LayersTileWidth/Height
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
#include "mozilla/Hal.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <stdint.h> // for uint32_t
|
||||
#include "GeckoProfiler.h" // for PROFILER_LABEL
|
||||
#include "client/ClientLayerManager.h" // for ClientLayerManager, etc
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxContext.h" // for gfxContext
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "gfxPrefs.h" // for gfxPrefs
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "mozilla/layers/TextureClient.h" // for TextureClient, etc
|
||||
#include "mozilla/layers/TextureClientOGL.h"
|
||||
#include "mozilla/mozalloc.h" // for operator delete, etc
|
||||
#include "gfxASurface.h" // for gfxContentType
|
||||
#ifdef XP_WIN
|
||||
#include "gfxWindowsPlatform.h" // for gfxWindowsPlatform
|
||||
#include "mozilla/layers/TextureD3D11.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "mozilla/layers/LayersTypes.h" // for LayersBackend
|
||||
#include "mozilla/layers/PCompositableChild.h" // for PCompositableChild
|
||||
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc
|
||||
#include "gfxASurface.h" // for gfxContentType
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "nsTArray.h" // for nsTArray
|
||||
|
||||
class gfxContext;
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "ImageTypes.h" // for ImageFormat::PLANAR_YCBCR, etc
|
||||
#include "SharedTextureImage.h" // for SharedTextureImage::Data, etc
|
||||
#include "gfx2DGlue.h" // for ImageFormatToSurfaceFormat
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
#include "mozilla/RefPtr.h" // for RefPtr, TemporaryRef
|
||||
|
@ -46,7 +46,6 @@
|
||||
|
||||
#ifdef MOZ_ANDROID_OMTC
|
||||
# include "gfxReusableImageSurfaceWrapper.h"
|
||||
# include "gfxImageSurface.h"
|
||||
#else
|
||||
# include "gfxReusableSharedImageSurfaceWrapper.h"
|
||||
# include "gfxSharedImageSurface.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "nsISupportsImpl.h" // for TextureImage::AddRef, etc
|
||||
|
||||
class gfxReusableSurfaceWrapper;
|
||||
class gfxASurface;
|
||||
class gfxImageSurface;
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -36,8 +36,6 @@
|
||||
#include "pratom.h" // For PR_ATOMIC_INCREMENT/DECREMENT
|
||||
#include "gfxPrefs.h"
|
||||
|
||||
class gfxImageSurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "Units.h" // for LayerRect, LayerPixel, etc
|
||||
#include "gfx2DGlue.h" // for ToMatrix4x4
|
||||
#include "gfx3DMatrix.h" // for gfx3DMatrix
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPrefs.h" // for gfxPrefs
|
||||
#include "gfxUtils.h" // for gfxUtils, etc
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
|
@ -53,7 +53,6 @@
|
||||
#include "GeckoProfiler.h"
|
||||
#include "TextRenderer.h" // for TextRenderer
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
struct nsIntSize;
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "nscore.h" // for nsAString, etc
|
||||
#include "LayerTreeInvalidation.h"
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
struct nsIntPoint;
|
||||
struct nsIntSize;
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "CompositableHost.h" // for CompositableHost
|
||||
#include "LayersLogging.h" // for AppendToString
|
||||
#include "gfx2DGlue.h" // for ToIntSize
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "mozilla/gfx/2D.h" // for DataSourceSurface, Factory
|
||||
#include "mozilla/ipc/Shmem.h" // for Shmem
|
||||
#include "mozilla/layers/Compositor.h" // for Compositor
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "nscore.h" // for nsACString
|
||||
#include "mozilla/layers/AtomicRefCountedWithFinalize.h"
|
||||
|
||||
class gfxImageSurface;
|
||||
class gfxReusableSurfaceWrapper;
|
||||
struct nsIntPoint;
|
||||
struct nsIntSize;
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "CanvasLayerD3D10.h"
|
||||
|
||||
#include "../d3d9/Nv3DVUtils.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxWindowsSurface.h"
|
||||
#include "gfxWindowsPlatform.h"
|
||||
#include "SurfaceStream.h"
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
namespace gl {
|
||||
|
@ -4,7 +4,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "ImageLayerD3D10.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxD2DSurface.h"
|
||||
#include "gfxWindowsSurface.h"
|
||||
#include "yuv_convert.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "TextureD3D11.h"
|
||||
#include "CompositorD3D11.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "Effects.h"
|
||||
#include "mozilla/layers/YCbCrImageDataSerializer.h"
|
||||
#include "gfxWindowsPlatform.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "mozilla/layers/PLayerTransaction.h"
|
||||
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxWindowsSurface.h"
|
||||
#include "gfxWindowsPlatform.h"
|
||||
#include "SurfaceStream.h"
|
||||
|
@ -9,8 +9,6 @@
|
||||
#include "LayerManagerD3D9.h"
|
||||
#include "GLContextTypes.h"
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "ImageLayerD3D9.h"
|
||||
#include "ThebesLayerD3D9.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "yuv_convert.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "Layers.h"
|
||||
#include "LayerManagerD3D9.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "ReadbackProcessor.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "ISurfaceAllocator.h"
|
||||
#include <sys/types.h> // for int32_t
|
||||
#include "gfx2DGlue.h" // for IntSize
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxPlatform.h" // for gfxPlatform, gfxImageFormat
|
||||
#include "gfxSharedImageSurface.h" // for gfxSharedImageSurface
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "nsIMemoryReporter.h"
|
||||
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "GLContext.h"
|
||||
|
@ -18,8 +18,6 @@
|
||||
#define MOZ_HAVE_SURFACEDESCRIPTORGRALLOC
|
||||
#define MOZ_HAVE_PLATFORM_SPECIFIC_LAYER_BUFFERS
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "cairo-xlib.h"
|
||||
#include <stdint.h> // for uint32_t
|
||||
#include "GLDefs.h" // for GLenum
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
#include "gfxXlibSurface.h" // for gfxXlibSurface
|
||||
#include "gfx2DGlue.h" // for Moz2D transistion helpers
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "RenderTrace.h" // for RenderTraceScope
|
||||
#include "ShadowLayerChild.h" // for ShadowLayerChild
|
||||
#include "gfx2DGlue.h" // for Moz2D transition helpers
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPlatform.h" // for gfxImageFormat, gfxPlatform
|
||||
#include "gfxSharedImageSurface.h" // for gfxSharedImageSurface
|
||||
#include "ipc/IPCMessageUtils.h" // for gfxContentType, null_t
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
struct nsIntPoint;
|
||||
struct nsIntRect;
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -20,8 +20,6 @@
|
||||
#include "nsISupportsImpl.h" // for Image::AddRef
|
||||
#include "mozilla/ipc/Shmem.h"
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include "nsDebug.h" // for NS_WARNING
|
||||
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
#ifndef MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H
|
||||
#define MOZILLA_LAYERS_SHAREDPLANARYCBCRIMAGE_H
|
||||
|
||||
|
@ -15,8 +15,6 @@
|
||||
#include "mozilla/gfx/Types.h" // for SurfaceFormat
|
||||
#include "nsCOMPtr.h" // for already_AddRefed
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace ipc {
|
||||
class Shmem;
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "nsDebug.h" // for NS_ERROR, NS_WARNING
|
||||
#include "nsString.h" // for nsAutoCString
|
||||
|
||||
class gfxImageSurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace gl {
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "LayerScope.h" // for LayerScope
|
||||
#include "gfx2DGlue.h" // for ThebesFilter
|
||||
#include "gfx3DMatrix.h" // for gfx3DMatrix
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxCrashReporterUtils.h" // for ScopedGfxFeatureReporter
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxMatrix.h" // for gfxMatrix
|
||||
|
@ -11,8 +11,6 @@
|
||||
#include "mozilla/layers/ISurfaceAllocator.h"
|
||||
#include "mozilla/layers/ShadowLayerUtilsGralloc.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -4,7 +4,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "GLContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include <ui/GraphicBuffer.h>
|
||||
#include "GrallocImages.h" // for GrallocImage
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "SurfaceStream.h" // for SurfaceStream
|
||||
#include "SurfaceTypes.h" // for SharedSurfaceType, etc
|
||||
#include "gfx2DGlue.h" // for ContentForFormat, etc
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxReusableSurfaceWrapper.h" // for gfxReusableSurfaceWrapper
|
||||
#include "mozilla/gfx/2D.h" // for DataSourceSurface
|
||||
#include "mozilla/gfx/BaseSize.h" // for BaseSize
|
||||
|
@ -36,7 +36,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
class gfxImageSurface;
|
||||
class gfxReusableSurfaceWrapper;
|
||||
class nsIntRegion;
|
||||
struct nsIntPoint;
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "mozilla/RefPtr.h"
|
||||
|
||||
class gfxContext;
|
||||
class gfxImageSurface;
|
||||
struct gfxRect;
|
||||
struct gfxRGBA;
|
||||
class gfxCornerSizes;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "gfxDrawable.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfxColor.h"
|
||||
#ifdef MOZ_X11
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "gfxXlibNativeRenderer.h"
|
||||
#endif
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,6 @@
|
||||
#define GFXQTNATIVERENDER_H_
|
||||
|
||||
#include "gfxColor.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxXlibSurface.h"
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "X11/Xlib.h"
|
||||
#endif
|
||||
|
||||
class gfxImageSurface;
|
||||
class gfxFontconfigUtils;
|
||||
class QWindow;
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include <map>
|
||||
#include <android/log.h>
|
||||
#include "nsSurfaceTexture.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "AndroidBridge.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/gfx/Matrix.h"
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include "gfxPlatform.h"
|
||||
#include "GLDefs.h"
|
||||
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
class Matrix4x4;
|
||||
|
@ -67,7 +67,6 @@ class nsISelection;
|
||||
template<class E> class nsCOMArray;
|
||||
class nsWeakFrame;
|
||||
class nsIScrollableFrame;
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
class nsIDOMEvent;
|
||||
class nsDisplayList;
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "nsSVGFilterFrame.h"
|
||||
|
||||
// Keep others in (case-insensitive) order:
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsRenderingContext.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
// Keep others in (case-insensitive) order:
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxMatrix.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfxRect.h"
|
||||
|
@ -27,9 +27,7 @@
|
||||
#include "mozilla/Constants.h"
|
||||
#include <algorithm>
|
||||
|
||||
class gfxASurface;
|
||||
class gfxContext;
|
||||
class gfxImageSurface;
|
||||
class gfxPattern;
|
||||
class nsFrameList;
|
||||
class nsIContent;
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "transportlayerdtls.h"
|
||||
#include "transportlayerice.h"
|
||||
#include "runnable_utils.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "libyuv/convert.h"
|
||||
#include "mozilla/gfx/Point.h"
|
||||
#include "mozilla/gfx/Types.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "nsPrintSettingsX.h"
|
||||
|
||||
#include "gfxQuartzSurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
// This must be the last include:
|
||||
#include "nsObjCExceptions.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsView.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "nsCocoaUtils.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "imgLoader.h"
|
||||
#include "imgRequestProxy.h"
|
||||
#include "nsMenuItemX.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "nsCocoaUtils.h"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#ifndef nsDragService_h__
|
||||
#define nsDragService_h__
|
||||
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsBaseDragService.h"
|
||||
#include "nsIObserver.h"
|
||||
#include "nsAutoRef.h"
|
||||
|
@ -5,19 +5,13 @@
|
||||
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "nsImageToPixbuf.h"
|
||||
|
||||
#include "imgIContainer.h"
|
||||
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "nsAutoPtr.h"
|
||||
|
||||
#include "nsImageToPixbuf.h"
|
||||
|
||||
using mozilla::gfx::DataSourceSurface;
|
||||
using mozilla::gfx::SurfaceFormat;
|
||||
using mozilla::RefPtr;
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include "nsIImageToPixbuf.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
class gfxASurface;
|
||||
class gfxPattern;
|
||||
class gfxImageSurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
class SourceSurface;
|
||||
|
@ -60,8 +60,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
|
||||
#include "gfxQtPlatform.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
#include "nsIDOMWheelEvent.h"
|
||||
|
||||
@ -71,7 +69,6 @@
|
||||
#include "keysym2ucs.h"
|
||||
#endif
|
||||
|
||||
#include "gfxUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "GLContextProvider.h"
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "nsCRT.h"
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsMathUtils.h"
|
||||
|
@ -12,11 +12,10 @@
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMDataTransfer.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsPoint.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
|
||||
#include "gfxImageSurface.h"
|
||||
|
||||
// translucency level for drag images
|
||||
#define DRAG_TRANSLUCENCY 0.65
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user