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 02:20:52 -07: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-11 17:44:44 -08: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 02:20:52 -07:00
|
|
|
|
|
|
|
include "gfxipc/ShadowLayerUtils.h";
|
2013-07-26 12:28:31 -07:00
|
|
|
include "mozilla/GfxMessageUtils.h";
|
2013-05-09 14:02:50 -07: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 02:20:52 -07:00
|
|
|
|
2013-10-19 09:09:59 -07:00
|
|
|
using mozilla::GraphicsFilterType from "mozilla/GfxMessageUtils.h";
|
|
|
|
using struct gfxRGBA from "gfxColor.h";
|
2013-10-01 12:25:07 -07:00
|
|
|
using struct gfxPoint3D from "gfxPoint3D.h";
|
2014-01-27 07:28:33 -08:00
|
|
|
using class mozilla::gfx::Matrix4x4 from "mozilla/gfx/Matrix.h";
|
2013-10-19 09:09:59 -07:00
|
|
|
using class gfx3DMatrix from "gfx3DMatrix.h";
|
2013-10-01 12:25:07 -07:00
|
|
|
using nscoord from "nsCoord.h";
|
2013-10-19 09:09:59 -07:00
|
|
|
using struct nsIntPoint from "nsPoint.h";
|
2013-10-01 12:25:07 -07: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 02:47:06 -08:00
|
|
|
using mozilla::layers::EventRegions from "mozilla/layers/LayersTypes.h";
|
2013-10-01 12:25:07 -07:00
|
|
|
using mozilla::layers::DiagnosticTypes from "mozilla/layers/CompositorTypes.h";
|
2013-10-19 09:09:59 -07:00
|
|
|
using struct mozilla::layers::FrameMetrics from "FrameMetrics.h";
|
2014-04-11 16:39:21 -07:00
|
|
|
using mozilla::layers::FrameMetrics::ViewID from "FrameMetrics.h";
|
2014-02-24 20:23:41 -08:00
|
|
|
using struct mozilla::layers::FenceHandle from "mozilla/layers/FenceUtils.h";
|
2014-04-25 19:34:06 -07:00
|
|
|
using mozilla::layers::TextureIdentifier from "mozilla/layers/CompositorTypes.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 02:20:52 -07:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace layers {
|
|
|
|
|
|
|
|
struct TargetConfig {
|
|
|
|
nsIntRect naturalBounds;
|
|
|
|
ScreenRotation rotation;
|
|
|
|
nsIntRect clientBounds;
|
|
|
|
ScreenOrientation orientation;
|
2014-03-27 20:38:32 -07: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 02:20:52 -07: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 03:22:44 -07: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 02:20:52 -07:00
|
|
|
struct SkewX { float x; };
|
|
|
|
struct SkewY { float y; };
|
2014-01-27 07:28:33 -08: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 02:20:52 -07:00
|
|
|
struct Translation {
|
|
|
|
float x;
|
|
|
|
float y;
|
|
|
|
float z;
|
|
|
|
};
|
|
|
|
|
|
|
|
union TransformFunction {
|
|
|
|
Perspective;
|
|
|
|
RotationX;
|
|
|
|
RotationY;
|
|
|
|
RotationZ;
|
|
|
|
Rotation;
|
|
|
|
Rotation3D;
|
|
|
|
Scale;
|
2013-05-21 03:22:44 -07: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 02:20:52 -07: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
|
|
|
|
// functions to a gfx3DMatrix that can be applied directly to the layer.
|
|
|
|
struct TransformData {
|
|
|
|
// the origin of the frame being transformed in app units
|
|
|
|
nsPoint origin;
|
2013-10-24 05:46:00 -07: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 02:20:52 -07: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;
|
2013-05-21 03:22:45 -07:00
|
|
|
// How many times to repeat the animation. -1 means "forever".
|
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 02:20:52 -07:00
|
|
|
float numIterations;
|
|
|
|
// 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 02:47:06 -08: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 02:20:52 -07:00
|
|
|
TransformMatrix transform;
|
|
|
|
float postXScale;
|
|
|
|
float postYScale;
|
|
|
|
uint32_t contentFlags;
|
|
|
|
float opacity;
|
|
|
|
bool useClipRect;
|
|
|
|
nsIntRect clipRect;
|
|
|
|
bool isFixedPosition;
|
2013-07-22 01:50:09 -07:00
|
|
|
LayerPoint fixedPositionAnchor;
|
2013-07-22 01:50:13 -07:00
|
|
|
LayerMargin fixedPositionMargin;
|
2013-09-11 21:17:58 -07:00
|
|
|
bool isStickyPosition;
|
|
|
|
uint64_t stickyScrollContainerId;
|
|
|
|
LayerRect stickyScrollRangeOuter;
|
|
|
|
LayerRect stickyScrollRangeInner;
|
2013-12-09 19:14:53 -08:00
|
|
|
uint64_t scrollbarTargetContainerId;
|
|
|
|
uint32_t scrollbarDirection;
|
2014-05-09 02:41:56 -07: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 02:20:52 -07:00
|
|
|
nullable PLayer maskLayer;
|
|
|
|
// Animated colors will only honored for ColorLayers.
|
|
|
|
Animation[] animations;
|
2013-11-21 11:25:16 -08:00
|
|
|
nsIntRegion invalidRegion;
|
|
|
|
};
|
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 02:20:52 -07:00
|
|
|
|
|
|
|
struct ThebesLayerAttributes {
|
|
|
|
nsIntRegion validRegion;
|
|
|
|
};
|
|
|
|
struct ContainerLayerAttributes {
|
|
|
|
FrameMetrics metrics;
|
2014-04-11 16:39:21 -07:00
|
|
|
ViewID scrollParentId;
|
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 02:20:52 -07:00
|
|
|
float preXScale;
|
|
|
|
float preYScale;
|
|
|
|
float inheritedXScale;
|
|
|
|
float inheritedYScale;
|
|
|
|
};
|
2013-07-09 07:11:00 -07: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 02:20:52 -07:00
|
|
|
struct CanvasLayerAttributes { GraphicsFilterType filter; nsIntRect bounds; };
|
|
|
|
struct RefLayerAttributes { int64_t id; };
|
2013-12-20 08:46:29 -08: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 02:20:52 -07: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 06:41:55 -08: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 02:20:52 -07:00
|
|
|
struct OpRemoveChild { PLayer container; PLayer childLayer; };
|
|
|
|
struct OpRepositionChild { PLayer container; PLayer childLayer; PLayer after; };
|
|
|
|
struct OpRaiseToTopChild { PLayer container; PLayer childLayer; };
|
|
|
|
|
2013-08-02 15:50:17 -07: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 02:20:52 -07:00
|
|
|
|
2014-03-12 22:17:05 -07:00
|
|
|
struct ShmemSection {
|
|
|
|
Shmem shmem;
|
|
|
|
uint32_t offset;
|
|
|
|
size_t size;
|
|
|
|
};
|
|
|
|
|
2014-03-07 13:34:04 -08:00
|
|
|
union TileLock {
|
2014-03-12 22:17:05 -07:00
|
|
|
ShmemSection;
|
2014-03-07 13:34:04 -08:00
|
|
|
uintptr_t;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct TexturedTileDescriptor {
|
|
|
|
PTexture texture;
|
|
|
|
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 06:36:33 -07:00
|
|
|
float frameResolution;
|
2014-03-07 13:34:04 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct OpUseTiledLayerBuffer {
|
2013-04-16 14:36:06 -07:00
|
|
|
PCompositable compositable;
|
2013-08-19 06:59:22 -07: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 02:20:52 -07:00
|
|
|
};
|
|
|
|
|
2013-05-15 20:45:43 -07: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 02:20:52 -07:00
|
|
|
struct OpPaintTextureRegion {
|
|
|
|
PCompositable compositable;
|
|
|
|
ThebesBufferData bufferData;
|
|
|
|
nsIntRegion updatedRegion;
|
|
|
|
};
|
|
|
|
|
2013-05-15 20:45:43 -07:00
|
|
|
struct OpPaintTextureIncremental {
|
|
|
|
PCompositable compositable;
|
2014-04-25 19:34:06 -07:00
|
|
|
TextureIdentifier textureId;
|
2013-05-15 20:45:43 -07: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 02:20:52 -07:00
|
|
|
struct OpUpdatePictureRect {
|
|
|
|
PCompositable compositable;
|
|
|
|
nsIntRect picture;
|
|
|
|
};
|
|
|
|
|
2014-02-10 12:52:35 -08:00
|
|
|
/**
|
|
|
|
* Tells the CompositableHost to remove the corresponding TextureHost
|
|
|
|
*/
|
|
|
|
struct OpRemoveTexture {
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture texture;
|
|
|
|
};
|
|
|
|
|
2014-05-12 07:39:25 -07:00
|
|
|
struct OpRemoveTextureAsync {
|
2014-05-24 09:14:45 -07:00
|
|
|
uint64_t holderId;
|
2014-05-12 07:39:25 -07:00
|
|
|
uint64_t transactionId;
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture texture;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpReplyRemoveTexture {
|
2014-05-24 09:14:45 -07:00
|
|
|
bool isMain;
|
|
|
|
uint64_t holderId;
|
2014-05-12 07:39:25 -07:00
|
|
|
uint64_t transactionId;
|
|
|
|
};
|
|
|
|
|
2013-07-30 02:59:51 -07: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-11 17:44:44 -08:00
|
|
|
PTexture texture;
|
2013-07-30 02:59:51 -07:00
|
|
|
};
|
|
|
|
|
2014-02-06 03:28:29 -08:00
|
|
|
struct OpUseComponentAlphaTextures {
|
|
|
|
PCompositable compositable;
|
|
|
|
PTexture textureOnBlack;
|
|
|
|
PTexture textureOnWhite;
|
|
|
|
};
|
|
|
|
|
2013-07-30 02:59:51 -07:00
|
|
|
union MaybeRegion {
|
|
|
|
nsIntRegion;
|
|
|
|
null_t;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpUpdateTexture {
|
|
|
|
PCompositable compositable;
|
2013-12-11 17:44:44 -08:00
|
|
|
PTexture texture;
|
2013-07-30 02:59:51 -07:00
|
|
|
MaybeRegion region;
|
|
|
|
};
|
|
|
|
|
2014-05-05 18:56:40 -07:00
|
|
|
struct OpDeliverFence {
|
|
|
|
uint64_t transactionId;
|
|
|
|
PTexture texture;
|
|
|
|
FenceHandle fence;
|
|
|
|
};
|
|
|
|
|
2014-05-24 09:14:45 -07:00
|
|
|
struct OpDeliverFenceToTracker {
|
|
|
|
uint64_t transactionId;
|
|
|
|
uint64_t destHolderId;
|
|
|
|
uint64_t destTransactionId;
|
|
|
|
FenceHandle fence;
|
|
|
|
};
|
|
|
|
|
2014-05-05 18:56:40 -07: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 02:20:52 -07:00
|
|
|
union CompositableOperation {
|
|
|
|
OpUpdatePictureRect;
|
|
|
|
|
2013-05-15 20:45:43 -07: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 02:20:52 -07:00
|
|
|
|
|
|
|
OpPaintTextureRegion;
|
2013-05-15 20:45:43 -07:00
|
|
|
OpPaintTextureIncremental;
|
2013-04-16 14:36:06 -07:00
|
|
|
|
2014-03-07 13:34:04 -08:00
|
|
|
OpUseTiledLayerBuffer;
|
2013-07-30 02:59:51 -07:00
|
|
|
|
2014-02-10 12:52:35 -08:00
|
|
|
OpRemoveTexture;
|
2014-05-12 07:39:25 -07:00
|
|
|
OpRemoveTextureAsync;
|
2014-02-10 12:52:35 -08:00
|
|
|
|
2013-07-30 02:59:51 -07:00
|
|
|
OpUpdateTexture;
|
|
|
|
OpUseTexture;
|
2014-02-06 03:28:29 -08: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 02:20:52 -07: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 15:50:17 -07: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 02:20:52 -07:00
|
|
|
|
|
|
|
OpSetRoot;
|
|
|
|
OpInsertAfter;
|
2014-02-24 06:41:55 -08: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 02:20:52 -07:00
|
|
|
OpRemoveChild;
|
|
|
|
OpRepositionChild;
|
|
|
|
OpRaiseToTopChild;
|
|
|
|
|
|
|
|
OpAttachCompositable;
|
|
|
|
OpAttachAsyncCompositable;
|
|
|
|
|
|
|
|
CompositableOperation;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Replies to operations
|
|
|
|
|
|
|
|
struct OpContentBufferSwap {
|
|
|
|
PCompositable compositable;
|
|
|
|
nsIntRegion frontUpdatedRegion;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct OpTextureSwap {
|
2013-04-12 00:28:55 -07:00
|
|
|
PCompositable compositable;
|
2014-04-25 19:34:06 -07: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 02:20:52 -07:00
|
|
|
SurfaceDescriptor image;
|
|
|
|
};
|
|
|
|
|
2014-02-24 20:23:41 -08: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 02:20:52 -07: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-24 20:23:41 -08: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 02:20:52 -07:00
|
|
|
};
|
|
|
|
|
2014-05-05 18:56:40 -07:00
|
|
|
union AsyncParentMessageData {
|
|
|
|
OpDeliverFence;
|
2014-05-24 09:14:45 -07:00
|
|
|
OpDeliverFenceToTracker;
|
2014-05-12 07:39:25 -07:00
|
|
|
OpReplyRemoveTexture;
|
2014-05-05 18:56:40 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
union AsyncChildMessageData {
|
|
|
|
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 02:20:52 -07:00
|
|
|
} // namespace
|
|
|
|
} // namespace
|