зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1802225 - Remove Layers.{h,cpp}. r=tnikkel,geckoview-reviewers,jgilbert,media-playback-reviewers,padenot,m_kato
Where appropriate, `#include "Layers.h"` is replaced with more specific inclusions. Differential Revision: https://phabricator.services.mozilla.com/D162934
This commit is contained in:
Родитель
265b8dc195
Коммит
68c71a503c
|
@ -11,6 +11,7 @@
|
|||
// For UnrestrictedDoubleOrKeyframeAnimationOptions;
|
||||
#include "mozilla/dom/KeyframeEffectBinding.h"
|
||||
#include "mozilla/dom/MutationObservers.h"
|
||||
#include "mozilla/layers/AnimationInfo.h"
|
||||
#include "mozilla/AnimationUtils.h"
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/ComputedStyleInlines.h"
|
||||
|
@ -25,7 +26,6 @@
|
|||
#include "mozilla/StaticPrefs_dom.h"
|
||||
#include "mozilla/StaticPrefs_gfx.h"
|
||||
#include "mozilla/StaticPrefs_layers.h"
|
||||
#include "Layers.h" // For Layer
|
||||
#include "nsComputedDOMStyle.h" // nsComputedDOMStyle::GetComputedStyle
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsCSSPropertyIDSet.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "HTMLSplitOnSpacesTokenizer.h"
|
||||
#include "ImageOps.h"
|
||||
#include "InProcessBrowserChildMessageManager.h"
|
||||
#include "Layers.h"
|
||||
#include "MainThreadUtils.h"
|
||||
#include "PLDHashTable.h"
|
||||
#include "ReferrerInfo.h"
|
||||
|
|
|
@ -80,11 +80,10 @@
|
|||
# include <gdk/gdk.h>
|
||||
# if defined(MOZ_X11)
|
||||
# include <gdk/gdkx.h>
|
||||
# include "X11UndefineNone.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "Layers.h"
|
||||
|
||||
#include "mozilla/dom/AudioDeviceInfo.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
|
@ -101,7 +100,7 @@
|
|||
#include "nsPrintfCString.h"
|
||||
#include "nsViewportInfo.h"
|
||||
#include "nsIFormControl.h"
|
||||
//#include "nsWidgetsCID.h"
|
||||
// #include "nsWidgetsCID.h"
|
||||
#include "nsDisplayList.h"
|
||||
#include "nsROCSSPrimitiveValue.h"
|
||||
#include "nsIBaseWindow.h"
|
||||
|
|
|
@ -69,8 +69,6 @@
|
|||
#include "nsIDOMChromeWindow.h"
|
||||
#include "InProcessBrowserChildMessageManager.h"
|
||||
|
||||
#include "Layers.h"
|
||||
|
||||
#include "ContentParent.h"
|
||||
#include "BrowserParent.h"
|
||||
#include "mozilla/AsyncEventDispatcher.h"
|
||||
|
|
|
@ -213,7 +213,6 @@
|
|||
#include "mozilla/dom/VREventObserver.h"
|
||||
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "Layers.h"
|
||||
|
||||
#include "mozilla/extensions/WebExtensionPolicy.h"
|
||||
|
||||
|
@ -5465,9 +5464,9 @@ void nsGlobalWindowOuter::ResizeByOuter(int32_t aWidthDif, int32_t aHeightDif,
|
|||
CheckForDPIChange();
|
||||
}
|
||||
|
||||
void nsGlobalWindowOuter::SizeToContentOuter(CallerType aCallerType,
|
||||
const SizeToContentConstraints& aConstraints,
|
||||
ErrorResult& aError) {
|
||||
void nsGlobalWindowOuter::SizeToContentOuter(
|
||||
CallerType aCallerType, const SizeToContentConstraints& aConstraints,
|
||||
ErrorResult& aError) {
|
||||
if (!mDocShell) {
|
||||
return;
|
||||
}
|
||||
|
@ -5489,7 +5488,8 @@ void nsGlobalWindowOuter::SizeToContentOuter(CallerType aCallerType,
|
|||
return aError.Throw(NS_ERROR_FAILURE);
|
||||
}
|
||||
|
||||
auto contentSize = cv->GetContentSize(aConstraints.mMaxWidth, aConstraints.mMaxHeight, aConstraints.mPrefWidth);
|
||||
auto contentSize = cv->GetContentSize(
|
||||
aConstraints.mMaxWidth, aConstraints.mMaxHeight, aConstraints.mPrefWidth);
|
||||
if (!contentSize) {
|
||||
return aError.Throw(NS_ERROR_FAILURE);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
|
||||
#include "nsFrameLoader.h"
|
||||
#include "nsBidiPresUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerUserData.h"
|
||||
#include "CanvasUtils.h"
|
||||
#include "nsIMemoryReporter.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <bitset>
|
||||
|
||||
#include "ClientWebGLExtensions.h"
|
||||
#include "Layers.h"
|
||||
#include "gfxCrashReporterUtils.h"
|
||||
#include "HostWebGLContext.h"
|
||||
#include "js/PropertyAndElement.h" // JS_DefineElement
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "GLScreenBuffer.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "ImageEncoder.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerUserData.h"
|
||||
#include "mozilla/dom/BindingUtils.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
|
@ -2002,7 +2001,7 @@ static std::vector<std::string> ExplodeName(const std::string& str) {
|
|||
|
||||
//-
|
||||
|
||||
//#define DUMP_MakeLinkResult
|
||||
// #define DUMP_MakeLinkResult
|
||||
|
||||
webgl::LinkActiveInfo GetLinkActiveInfo(
|
||||
gl::GLContext& gl, const GLuint prog, const bool webgl2,
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "DeviceMotionEvent.h"
|
||||
#include "DragEvent.h"
|
||||
#include "KeyboardEvent.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#include "mozilla/ContentEvents.h"
|
||||
#include "mozilla/dom/CloseEvent.h"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "ImageEncoder.h"
|
||||
#include "jsapi.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaTrackGraph.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Base64.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#endif
|
||||
#include "HTMLMediaElement.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "MP4Decoder.h"
|
||||
#include "MediaContainerType.h"
|
||||
#include "MediaError.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "ContentChild.h"
|
||||
#include "DocumentInlines.h"
|
||||
#include "EventStateManager.h"
|
||||
#include "Layers.h"
|
||||
#include "MMPrinter.h"
|
||||
#include "PermissionMessageUtils.h"
|
||||
#include "PuppetWidget.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "AudioCaptureTrack.h"
|
||||
#include "AudioChannelAgent.h"
|
||||
#include "AudioStreamTrack.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaTrackGraph.h"
|
||||
#include "MediaTrackGraphImpl.h"
|
||||
#include "MediaTrackListener.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "DOMMediaStream.h"
|
||||
#include "DecoderBenchmark.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaDecoderStateMachineBase.h"
|
||||
#include "MediaFormatReader.h"
|
||||
#include "MediaResource.h"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include "gfx2DGlue.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "VideoUtils.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "Benchmark.h"
|
||||
#include "DecoderBenchmark.h"
|
||||
#include "DecoderTraits.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaInfo.h"
|
||||
#include "MediaRecorder.h"
|
||||
#include "PDMFactory.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "GMPUtils.h" // For SplitAt. TODO: Move SplitAt to a central place.
|
||||
#include "IMFYCbCrImage.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaInfo.h"
|
||||
#include "MediaTelemetryConstants.h"
|
||||
#include "VideoUtils.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "DOMMediaStream.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "ImageTypes.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaEnginePrefs.h"
|
||||
#include "MediaEngineSource.h"
|
||||
#include "MediaTrackGraph.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "MediaEngineRemoteVideoSource.h"
|
||||
|
||||
#include "CamerasChild.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaManager.h"
|
||||
#include "MediaTrackConstraints.h"
|
||||
#include "mozilla/dom/MediaTrackSettingsBinding.h"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "WebrtcMediaDataDecoderCodec.h"
|
||||
|
||||
#include "ImageContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaDataDecoderProxy.h"
|
||||
#include "PDMFactory.h"
|
||||
#include "VideoUtils.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "DOMMediaStream.h"
|
||||
#include "ImageContainer.h"
|
||||
#include "ImageTypes.h"
|
||||
#include "Layers.h"
|
||||
#include "MediaEngine.h"
|
||||
#include "MediaSegment.h"
|
||||
#include "MediaTrackGraphImpl.h"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "AnimationInfo.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/LayerAnimationInfo.h"
|
||||
#include "mozilla/layers/WebRenderLayerManager.h"
|
||||
#include "mozilla/layers/AnimationHelper.h"
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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 "Layers.h"
|
||||
|
||||
#include <inttypes.h> // for PRIu64
|
||||
#include <stdio.h> // for stderr
|
||||
#include <algorithm> // for max, min
|
||||
#include <list> // for list
|
||||
#include <set> // for set
|
||||
#include <string> // for char_traits, string, basic_string
|
||||
#include <type_traits> // for remove_reference<>::type
|
||||
#include "CompositableHost.h" // for CompositableHost
|
||||
#include "LayerUserData.h" // for LayerUserData
|
||||
#include "TreeTraversal.h" // for ForwardIterator, ForEachNode, DepthFirstSearch, TraversalFlag, TraversalFl...
|
||||
#include "UnitTransforms.h" // for ViewAs, PixelCastJustification, PixelCastJustification::RenderTargetIsPare...
|
||||
#include "apz/src/AsyncPanZoomController.h" // for AsyncPanZoomController
|
||||
#include "gfx2DGlue.h" // for ThebesMatrix, ToPoint, ThebesRect
|
||||
#include "gfxEnv.h" // for gfxEnv
|
||||
#include "gfxMatrix.h" // for gfxMatrix
|
||||
#include "gfxUtils.h" // for gfxUtils, gfxUtils::sDumpPaintFile
|
||||
#include "mozilla/ArrayIterator.h" // for ArrayIterator
|
||||
#include "mozilla/DebugOnly.h" // for DebugOnly
|
||||
#include "mozilla/Logging.h" // for LogLevel, LogLevel::Debug, MOZ_LOG_TEST
|
||||
#include "mozilla/ProfilerMarkers.h" // for profiler_thread_is_being_profiled_for_markers, PROFILER_MARKER_TEXT
|
||||
#include "mozilla/ScrollPositionUpdate.h" // for ScrollPositionUpdate
|
||||
#include "mozilla/Telemetry.h" // for AccumulateTimeDelta
|
||||
#include "mozilla/TelemetryHistogramEnums.h" // for KEYPRESS_PRESENT_LATENCY, SCROLL_PRESENT_LATENCY
|
||||
#include "mozilla/ToString.h" // for ToString
|
||||
#include "mozilla/gfx/2D.h" // for SourceSurface, DrawTarget, DataSourceSurface
|
||||
#include "mozilla/gfx/BasePoint3D.h" // for BasePoint3D<>::(anonymous union)::(anonymous), BasePoint3D<>::(anonymous)
|
||||
#include "mozilla/gfx/BaseRect.h" // for operator<<, BaseRect (ptr only)
|
||||
#include "mozilla/gfx/BaseSize.h" // for operator<<, BaseSize<>::(anonymous union)::(anonymous), BaseSize<>::(anony...
|
||||
#include "mozilla/gfx/Matrix.h" // for Matrix4x4, Matrix, Matrix4x4Typed<>::(anonymous union)::(anonymous), Matri...
|
||||
#include "mozilla/gfx/MatrixFwd.h" // for Float
|
||||
#include "mozilla/gfx/Polygon.h" // for Polygon, PolygonTyped
|
||||
#include "mozilla/layers/BSPTree.h" // for LayerPolygon, BSPTree
|
||||
#include "mozilla/layers/CompositableClient.h" // for CompositableClient
|
||||
#include "mozilla/layers/Compositor.h" // for Compositor
|
||||
#include "mozilla/layers/LayersMessages.h" // for SpecificLayerAttributes, CompositorAnimations (ptr only), ContainerLayerAt...
|
||||
#include "mozilla/layers/LayersTypes.h" // for EventRegions, operator<<, CompositionPayload, CSSTransformMatrix, MOZ_LAYE...
|
||||
#include "nsBaseHashtable.h" // for nsBaseHashtable<>::Iterator, nsBaseHashtable<>::LookupResult
|
||||
#include "nsISupportsUtils.h" // for NS_ADDREF, NS_RELEASE
|
||||
#include "nsPrintfCString.h" // for nsPrintfCString
|
||||
#include "nsRegionFwd.h" // for IntRegion
|
||||
#include "nsString.h" // for nsTSubstring
|
||||
|
||||
// Undo the damage done by mozzconf.h
|
||||
#undef compress
|
||||
#include "mozilla/Compression.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
typedef ScrollableLayerGuid::ViewID ViewID;
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::Compression;
|
||||
|
||||
} // namespace layers
|
||||
} // namespace mozilla
|
|
@ -1,74 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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/. */
|
||||
|
||||
#ifndef GFX_LAYERS_H
|
||||
#define GFX_LAYERS_H
|
||||
|
||||
#include <cstdint> // for uint32_t, uint64_t, int32_t, uint8_t
|
||||
#include <cstring> // for memcpy, size_t
|
||||
#include <iosfwd> // for stringstream
|
||||
#include <new> // for operator new
|
||||
#include <unordered_set> // for unordered_set
|
||||
#include <utility> // for forward, move
|
||||
#include "FrameMetrics.h" // for ScrollMetadata, FrameMetrics::ViewID, FrameMetrics
|
||||
#include "Units.h" // for LayerIntRegion, ParentLayerIntRect, LayerIntSize, Lay...
|
||||
#include "gfxPoint.h" // for gfxPoint
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "mozilla/Maybe.h" // for Maybe, Nothing (ptr only)
|
||||
#include "mozilla/Poison.h" // for CorruptionCanary
|
||||
#include "mozilla/RefPtr.h" // for RefPtr, operator!=
|
||||
#include "mozilla/TimeStamp.h" // for TimeStamp
|
||||
#include "mozilla/UniquePtr.h" // for UniquePtr, MakeUnique
|
||||
#include "mozilla/gfx/BasePoint.h" // for BasePoint<>::(anonymous union)::(anonymous), BasePoin...
|
||||
#include "mozilla/gfx/BaseSize.h" // for BaseSize
|
||||
#include "mozilla/gfx/Matrix.h" // for Matrix4x4, Matrix, Matrix4x4Typed
|
||||
#include "mozilla/gfx/Point.h" // for Point, PointTyped
|
||||
#include "mozilla/gfx/Polygon.h" // for Polygon
|
||||
#include "mozilla/gfx/Rect.h" // for IntRectTyped, IntRect
|
||||
#include "mozilla/gfx/Types.h" // for CompositionOp, DeviceColor, SamplingFilter, SideBits
|
||||
#include "mozilla/gfx/UserData.h" // for UserData, UserDataKey (ptr only)
|
||||
#include "mozilla/layers/AnimationInfo.h" // for AnimationInfo
|
||||
#include "mozilla/layers/LayerAttributes.h" // for SimpleLayerAttributes, ScrollbarData (ptr only)
|
||||
#include "mozilla/layers/ScrollableLayerGuid.h" // for ScrollableLayerGuid, ScrollableLayerGuid::ViewID
|
||||
#include "mozilla/layers/BSPTree.h"
|
||||
#include "nsISupports.h" // for NS_INLINE_DECL_REFCOUNTING
|
||||
#include "nsPoint.h" // for nsIntPoint
|
||||
#include "nsRect.h" // for nsIntRect
|
||||
#include "nsRegion.h" // for nsIntRegion
|
||||
#include "nsStringFlags.h" // for operator&
|
||||
#include "nsStringFwd.h" // for nsCString, nsACString
|
||||
#include "nsTArray.h" // for nsTArray, nsTArray_Impl, nsTArray_Impl<>::value_type
|
||||
|
||||
// XXX These includes could be avoided by moving function implementations to the
|
||||
// cpp file
|
||||
#include "gfx2DGlue.h" // for ThebesPoint
|
||||
#include "mozilla/Assertions.h" // for AssertionConditionType, MOZ_ASSERT, MOZ_A...
|
||||
#include "mozilla/DebugOnly.h" // for DebugOnly
|
||||
#include "mozilla/layers/LayersTypes.h" // for MOZ_LAYERS_LOG_IF_SHADOWABLE, LayersId, EventRegionsO...
|
||||
#include "nsDebug.h" // for NS_ASSERTION, NS_WARNING
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
namespace gfx {
|
||||
class DataSourceSurface;
|
||||
class DrawTarget;
|
||||
class Path;
|
||||
} // namespace gfx
|
||||
|
||||
namespace layers {
|
||||
|
||||
class Animation;
|
||||
class AsyncPanZoomController;
|
||||
class CompositorAnimations;
|
||||
class SpecificLayerAttributes;
|
||||
class Compositor;
|
||||
class TransformData;
|
||||
struct PropertyAnimationGroup;
|
||||
|
||||
} // namespace layers
|
||||
} // namespace mozilla
|
||||
|
||||
#endif /* GFX_LAYERS_H */
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "PersistentBufferProvider.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/layers/TextureClient.h"
|
||||
#include "mozilla/layers/TextureForwarder.h"
|
||||
#include "mozilla/gfx/gfxVars.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "HitTestingTreeNode.h" // for HitTestingTreeNode
|
||||
#include "InputBlockState.h" // for InputBlockState
|
||||
#include "InputData.h" // for InputData, etc
|
||||
#include "Layers.h" // for Layer, etc
|
||||
#include "WRHitTester.h" // for WRHitTester
|
||||
#include "mozilla/RecursiveMutex.h"
|
||||
#include "mozilla/dom/MouseEventBinding.h" // for MouseEvent constants
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#define mozilla_layers_AsyncPanZoomController_h
|
||||
|
||||
#include "mozilla/layers/GeckoContentController.h"
|
||||
#include "mozilla/layers/LayerAttributes.h"
|
||||
#include "mozilla/layers/RepaintRequest.h"
|
||||
#include "mozilla/layers/SampleTime.h"
|
||||
#include "mozilla/layers/ZoomConstraints.h"
|
||||
|
@ -26,7 +27,6 @@
|
|||
#include "FlingAccelerator.h"
|
||||
#include "InputQueue.h"
|
||||
#include "APZUtils.h"
|
||||
#include "Layers.h" // for Layer::ScrollDirection
|
||||
#include "LayersTypes.h"
|
||||
#include "mozilla/gfx/Matrix.h"
|
||||
#include "nsRegion.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "AsyncPanZoomAnimation.h"
|
||||
#include "AsyncPanZoomController.h"
|
||||
#include "FrameMetrics.h"
|
||||
#include "Layers.h"
|
||||
#include "Units.h"
|
||||
#include "OverscrollHandoffState.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#ifndef mozilla_layers_HitTestingTreeNode_h
|
||||
#define mozilla_layers_HitTestingTreeNode_h
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/gfx/CompositorHitTestInfo.h"
|
||||
#include "mozilla/gfx/Matrix.h" // for Matrix4x4
|
||||
#include "mozilla/layers/LayerAttributes.h" // for ScrollbarData
|
||||
#include "mozilla/layers/LayersTypes.h" // for EventRegions
|
||||
#include "mozilla/layers/ScrollableLayerGuid.h" // for ScrollableLayerGuid
|
||||
#include "mozilla/Maybe.h" // for Maybe
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "apz/src/HitTestingTreeNode.h"
|
||||
#include "base/task.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "Layers.h"
|
||||
#include "TestLayers.h"
|
||||
#include "TestWRScrollData.h"
|
||||
#include "UnitTransforms.h"
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "nsRefreshDriver.h"
|
||||
#include "nsString.h"
|
||||
#include "nsView.h"
|
||||
#include "Layers.h"
|
||||
|
||||
static mozilla::LazyLogModule sApzHlpLog("apz.helper");
|
||||
#define APZCCH_LOG(...) MOZ_LOG(sApzHlpLog, LogLevel::Debug, (__VA_ARGS__))
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "BufferTexture.h"
|
||||
#include "IPDLActor.h"
|
||||
#include "ImageContainer.h" // for PlanarYCbCrData, etc
|
||||
#include "Layers.h" // for Layer, etc
|
||||
#include "MainThreadUtils.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxPlatform.h" // for gfxPlatform
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include <utility> // for pair
|
||||
#include "Effects.h" // for EffectMask, Effect, etc
|
||||
#include "gfxUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/gfx/gfxVars.h"
|
||||
#include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor
|
||||
#include "mozilla/layers/TextureHost.h" // for TextureHost, etc
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "gfxWindowsPlatform.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/gfx/D3D11Checks.h"
|
||||
#include "mozilla/gfx/DeviceManagerDx.h"
|
||||
#include "mozilla/gfx/GPUParent.h"
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
#include "DeviceAttachmentsD3D11.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "mozilla/gfx/Logging.h"
|
||||
#include "mozilla/layers/Compositor.h"
|
||||
#include "CompositorD3D11Shaders.h"
|
||||
#include "Layers.h"
|
||||
#include "ShaderDefinitionsD3D11.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "ImageBridgeParent.h" // for ImageBridgeParent
|
||||
#include "ImageContainer.h" // for ImageContainer
|
||||
#include "Layers.h" // for Layer, etc
|
||||
#include "SynchronousTask.h"
|
||||
#include "mozilla/Assertions.h" // for MOZ_ASSERT, etc
|
||||
#include "mozilla/Monitor.h" // for Monitor, MonitorAutoLock
|
||||
|
|
|
@ -20,7 +20,6 @@ EXPORTS += [
|
|||
"ImageContainer.h",
|
||||
"ImageTypes.h",
|
||||
"IMFYCbCrImage.h",
|
||||
"Layers.h",
|
||||
"LayersTypes.h",
|
||||
"LayerUserData.h",
|
||||
"opengl/OGLShaderConfig.h",
|
||||
|
@ -396,7 +395,6 @@ UNIFIED_SOURCES += [
|
|||
"ipc/UiCompositorControllerParent.cpp",
|
||||
"ipc/VideoBridgeChild.cpp",
|
||||
"ipc/VideoBridgeParent.cpp",
|
||||
"Layers.cpp",
|
||||
"LayersTypes.cpp",
|
||||
"MemoryPressureObserver.cpp",
|
||||
"opengl/CompositingRenderTargetOGL.cpp",
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <sstream> // for std::ostringstream
|
||||
|
||||
#include "GLContext.h"
|
||||
#include "Layers.h"
|
||||
#include "gfxEnv.h"
|
||||
#include "gfxRect.h" // for gfxRect
|
||||
#include "gfxUtils.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "GLContext.h"
|
||||
#include "GLContextProvider.h"
|
||||
#include "GLLibraryLoader.h"
|
||||
#include "Layers.h"
|
||||
#include "nsExceptionHandler.h"
|
||||
#include "mozilla/Range.h"
|
||||
#include "mozilla/EnumeratedRange.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "WebRenderCommandBuilder.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/EffectCompositor.h"
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#include "WebRenderLayerManager.h"
|
||||
|
||||
#include "Layers.h"
|
||||
|
||||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/StaticPrefs_apz.h"
|
||||
#include "mozilla/StaticPrefs_layers.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include <ostream>
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/layers/LayersMessageUtils.h"
|
||||
#include "mozilla/layers/WebRenderLayerManager.h"
|
||||
#include "mozilla/ToString.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef GFX_TEST_LAYERS_H
|
||||
#define GFX_TEST_LAYERS_H
|
||||
|
||||
#include "Layers.h"
|
||||
#include "nsTArray.h"
|
||||
#include "mozilla/layers/ISurfaceAllocator.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "Image.h"
|
||||
|
||||
#include "imgRequest.h"
|
||||
#include "Layers.h" // for LayerManager
|
||||
#include "WebRenderImageProvider.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "IDecodingTask.h"
|
||||
#include "ImageLogging.h"
|
||||
#include "ImageRegion.h"
|
||||
#include "Layers.h"
|
||||
#include "LookupResult.h"
|
||||
#include "OrientedImage.h"
|
||||
#include "SourceBuffer.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "AccessibleCaretLogger.h"
|
||||
#include "AccessibleCaretManager.h"
|
||||
#include "Layers.h"
|
||||
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "DisplayPortUtils.h"
|
||||
|
||||
#include "FrameMetrics.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/gfx/Point.h"
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
|
||||
#include "mozilla/layers/CompositorBridgeChild.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/css/ImageLoader.h"
|
||||
#include "mozilla/dom/DocumentTimeline.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "mozilla/dom/ElementInlines.h"
|
||||
#include "mozilla/dom/HTMLBodyElement.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "ScrollSnap.h"
|
||||
#include "nsAnimationManager.h"
|
||||
#include "nsBlockFrame.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "ImageRegion.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "imgIRequest.h"
|
||||
#include "Layers.h"
|
||||
#include "LayoutLogging.h"
|
||||
#include "MobileViewportManager.h"
|
||||
#include "mozilla/AccessibleCaretEventHub.h"
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
#include "mozilla/dom/FontFaceSet.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerUserData.h"
|
||||
#include "mozilla/dom/NotifyPaintEvent.h"
|
||||
#include "nsFontCache.h"
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
#include "mozilla/layers/WebRenderLayerManager.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "mozilla/TaskController.h"
|
||||
#include "Layers.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
#include "nsDocShell.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "nsITheme.h"
|
||||
#include "nsIFrame.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "Layers.h"
|
||||
|
||||
#include "gfxUtils.h"
|
||||
#include "mozilla/layers/RenderRootStateManager.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "gfxContext.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "nsContainerFrame.h"
|
||||
#include "nsContentCreatorFunctions.h"
|
||||
#include "nsCSSRendering.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "nsIXULRuntime.h"
|
||||
#include "base/compiler_specific.h"
|
||||
#include "DisplayItemClip.h"
|
||||
#include "Layers.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIContentViewer.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "nsDisplayList.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsStyleUtil.h"
|
||||
#include "Layers.h"
|
||||
#include "ActiveLayerTracker.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "RetainedDisplayListBuilder.h"
|
||||
#include "nsObjectLoadingContent.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/layers/WebRenderUserData.h"
|
||||
#include "mozilla/layers/WebRenderScrollData.h"
|
||||
#include "mozilla/layers/RenderRootStateManager.h"
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
#include "mozilla/MathAlgorithms.h"
|
||||
|
||||
#include "imgIContainer.h"
|
||||
#include "Layers.h"
|
||||
#include "nsBoxFrame.h"
|
||||
#include "nsImageFrame.h"
|
||||
#include "nsSubDocumentFrame.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "mozilla/dom/DocumentTimeline.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsIFrame.h"
|
||||
#include "Layers.h"
|
||||
#include "nsCSSProps.h"
|
||||
#include "nsCSSPseudoElements.h"
|
||||
#include "nsDisplayList.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
// Keep others in (case-insensitive) order:
|
||||
#include "gfxDrawable.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "nsCSSAnonBoxes.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsDisplayList.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "nsIURI.h"
|
||||
#include "nsIWebBrowserPersist.h"
|
||||
#include "nsFocusManager.h"
|
||||
#include "Layers.h"
|
||||
#include "nsILoadContext.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsDocShell.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "nsRefreshDriver.h"
|
||||
#include "nsContentUtils.h" // for nsAutoScriptBlocker
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "WindowRenderer.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "JavaBuiltins.h"
|
||||
#include "JavaExceptions.h"
|
||||
#include "KeyEvent.h"
|
||||
#include "Layers.h"
|
||||
#include "MotionEvent.h"
|
||||
#include "ScopedGLHelpers.h"
|
||||
#include "ScreenHelperAndroid.h"
|
||||
|
|
|
@ -63,7 +63,6 @@
|
|||
#include "gfxQuartzSurface.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "nsRegion.h"
|
||||
#include "Layers.h"
|
||||
#include "GfxTexturesReporter.h"
|
||||
#include "GLTextureImage.h"
|
||||
#include "GLContextProvider.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "gtkdrawing.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "InputData.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Components.h"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "HeadlessWidget.h"
|
||||
#include "ErrorList.h"
|
||||
#include "HeadlessCompositorWidget.h"
|
||||
#include "Layers.h"
|
||||
#include "BasicEvents.h"
|
||||
#include "MouseEvents.h"
|
||||
#include "mozilla/gfx/gfxVars.h"
|
||||
|
|
|
@ -128,7 +128,6 @@
|
|||
#include "nsWindowGfx.h"
|
||||
#include "gfxWindowsPlatform.h"
|
||||
#include "gfxDWriteFonts.h"
|
||||
#include "Layers.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "SystemTimeConverter.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче