Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
* 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_LAYERSLOGGING_H
|
|
|
|
#define GFX_LAYERSLOGGING_H
|
|
|
|
|
2013-08-12 03:17:23 +04:00
|
|
|
#include "FrameMetrics.h" // for FrameMetrics, etc
|
2015-12-09 19:03:21 +03:00
|
|
|
#include "mozilla/gfx/Matrix.h" // for Matrix4x4
|
2013-08-12 03:17:23 +04:00
|
|
|
#include "mozilla/gfx/Point.h" // for IntSize, etc
|
2016-06-20 21:50:04 +03:00
|
|
|
#include "mozilla/gfx/TiledRegion.h" // for TiledRegion
|
2016-05-25 19:01:18 +03:00
|
|
|
#include "mozilla/gfx/Types.h" // for SamplingFilter, SurfaceFormat
|
2013-08-12 03:17:23 +04:00
|
|
|
#include "mozilla/layers/CompositorTypes.h" // for TextureFlags
|
|
|
|
#include "nsAString.h"
|
|
|
|
#include "nsPrintfCString.h" // for nsPrintfCString
|
2014-11-25 16:45:20 +03:00
|
|
|
#include "nsRegion.h" // for nsRegion, nsIntRegion
|
2013-08-12 03:17:23 +04:00
|
|
|
#include "nscore.h" // for nsACString, etc
|
|
|
|
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
namespace mozilla {
|
2013-08-12 03:17:23 +04:00
|
|
|
namespace gfx {
|
2015-06-11 23:43:40 +03:00
|
|
|
template <class units, class F> struct RectTyped;
|
2015-07-13 18:25:42 +03:00
|
|
|
} // namespace gfx
|
2013-08-12 03:17:23 +04:00
|
|
|
|
2015-07-16 04:29:26 +03:00
|
|
|
enum class ImageFormat;
|
|
|
|
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
namespace layers {
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const void* p,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, FrameMetrics::ViewID n,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2015-09-25 04:16:45 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const gfx::Color& c,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-11-06 16:05:51 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const nsPoint& p,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const nsRect& r,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2013-05-31 05:30:13 +04:00
|
|
|
template<class T>
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::PointTyped<T>& p,
|
2013-06-10 17:05:43 +04:00
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
2014-08-28 03:25:53 +04:00
|
|
|
aStream << pfx << p << sfx;
|
2013-06-10 17:05:43 +04:00
|
|
|
}
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2015-02-17 05:34:42 +03:00
|
|
|
template<class T>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::IntPointTyped<T>& p,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx << p << sfx;
|
|
|
|
}
|
|
|
|
|
2013-06-10 17:05:42 +04:00
|
|
|
template<class T>
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::RectTyped<T>& r,
|
2013-06-10 17:05:43 +04:00
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
2014-06-20 02:36:25 +04:00
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
2013-06-10 17:05:43 +04:00
|
|
|
"(x=%f, y=%f, w=%f, h=%f)",
|
2014-06-20 02:36:25 +04:00
|
|
|
r.x, r.y, r.width, r.height).get();
|
|
|
|
aStream << sfx;
|
2013-06-10 17:05:43 +04:00
|
|
|
}
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2014-06-09 22:02:38 +04:00
|
|
|
template<class T>
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::IntRectTyped<T>& r,
|
2014-06-09 22:02:38 +04:00
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
2014-06-20 02:36:25 +04:00
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
2014-06-09 22:02:38 +04:00
|
|
|
"(x=%d, y=%d, w=%d, h=%d)",
|
2014-06-20 02:36:25 +04:00
|
|
|
r.x, r.y, r.width, r.height).get();
|
|
|
|
aStream << sfx;
|
2014-06-09 22:02:38 +04:00
|
|
|
}
|
|
|
|
|
2014-11-25 16:45:20 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const nsRegion& r,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const nsIntRegion& r,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2015-03-16 20:42:15 +03:00
|
|
|
template <typename units>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::IntRegionTyped<units>& r,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx;
|
|
|
|
|
|
|
|
aStream << "< ";
|
2016-01-19 04:20:58 +03:00
|
|
|
for (auto iter = r.RectIter(); !iter.Done(); iter.Next()) {
|
|
|
|
AppendToString(aStream, iter.Get());
|
2015-03-16 20:42:15 +03:00
|
|
|
aStream << "; ";
|
|
|
|
}
|
|
|
|
aStream << ">";
|
|
|
|
|
|
|
|
aStream << sfx;
|
|
|
|
}
|
|
|
|
|
2016-06-20 21:50:04 +03:00
|
|
|
template <typename T>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::TiledRegion<T>& r,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx;
|
|
|
|
AppendToString(aStream, r.GetRegion());
|
|
|
|
aStream << " (bounds=";
|
|
|
|
AppendToString(aStream, r.GetBounds());
|
|
|
|
aStream << ", covers=" << r.CoversBounds() << ")" << sfx;
|
|
|
|
}
|
|
|
|
|
2014-11-14 15:40:14 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const EventRegions& e,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2016-03-29 02:14:52 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const ScrollMetadata& m,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const FrameMetrics& m,
|
2014-07-07 23:48:16 +04:00
|
|
|
const char* pfx="", const char* sfx="", bool detailed = false);
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2014-09-19 17:33:54 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const ScrollableLayerGuid& s,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2015-06-17 19:32:41 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const ZoomConstraints& z,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-07-07 23:48:16 +04:00
|
|
|
template<class T>
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
2014-07-07 23:48:16 +04:00
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::MarginTyped<T>& m,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
|
|
|
"(l=%f, t=%f, r=%f, b=%f)",
|
|
|
|
m.left, m.top, m.right, m.bottom).get();
|
|
|
|
aStream << sfx;
|
|
|
|
}
|
|
|
|
|
|
|
|
template<class T>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::SizeTyped<T>& sz,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
|
|
|
"(w=%f, h=%f)",
|
|
|
|
sz.width, sz.height).get();
|
|
|
|
aStream << sfx;
|
|
|
|
}
|
|
|
|
|
|
|
|
template<class T>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::IntSizeTyped<T>& sz,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
|
|
|
"(w=%d, h=%d)",
|
|
|
|
sz.width, sz.height).get();
|
|
|
|
aStream << sfx;
|
|
|
|
}
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2015-03-06 21:54:10 +03:00
|
|
|
template<class src, class dst>
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::ScaleFactors2D<src, dst>& scale,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
2015-03-23 15:21:10 +03:00
|
|
|
aStream << pfx;
|
2015-03-06 21:54:10 +03:00
|
|
|
std::streamsize oldPrecision = aStream.precision(3);
|
|
|
|
if (scale.AreScalesSame()) {
|
|
|
|
aStream << scale.xScale;
|
|
|
|
} else {
|
|
|
|
aStream << '(' << scale.xScale << ',' << scale.yScale << ')';
|
|
|
|
}
|
|
|
|
aStream.precision(oldPrecision);
|
2015-03-23 15:21:10 +03:00
|
|
|
aStream << sfx;
|
2015-03-06 21:54:10 +03:00
|
|
|
}
|
|
|
|
|
2015-05-21 16:26:46 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::Matrix& m,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2015-12-09 19:03:21 +03:00
|
|
|
template<class SourceUnits, class TargetUnits>
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
2015-12-09 19:03:21 +03:00
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::Matrix4x4Typed<SourceUnits, TargetUnits>& m,
|
|
|
|
const char* pfx="", const char* sfx="")
|
|
|
|
{
|
|
|
|
if (m.Is2D()) {
|
|
|
|
mozilla::gfx::Matrix matrix = m.As2D();
|
|
|
|
AppendToString(aStream, matrix, pfx, sfx);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
aStream << pfx;
|
|
|
|
aStream << nsPrintfCString(
|
|
|
|
"[ %g %g %g %g; %g %g %g %g; %g %g %g %g; %g %g %g %g; ]",
|
|
|
|
m._11, m._12, m._13, m._14,
|
|
|
|
m._21, m._22, m._23, m._24,
|
|
|
|
m._31, m._32, m._33, m._34,
|
|
|
|
m._41, m._42, m._43, m._44).get();
|
|
|
|
aStream << sfx;
|
|
|
|
}
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2014-08-08 01:44:08 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, const mozilla::gfx::Matrix5x4& m,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
2016-05-25 19:01:18 +03:00
|
|
|
AppendToString(std::stringstream& aStream,
|
|
|
|
const mozilla::gfx::SamplingFilter samplingFilter,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, mozilla::layers::TextureFlags flags,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-06-20 02:36:25 +04:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, mozilla::gfx::SurfaceFormat format,
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2015-07-16 04:29:26 +03:00
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, gfx::SurfaceType format,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
|
|
|
void
|
|
|
|
AppendToString(std::stringstream& aStream, ImageFormat format,
|
|
|
|
const char* pfx="", const char* sfx="");
|
|
|
|
|
2014-07-16 20:42:35 +04:00
|
|
|
// Sometimes, you just want a string from a single value.
|
|
|
|
template <typename T>
|
|
|
|
std::string
|
|
|
|
Stringify(const T& obj)
|
|
|
|
{
|
|
|
|
std::stringstream ss;
|
|
|
|
AppendToString(ss, obj);
|
|
|
|
return ss.str();
|
|
|
|
}
|
|
|
|
|
2015-07-13 18:25:42 +03:00
|
|
|
} // namespace layers
|
|
|
|
} // namespace mozilla
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
|
2014-08-02 14:03:00 +04:00
|
|
|
// versions of printf_stderr and fprintf_stderr that deal with line
|
|
|
|
// truncation on android by printing individual lines out of the
|
|
|
|
// stringstream as separate calls to logcat.
|
|
|
|
void print_stderr(std::stringstream& aStr);
|
|
|
|
void fprint_stderr(FILE* aFile, std::stringstream& aStr);
|
|
|
|
|
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 13:20:52 +04:00
|
|
|
#endif /* GFX_LAYERSLOGGING_H */
|