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 09:20:52 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
* vim: sw=2 ts=8 et :
|
|
|
|
*/
|
|
|
|
/* 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 LayersSurfaces;
|
|
|
|
include protocol PCompositable;
|
|
|
|
include protocol PCompositor;
|
|
|
|
include protocol PLayer;
|
|
|
|
include protocol PRenderFrame;
|
2013-12-12 01:44:44 +00:00
|
|
|
include protocol PTexture;
|
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 09:20:52 +00:00
|
|
|
|
|
|
|
include "gfxipc/ShadowLayerUtils.h";
|
2013-07-26 19:28:31 +00:00
|
|
|
include "mozilla/GfxMessageUtils.h";
|
2013-05-09 21:02:50 +00:00
|
|
|
include "ImageLayers.h";
|
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 09:20:52 +00:00
|
|
|
|
2013-10-19 16:09:59 +00:00
|
|
|
using mozilla::GraphicsFilterType from "mozilla/GfxMessageUtils.h";
|
|
|
|
using struct gfxRGBA from "gfxColor.h";
|
2013-10-01 19:25:07 +00:00
|
|
|
using struct gfxPoint3D from "gfxPoint3D.h";
|
2014-01-27 15:28:33 +00:00
|
|
|
using class mozilla::gfx::Matrix4x4 from "mozilla/gfx/Matrix.h";
|
2013-10-01 19:25:07 +00:00
|
|
|
using nscoord from "nsCoord.h";
|
2013-10-19 16:09:59 +00:00
|
|
|
using struct nsIntPoint from "nsPoint.h";
|
2013-10-01 19:25:07 +00:00
|
|
|
using struct nsRect from "nsRect.h";
|
|
|
|
using struct nsPoint from "nsPoint.h";
|
|
|
|
using class mozilla::TimeDuration from "mozilla/TimeStamp.h";
|
|
|
|
using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
|
|
|
|
using mozilla::ScreenRotation from "mozilla/WidgetUtils.h";
|
|
|
|
using nsCSSProperty from "nsCSSProperty.h";
|
|
|
|
using mozilla::dom::ScreenOrientation from "mozilla/dom/ScreenOrientation.h";
|
|
|
|
using struct mozilla::layers::TextureInfo from "mozilla/layers/CompositorTypes.h";
|
|
|
|
using mozilla::LayerMargin from "Units.h";
|
|
|
|
using mozilla::LayerPoint from "Units.h";
|
|
|
|
using mozilla::LayerRect from "Units.h";
|
|
|
|
using mozilla::layers::ScaleMode from "mozilla/layers/LayersTypes.h";
|
2013-12-16 10:47:06 +00:00
|
|
|
using mozilla::layers::EventRegions from "mozilla/layers/LayersTypes.h";
|
2013-10-01 19:25:07 +00:00
|
|
|
using mozilla::layers::DiagnosticTypes from "mozilla/layers/CompositorTypes.h";
|
2013-10-19 16:09:59 +00:00
|
|
|
using struct mozilla::layers::FrameMetrics from "FrameMetrics.h";
|
2014-04-11 23:39:21 +00:00
|
|
|
using mozilla::layers::FrameMetrics::ViewID from "FrameMetrics.h";
|
2014-02-25 04:23:41 +00:00
|
|
|
using struct mozilla::layers::FenceHandle from "mozilla/layers/FenceUtils.h";
|
2014-06-08 13:18:53 +00:00
|
|
|
using struct mozilla::layers::FenceHandleFromChild from "mozilla/layers/FenceUtils.h";
|
2014-04-26 02:34:06 +00:00
|
|
|
using mozilla::layers::TextureIdentifier from "mozilla/layers/CompositorTypes.h";
|
2014-07-31 20:11:47 +00:00
|
|
|
using std::string from "string";
|
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 09:20:52 +00:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace layers {
|
|
|
|
|
|
|
|
struct TargetConfig {
|
|
|
|
nsIntRect naturalBounds;
|
|
|
|
ScreenRotation rotation;
|
|
|
|
nsIntRect clientBounds;
|
|
|
|
ScreenOrientation orientation;
|
2014-03-28 03:38:32 +00:00
|
|
|
nsIntRegion clearRegion;
|
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 09:20:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Create a shadow layer for |layer|
|
|
|
|
struct OpCreateThebesLayer { PLayer layer; };
|
|
|
|
struct OpCreateContainerLayer { PLayer layer; };
|
|
|
|
struct OpCreateImageLayer { PLayer layer; };
|
|
|
|
struct OpCreateColorLayer { PLayer layer; };
|
|
|
|
struct OpCreateCanvasLayer { PLayer layer; };
|
|
|
|
struct OpCreateRefLayer { PLayer layer; };
|
|
|
|
|
|
|
|
struct OpAttachCompositable {
|
|
|
|
PLayer layer;
|
|
|
|
PCompositable compositable;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpAttachAsyncCompositable {
|
|
|
|
PLayer layer;
|
|
|
|
uint64_t containerID;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ThebesBufferData {
|
|
|
|
nsIntRect rect;
|
|
|
|
nsIntPoint rotation;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CubicBezierFunction {
|
|
|
|
float x1;
|
|
|
|
float y1;
|
|
|
|
float x2;
|
|
|
|
float y2;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct StepFunction {
|
|
|
|
int steps;
|
|
|
|
// 1 = nsTimingFunction::StepStart, 2 = nsTimingFunction::StepEnd
|
|
|
|
int type;
|
|
|
|
};
|
|
|
|
|
|
|
|
union TimingFunction {
|
|
|
|
CubicBezierFunction;
|
|
|
|
StepFunction;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct LayerColor { gfxRGBA value; };
|
|
|
|
struct Perspective { float value; };
|
|
|
|
struct RotationX { float radians; };
|
|
|
|
struct RotationY { float radians; };
|
|
|
|
struct RotationZ { float radians; };
|
|
|
|
struct Rotation { float radians; };
|
|
|
|
struct Rotation3D {
|
|
|
|
float x;
|
|
|
|
float y;
|
|
|
|
float z;
|
|
|
|
float radians;
|
|
|
|
};
|
|
|
|
struct Scale {
|
|
|
|
float x;
|
|
|
|
float y;
|
|
|
|
float z;
|
|
|
|
};
|
2013-05-21 10:22:44 +00:00
|
|
|
struct Skew { float x; float y; };
|
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 09:20:52 +00:00
|
|
|
struct SkewX { float x; };
|
|
|
|
struct SkewY { float y; };
|
2014-01-27 15:28:33 +00:00
|
|
|
struct TransformMatrix { Matrix4x4 value; };
|
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 09:20:52 +00:00
|
|
|
struct Translation {
|
|
|
|
float x;
|
|
|
|
float y;
|
|
|
|
float z;
|
|
|
|
};
|
|
|
|
|
|
|
|
union TransformFunction {
|
|
|
|
Perspective;
|
|
|
|
RotationX;
|
|
|
|
RotationY;
|
|
|
|
RotationZ;
|
|
|
|
Rotation;
|
|
|
|
Rotation3D;
|
|
|
|
Scale;
|
2013-05-21 10:22:44 +00:00
|
|
|
Skew;
|
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 09:20:52 +00:00
|
|
|
SkewX;
|
|
|
|
SkewY;
|
|
|
|
Translation;
|
|
|
|
TransformMatrix;
|
|
|
|
};
|
|
|
|
|
|
|
|
union Animatable {
|
|
|
|
float;
|
|
|
|
TransformFunction[];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct AnimationSegment {
|
|
|
|
Animatable startState;
|
|
|
|
Animatable endState;
|
|
|
|
float startPortion;
|
|
|
|
float endPortion;
|
|
|
|
TimingFunction sampleFn;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Transforms need extra information to correctly convert the list of transform
|
2014-08-01 12:31:49 +00:00
|
|
|
// functions to a Matrix4x4 that can be applied directly to the layer.
|
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 09:20:52 +00:00
|
|
|
struct TransformData {
|
|
|
|
// the origin of the frame being transformed in app units
|
|
|
|
nsPoint origin;
|
2013-10-24 12:46:00 +00:00
|
|
|
// the transform-origin property for the transform in css pixels
|
|
|
|
gfxPoint3D transformOrigin;
|
|
|
|
// the perspective-origin property for the transform in css pixels
|
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 09:20:52 +00:00
|
|
|
gfxPoint3D perspectiveOrigin;
|
|
|
|
nsRect bounds;
|
|
|
|
nscoord perspective;
|
|
|
|
int32_t appUnitsPerDevPixel;
|
|
|
|
};
|
|
|
|
|
|
|
|
union AnimationData {
|
|
|
|
null_t;
|
|
|
|
TransformData;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Animation {
|
|
|
|
// Unlike in nsAnimationManager, this start time is at the end of the
|
|
|
|
// delay. If the delay is changed dynamically, the layer's data will
|
|
|
|
// be updated.
|
|
|
|
TimeStamp startTime;
|
|
|
|
TimeDuration duration;
|
|
|
|
// For each frame, the interpolation point is computed based on the
|
|
|
|
// startTime, the direction, the duration, and the current time.
|
|
|
|
// The segments must uniquely cover the portion from 0.0 to 1.0
|
|
|
|
AnimationSegment[] segments;
|
2014-05-28 07:51:50 +00:00
|
|
|
// Number of times to repeat the animation, including positive infinity.
|
|
|
|
// Values <= 0 mean the animation will not play (although events are still
|
|
|
|
// dispatched on the main thread).
|
|
|
|
float iterationCount;
|
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 09:20:52 +00:00
|
|
|
// This uses the NS_STYLE_ANIMATION_DIRECTION_* constants.
|
|
|
|
int32_t direction;
|
|
|
|
nsCSSProperty property;
|
|
|
|
AnimationData data;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Change a layer's attributes
|
|
|
|
struct CommonLayerAttributes {
|
|
|
|
nsIntRegion visibleRegion;
|
2013-12-16 10:47:06 +00:00
|
|
|
EventRegions eventRegions;
|
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 09:20:52 +00:00
|
|
|
TransformMatrix transform;
|
|
|
|
float postXScale;
|
|
|
|
float postYScale;
|
|
|
|
uint32_t contentFlags;
|
|
|
|
float opacity;
|
|
|
|
bool useClipRect;
|
|
|
|
nsIntRect clipRect;
|
|
|
|
bool isFixedPosition;
|
2013-07-22 08:50:09 +00:00
|
|
|
LayerPoint fixedPositionAnchor;
|
2013-07-22 08:50:13 +00:00
|
|
|
LayerMargin fixedPositionMargin;
|
2013-09-12 04:17:58 +00:00
|
|
|
bool isStickyPosition;
|
|
|
|
uint64_t stickyScrollContainerId;
|
|
|
|
LayerRect stickyScrollRangeOuter;
|
|
|
|
LayerRect stickyScrollRangeInner;
|
2013-12-10 03:14:53 +00:00
|
|
|
uint64_t scrollbarTargetContainerId;
|
|
|
|
uint32_t scrollbarDirection;
|
2014-05-09 09:41:56 +00:00
|
|
|
int8_t mixBlendMode;
|
|
|
|
bool forceIsolatedGroup;
|
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 09:20:52 +00:00
|
|
|
nullable PLayer maskLayer;
|
|
|
|
// Animated colors will only honored for ColorLayers.
|
|
|
|
Animation[] animations;
|
2013-11-21 19:25:16 +00:00
|
|
|
nsIntRegion invalidRegion;
|
2014-08-12 00:00:36 +00:00
|
|
|
FrameMetrics metrics;
|
2014-08-12 00:00:37 +00:00
|
|
|
ViewID scrollParentId;
|
2014-08-12 00:00:37 +00:00
|
|
|
LayerColor backgroundColor;
|
|
|
|
string contentDescription;
|
2013-11-21 19:25:16 +00: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 09:20:52 +00:00
|
|
|
|
|
|
|
struct ThebesLayerAttributes {
|
|
|
|
nsIntRegion validRegion;
|
|
|
|
};
|
|
|
|
struct ContainerLayerAttributes {
|
|
|
|
float preXScale;
|
|
|
|
float preYScale;
|
|
|
|
float inheritedXScale;
|
|
|
|
float inheritedYScale;
|
|
|
|
};
|
2013-07-09 14:11:00 +00:00
|
|
|
struct ColorLayerAttributes { LayerColor color; nsIntRect bounds; };
|
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 09:20:52 +00:00
|
|
|
struct CanvasLayerAttributes { GraphicsFilterType filter; nsIntRect bounds; };
|
|
|
|
struct RefLayerAttributes { int64_t id; };
|
2013-12-20 16:46:29 +00:00
|
|
|
struct ImageLayerAttributes { GraphicsFilterType filter; IntSize scaleToSize; ScaleMode scaleMode; };
|
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 09:20:52 +00:00
|
|
|
|
|
|
|
union SpecificLayerAttributes {
|
|
|
|
null_t;
|
|
|
|
ThebesLayerAttributes;
|
|
|
|
ContainerLayerAttributes;
|
|
|
|
ColorLayerAttributes;
|
|
|
|
CanvasLayerAttributes;
|
|
|
|
RefLayerAttributes;
|
|
|
|
ImageLayerAttributes;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct LayerAttributes {
|
|
|
|
CommonLayerAttributes common;
|
|
|
|
SpecificLayerAttributes specific;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpSetLayerAttributes {
|
|
|
|
PLayer layer;
|
|
|
|
LayerAttributes attrs;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Monkey with the tree structure
|
|
|
|
struct OpSetRoot { PLayer root; };
|
|
|
|
struct OpInsertAfter { PLayer container; PLayer childLayer; PLayer after; };
|
2014-02-24 14:41:55 +00:00
|
|
|
struct OpPrependChild { PLayer container; PLayer childLayer; };
|
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 09:20:52 +00:00
|
|
|
struct OpRemoveChild { PLayer container; PLayer childLayer; };
|
|
|
|
struct OpRepositionChild { PLayer container; PLayer childLayer; PLayer after; };
|
|
|
|
struct OpRaiseToTopChild { PLayer container; PLayer childLayer; };
|
|
|
|
|
2013-08-02 22:50:17 +00:00
|
|
|
struct OpSetDiagnosticTypes { DiagnosticTypes diagnostics; };
|
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 09:20:52 +00:00
|
|
|
|
2014-03-13 05:17:05 +00:00
|
|
|
struct ShmemSection {
|
|
|
|
Shmem shmem;
|
|
|
|
uint32_t offset;
|
|
|
|
size_t size;
|
|
|
|
};
|
|
|
|
|
2014-03-07 21:34:04 +00:00
|
|
|
union TileLock {
|
2014-03-13 05:17:05 +00:00
|
|
|
ShmemSection;
|
2014-03-07 21:34:04 +00:00
|
|
|
uintptr_t;
|
|
|
|
};
|
|
|
|
|
2014-07-29 05:21:02 +00:00
|
|
|
union MaybeTexture {
|
|
|
|
PTexture;
|
|
|
|
null_t;
|
|
|
|
};
|
|
|
|
|
2014-03-07 21:34:04 +00:00
|
|
|
struct TexturedTileDescriptor {
|
|
|
|
PTexture texture;
|
2014-07-29 05:21:02 +00:00
|
|
|
MaybeTexture textureOnWhite;
|
2014-03-07 21:34:04 +00:00
|
|
|
TileLock sharedLock;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct PlaceholderTileDescriptor {
|
|
|
|
};
|
|
|
|
|
|
|
|
union TileDescriptor {
|
|
|
|
TexturedTileDescriptor;
|
|
|
|
PlaceholderTileDescriptor;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct SurfaceDescriptorTiles {
|
|
|
|
nsIntRegion validRegion;
|
|
|
|
nsIntRegion paintedRegion;
|
|
|
|
TileDescriptor[] tiles;
|
|
|
|
int retainedWidth;
|
|
|
|
int retainedHeight;
|
|
|
|
float resolution;
|
2014-03-14 13:36:33 +00:00
|
|
|
float frameResolution;
|
2014-03-07 21:34:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct OpUseTiledLayerBuffer {
|
2013-04-16 21:36:06 +00:00
|
|
|
PCompositable compositable;
|
2013-08-19 13:59:22 +00:00
|
|
|
SurfaceDescriptorTiles tileLayerDescriptor;
|
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 09:20:52 +00:00
|
|
|
};
|
|
|
|
|
2013-05-16 03:45:43 +00:00
|
|
|
struct OpCreatedIncrementalTexture {
|
|
|
|
PCompositable compositable;
|
|
|
|
TextureInfo textureInfo;
|
|
|
|
nsIntRect bufferRect;
|
|
|
|
};
|
|
|
|
|
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 09:20:52 +00:00
|
|
|
struct OpPaintTextureRegion {
|
|
|
|
PCompositable compositable;
|
|
|
|
ThebesBufferData bufferData;
|
|
|
|
nsIntRegion updatedRegion;
|
|
|
|
};
|
|
|
|
|
2013-05-16 03:45:43 +00:00
|
|
|
struct OpPaintTextureIncremental {
|
|
|
|
PCompositable compositable;
|
2014-04-26 02:34:06 +00:00
|
|
|
TextureIdentifier textureId;
|
2013-05-16 03:45:43 +00:00
|
|
|
SurfaceDescriptor image;
|
|
|
|
nsIntRegion updatedRegion;
|
|
|
|
nsIntRect bufferRect;
|
|
|
|
nsIntPoint bufferRotation;
|
|
|
|
};
|
|
|
|
|
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 09:20:52 +00:00
|
|
|
struct OpUpdatePictureRect {
|
|
|
|
PCompositable compositable;
|
|
|
|
nsIntRect picture;
|
|
|
|
};
|
|
|
|
|
2014-02-10 20:52:35 +00:00
|
|
|
/**
|
|
|
|
* Tells the CompositableHost to remove the corresponding TextureHost
|
|
|
|
*/
|
|
|
|
struct OpRemoveTexture {
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture texture;
|
|
|
|
};
|
|
|
|
|
2014-05-12 14:39:25 +00:00
|
|
|
struct OpRemoveTextureAsync {
|
2014-05-24 16:14:45 +00:00
|
|
|
uint64_t holderId;
|
2014-05-12 14:39:25 +00:00
|
|
|
uint64_t transactionId;
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture texture;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpReplyRemoveTexture {
|
2014-05-24 16:14:45 +00:00
|
|
|
bool isMain;
|
|
|
|
uint64_t holderId;
|
2014-05-12 14:39:25 +00:00
|
|
|
uint64_t transactionId;
|
|
|
|
};
|
|
|
|
|
2013-07-30 09:59:51 +00:00
|
|
|
/**
|
|
|
|
* Tells the compositor-side which texture to use (for example, as front buffer
|
|
|
|
* if there is several textures for double buffering)
|
|
|
|
*/
|
|
|
|
struct OpUseTexture {
|
|
|
|
PCompositable compositable;
|
2013-12-12 01:44:44 +00:00
|
|
|
PTexture texture;
|
2013-07-30 09:59:51 +00:00
|
|
|
};
|
|
|
|
|
2014-02-06 11:28:29 +00:00
|
|
|
struct OpUseComponentAlphaTextures {
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture textureOnBlack;
|
|
|
|
PTexture textureOnWhite;
|
|
|
|
};
|
|
|
|
|
2013-07-30 09:59:51 +00:00
|
|
|
union MaybeRegion {
|
|
|
|
nsIntRegion;
|
|
|
|
null_t;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpUpdateTexture {
|
|
|
|
PCompositable compositable;
|
2013-12-12 01:44:44 +00:00
|
|
|
PTexture texture;
|
2013-07-30 09:59:51 +00:00
|
|
|
MaybeRegion region;
|
|
|
|
};
|
|
|
|
|
2014-05-06 01:56:40 +00:00
|
|
|
struct OpDeliverFence {
|
|
|
|
uint64_t transactionId;
|
|
|
|
PTexture texture;
|
|
|
|
FenceHandle fence;
|
|
|
|
};
|
|
|
|
|
2014-05-24 16:14:45 +00:00
|
|
|
struct OpDeliverFenceToTracker {
|
|
|
|
uint64_t transactionId;
|
|
|
|
uint64_t destHolderId;
|
|
|
|
uint64_t destTransactionId;
|
|
|
|
FenceHandle fence;
|
|
|
|
};
|
|
|
|
|
2014-06-08 13:18:53 +00:00
|
|
|
struct OpDeliverFenceFromChild {
|
|
|
|
uint64_t transactionId;
|
|
|
|
PTexture texture;
|
|
|
|
FenceHandleFromChild fence;
|
|
|
|
};
|
|
|
|
|
2014-05-06 01:56:40 +00:00
|
|
|
struct OpReplyDeliverFence {
|
|
|
|
uint64_t transactionId;
|
|
|
|
};
|
|
|
|
|
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 09:20:52 +00:00
|
|
|
union CompositableOperation {
|
|
|
|
OpUpdatePictureRect;
|
|
|
|
|
2013-05-16 03:45:43 +00:00
|
|
|
OpCreatedIncrementalTexture;
|
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 09:20:52 +00:00
|
|
|
|
|
|
|
OpPaintTextureRegion;
|
2013-05-16 03:45:43 +00:00
|
|
|
OpPaintTextureIncremental;
|
2013-04-16 21:36:06 +00:00
|
|
|
|
2014-03-07 21:34:04 +00:00
|
|
|
OpUseTiledLayerBuffer;
|
2013-07-30 09:59:51 +00:00
|
|
|
|
2014-02-10 20:52:35 +00:00
|
|
|
OpRemoveTexture;
|
2014-05-12 14:39:25 +00:00
|
|
|
OpRemoveTextureAsync;
|
2014-02-10 20:52:35 +00:00
|
|
|
|
2013-07-30 09:59:51 +00:00
|
|
|
OpUpdateTexture;
|
|
|
|
OpUseTexture;
|
2014-02-06 11:28:29 +00:00
|
|
|
OpUseComponentAlphaTextures;
|
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 09:20:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// A unit of a changeset; a set of these comprise a changeset
|
|
|
|
union Edit {
|
|
|
|
OpCreateThebesLayer;
|
|
|
|
OpCreateContainerLayer;
|
|
|
|
OpCreateImageLayer;
|
|
|
|
OpCreateColorLayer;
|
|
|
|
OpCreateCanvasLayer;
|
|
|
|
OpCreateRefLayer;
|
|
|
|
|
|
|
|
OpSetLayerAttributes;
|
2013-08-02 22:50:17 +00:00
|
|
|
OpSetDiagnosticTypes;
|
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 09:20:52 +00:00
|
|
|
|
|
|
|
OpSetRoot;
|
|
|
|
OpInsertAfter;
|
2014-02-24 14:41:55 +00:00
|
|
|
OpPrependChild;
|
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 09:20:52 +00:00
|
|
|
OpRemoveChild;
|
|
|
|
OpRepositionChild;
|
|
|
|
OpRaiseToTopChild;
|
|
|
|
|
|
|
|
OpAttachCompositable;
|
|
|
|
OpAttachAsyncCompositable;
|
|
|
|
|
|
|
|
CompositableOperation;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Replies to operations
|
|
|
|
|
|
|
|
struct OpContentBufferSwap {
|
|
|
|
PCompositable compositable;
|
|
|
|
nsIntRegion frontUpdatedRegion;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpTextureSwap {
|
2013-04-12 07:28:55 +00:00
|
|
|
PCompositable compositable;
|
2014-04-26 02:34:06 +00:00
|
|
|
TextureIdentifier textureId;
|
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 09:20:52 +00:00
|
|
|
SurfaceDescriptor image;
|
|
|
|
};
|
|
|
|
|
2014-02-25 04:23:41 +00:00
|
|
|
struct ReturnReleaseFence {
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture texture;
|
|
|
|
FenceHandle fence;
|
|
|
|
};
|
|
|
|
|
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 09:20:52 +00:00
|
|
|
// Unit of a "changeset reply". This is a weird abstraction, probably
|
|
|
|
// only to be used for buffer swapping.
|
|
|
|
union EditReply {
|
|
|
|
OpContentBufferSwap;
|
|
|
|
OpTextureSwap;
|
2014-02-25 04:23:41 +00:00
|
|
|
|
|
|
|
ReturnReleaseFence;
|
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 09:20:52 +00:00
|
|
|
};
|
|
|
|
|
2014-05-06 01:56:40 +00:00
|
|
|
union AsyncParentMessageData {
|
|
|
|
OpDeliverFence;
|
2014-05-24 16:14:45 +00:00
|
|
|
OpDeliverFenceToTracker;
|
2014-06-08 13:18:53 +00:00
|
|
|
OpReplyDeliverFence;
|
2014-05-12 14:39:25 +00:00
|
|
|
OpReplyRemoveTexture;
|
2014-05-06 01:56:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
union AsyncChildMessageData {
|
2014-06-08 13:18:53 +00:00
|
|
|
OpDeliverFenceFromChild;
|
2014-05-06 01:56:40 +00:00
|
|
|
OpReplyDeliverFence;
|
|
|
|
};
|
|
|
|
|
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 09:20:52 +00:00
|
|
|
} // namespace
|
|
|
|
} // namespace
|