mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1728991 - Drop some unused gfxASurface includes. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D124456
This commit is contained in:
parent
7bd3a20ff4
commit
4d2306308f
@ -12,7 +12,6 @@
|
||||
#include "nsRegion.h"
|
||||
#include <memory>
|
||||
|
||||
class gfxASurface;
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
class SurfaceTextureImage;
|
||||
@ -92,10 +91,6 @@ class GLContextEGL final : public GLContext {
|
||||
|
||||
virtual void GetWSIInfo(nsCString* const out) const override;
|
||||
|
||||
// hold a reference to the given surface
|
||||
// for the lifetime of this context.
|
||||
void HoldSurface(gfxASurface* aSurf);
|
||||
|
||||
EGLSurface GetEGLSurface() const { return mSurface; }
|
||||
|
||||
bool HasExtBufferAge() const;
|
||||
@ -138,7 +133,6 @@ class GLContextEGL final : public GLContext {
|
||||
const EGLSurface mFallbackSurface;
|
||||
|
||||
EGLSurface mSurfaceOverride = EGL_NO_SURFACE;
|
||||
RefPtr<gfxASurface> mThebesSurface;
|
||||
bool mBound = false;
|
||||
|
||||
bool mIsPBuffer = false;
|
||||
|
@ -51,7 +51,6 @@
|
||||
# error "Platform not recognized"
|
||||
#endif
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxCrashReporterUtils.h"
|
||||
#include "gfxFailure.h"
|
||||
#include "gfxPlatform.h"
|
||||
@ -583,10 +582,6 @@ void GLContextEGL::GetWSIInfo(nsCString* const out) const {
|
||||
#endif
|
||||
}
|
||||
|
||||
// hold a reference to the given surface
|
||||
// for the lifetime of this context.
|
||||
void GLContextEGL::HoldSurface(gfxASurface* aSurf) { mThebesSurface = aSurf; }
|
||||
|
||||
bool GLContextEGL::HasExtBufferAge() const {
|
||||
return mEgl->IsExtensionSupported(EGLExtension::EXT_buffer_age);
|
||||
}
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "nsDeviceContext.h"
|
||||
#include <algorithm> // for max
|
||||
#include "gfxASurface.h" // for gfxASurface, etc
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h" // for gfxImageSurface
|
||||
#include "gfxPoint.h" // for gfxSize
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "gfxMatrix.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPattern.h"
|
||||
#include "gfxPlatform.h"
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "gfxTypes.h"
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPoint.h"
|
||||
#include "gfxRect.h"
|
||||
#include "gfxMatrix.h"
|
||||
|
@ -4,7 +4,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "gfxDrawable.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfx2DGlue.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "gfxUtils.h"
|
||||
#include "gfxTypes.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxGradientCache.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "WinCompositorWidget.h"
|
||||
|
||||
class nsWindow;
|
||||
class gfxASurface;
|
||||
|
||||
namespace mozilla {
|
||||
namespace widget {
|
||||
|
@ -7,7 +7,6 @@
|
||||
#define widget_windows_WinCompositorWidget_h
|
||||
|
||||
#include "CompositorWidget.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "mozilla/Atomics.h"
|
||||
#include "mozilla/gfx/CriticalSection.h"
|
||||
#include "mozilla/gfx/Point.h"
|
||||
|
Loading…
Reference in New Issue
Block a user