зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1727395 - Remove unused ClientLayerManager.h includes. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D123518
This commit is contained in:
Родитель
2290c61201
Коммит
2937dbb0e1
|
@ -70,7 +70,6 @@
|
|||
#include "InProcessBrowserChildMessageManager.h"
|
||||
|
||||
#include "Layers.h"
|
||||
#include "ClientLayerManager.h"
|
||||
|
||||
#include "ContentParent.h"
|
||||
#include "BrowserParent.h"
|
||||
|
|
|
@ -161,7 +161,6 @@
|
|||
#endif // MOZ_XUL
|
||||
|
||||
#include "mozilla/layers/CompositorBridgeChild.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerTreeInvalidation.h"
|
||||
|
@ -4591,7 +4590,7 @@ nsresult PresShell::RenderDocument(const nsRect& aRect,
|
|||
if (view && view->GetWidget() &&
|
||||
nsLayoutUtils::GetDisplayRootFrame(rootFrame) == rootFrame) {
|
||||
WindowRenderer* renderer = view->GetWidget()->GetWindowRenderer();
|
||||
// ClientLayerManagers or WebRenderLayerManagers in content processes
|
||||
// WebRenderLayerManagers in content processes
|
||||
// don't support taking snapshots.
|
||||
if (renderer &&
|
||||
(!renderer->AsKnowsCompositor() || XRE_IsParentProcess())) {
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <limits>
|
||||
|
||||
#include "ActiveLayerTracker.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "DisplayItemClip.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxContext.h"
|
||||
|
@ -3432,16 +3431,6 @@ nsresult nsLayoutUtils::PaintFrame(gfxContext* aRenderingContext,
|
|||
builder->IncrementPresShellPaintCount(presShell);
|
||||
}
|
||||
|
||||
if (StaticPrefs::layers_acceleration_draw_fps()) {
|
||||
RefPtr<LayerManager> lm = builder->GetWidgetLayerManager();
|
||||
PaintTiming* pt = ClientLayerManager::MaybeGetPaintTiming(lm);
|
||||
|
||||
if (pt) {
|
||||
pt->dlMs() = static_cast<float>(metrics->mPartialBuildDuration);
|
||||
pt->dl2Ms() = static_cast<float>(metrics->mFullBuildDuration);
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_ASSERT(updateState != PartialUpdateResult::Failed);
|
||||
builder->Check();
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
#include "nsRefreshDriver.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerUserData.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "mozilla/dom/NotifyPaintEvent.h"
|
||||
#include "nsFontCache.h"
|
||||
#include "nsFrameLoader.h"
|
||||
|
|
|
@ -101,7 +101,6 @@
|
|||
#include "nsTextFrame.h"
|
||||
#include "nsSliderFrame.h"
|
||||
#include "nsFocusManager.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "TextDrawTarget.h"
|
||||
#include "mozilla/layers/AnimationHelper.h"
|
||||
#include "mozilla/layers/CompositorThread.h"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include "base/basictypes.h"
|
||||
|
||||
#include "ClientLayerManager.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
#include "gfxUtils.h"
|
||||
#include "nsRegion.h"
|
||||
#include "Layers.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "mozilla/layers/LayerManagerComposite.h"
|
||||
#include "GfxTexturesReporter.h"
|
||||
#include "GLTextureImage.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <gdk/gdkkeysyms.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include "ClientLayerManager.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "gfxContext.h"
|
||||
#include "gfxImageSurface.h"
|
||||
|
@ -35,6 +34,7 @@
|
|||
#include "mozilla/gfx/GPUProcessManager.h"
|
||||
#include "mozilla/gfx/HelpersCairo.h"
|
||||
#include "mozilla/layers/LayersTypes.h"
|
||||
#include "mozilla/layers/CompositorBridgeChild.h"
|
||||
#include "mozilla/layers/CompositorBridgeParent.h"
|
||||
#include "mozilla/layers/CompositorThread.h"
|
||||
#include "mozilla/layers/KnowsCompositor.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include "mozilla/gfx/GPUProcessManager.h"
|
||||
#include "mozilla/layers/CompositorBridgeParent.h"
|
||||
#include "mozilla/layers/CompositorBridgeChild.h"
|
||||
#include "ClientLayerManager.h"
|
||||
#include "InProcessWinCompositorWidget.h"
|
||||
|
||||
#include "nsUXThemeData.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче