зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc
This commit is contained in:
Родитель
24c80a523e
Коммит
405762e159
|
@ -53,6 +53,7 @@
|
||||||
#include "nsContentUtils.h"
|
#include "nsContentUtils.h"
|
||||||
#include "nsPrintfCString.h"
|
#include "nsPrintfCString.h"
|
||||||
#include "UnitTransforms.h"
|
#include "UnitTransforms.h"
|
||||||
|
#include "LayersLogging.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -5205,6 +5206,16 @@ bool nsDisplayTransform::UntransformVisibleRect(nsDisplayListBuilder* aBuilder,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MOZ_DUMP_PAINTING
|
||||||
|
void
|
||||||
|
nsDisplayTransform::WriteDebugInfo(nsACString& aTo)
|
||||||
|
{
|
||||||
|
Matrix4x4 transform;
|
||||||
|
ToMatrix4x4(GetTransform(), transform);
|
||||||
|
AppendToString(aTo, transform);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
nsDisplaySVGEffects::nsDisplaySVGEffects(nsDisplayListBuilder* aBuilder,
|
nsDisplaySVGEffects::nsDisplaySVGEffects(nsDisplayListBuilder* aBuilder,
|
||||||
nsIFrame* aFrame, nsDisplayList* aList)
|
nsIFrame* aFrame, nsDisplayList* aList)
|
||||||
: nsDisplayWrapList(aBuilder, aFrame, aList),
|
: nsDisplayWrapList(aBuilder, aFrame, aList),
|
||||||
|
|
|
@ -3370,6 +3370,9 @@ public:
|
||||||
|
|
||||||
virtual bool SetVisibleRegionOnLayer() MOZ_OVERRIDE { return false; }
|
virtual bool SetVisibleRegionOnLayer() MOZ_OVERRIDE { return false; }
|
||||||
|
|
||||||
|
#ifdef MOZ_DUMP_PAINTING
|
||||||
|
virtual void WriteDebugInfo(nsACString& aTo) MOZ_OVERRIDE;
|
||||||
|
#endif
|
||||||
private:
|
private:
|
||||||
static gfx3DMatrix GetResultingTransformMatrixInternal(const FrameTransformProperties& aProperties,
|
static gfx3DMatrix GetResultingTransformMatrixInternal(const FrameTransformProperties& aProperties,
|
||||||
const nsPoint& aOrigin,
|
const nsPoint& aOrigin,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче