2012-07-18 09:31:40 -07: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/. */
|
|
|
|
|
2012-07-30 17:42:26 -07:00
|
|
|
#ifndef GFX_LAYERSTYPES_H
|
|
|
|
#define GFX_LAYERSTYPES_H
|
2012-07-18 09:31:40 -07:00
|
|
|
|
2013-08-11 16:17:23 -07:00
|
|
|
#include <stdint.h> // for uint32_t
|
|
|
|
#include "nsPoint.h" // for nsIntPoint
|
2013-12-16 02:47:06 -08:00
|
|
|
#include "nsRegion.h"
|
2013-08-11 16:17:23 -07:00
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
#include "mozilla/TypedEnum.h"
|
|
|
|
|
2013-06-05 15:14:51 -07:00
|
|
|
#ifdef MOZ_WIDGET_GONK
|
|
|
|
#include <ui/GraphicBuffer.h>
|
|
|
|
#endif
|
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
|
|
|
#if defined(DEBUG) || defined(PR_LOGGING)
|
|
|
|
# include <stdio.h> // FILE
|
2013-08-11 16:17:23 -07:00
|
|
|
# include "prlog.h" // for PR_LOG
|
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
|
|
|
# ifndef MOZ_LAYERS_HAVE_LOG
|
|
|
|
# define MOZ_LAYERS_HAVE_LOG
|
|
|
|
# endif
|
|
|
|
# define MOZ_LAYERS_LOG(_args) \
|
|
|
|
PR_LOG(LayerManager::GetLog(), PR_LOG_DEBUG, _args)
|
|
|
|
# define MOZ_LAYERS_LOG_IF_SHADOWABLE(layer, _args) \
|
|
|
|
do { if (layer->AsShadowableLayer()) { PR_LOG(LayerManager::GetLog(), PR_LOG_DEBUG, _args); } } while (0)
|
|
|
|
#else
|
|
|
|
struct PRLogModuleInfo;
|
|
|
|
# define MOZ_LAYERS_LOG(_args)
|
|
|
|
# define MOZ_LAYERS_LOG_IF_SHADOWABLE(layer, _args)
|
|
|
|
#endif // if defined(DEBUG) || defined(PR_LOGGING)
|
|
|
|
|
2013-06-05 15:14:51 -07:00
|
|
|
namespace android {
|
|
|
|
class GraphicBuffer;
|
|
|
|
}
|
|
|
|
|
2012-07-18 09:31:40 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace layers {
|
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
|
|
|
|
|
|
|
|
|
|
|
typedef uint32_t TextureFlags;
|
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
#undef NONE
|
|
|
|
#undef OPAQUE
|
|
|
|
|
|
|
|
MOZ_BEGIN_ENUM_CLASS(LayersBackend, int8_t)
|
2012-07-18 09:31:40 -07:00
|
|
|
LAYERS_NONE = 0,
|
|
|
|
LAYERS_BASIC,
|
|
|
|
LAYERS_OPENGL,
|
|
|
|
LAYERS_D3D9,
|
|
|
|
LAYERS_D3D10,
|
2013-05-03 10:34:29 -07:00
|
|
|
LAYERS_D3D11,
|
2013-04-30 22:03:25 -07:00
|
|
|
LAYERS_CLIENT,
|
2012-07-18 09:31:40 -07:00
|
|
|
LAYERS_LAST
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_END_ENUM_CLASS(LayersBackend)
|
2012-07-30 17:42:26 -07:00
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_BEGIN_ENUM_CLASS(BufferMode, int8_t)
|
2012-07-30 17:42:26 -07:00
|
|
|
BUFFER_NONE,
|
2014-01-23 10:26:41 -08:00
|
|
|
BUFFERED
|
|
|
|
MOZ_END_ENUM_CLASS(BufferMode)
|
2012-07-30 17:42:26 -07:00
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_BEGIN_ENUM_CLASS(DrawRegionClip, int8_t)
|
|
|
|
DRAW,
|
|
|
|
DRAW_SNAPPED,
|
|
|
|
CLIP_NONE
|
|
|
|
MOZ_END_ENUM_CLASS(DrawRegionClip)
|
2013-11-06 11:10:50 -08:00
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_BEGIN_ENUM_CLASS(SurfaceMode, int8_t)
|
2014-01-17 06:00:00 -08:00
|
|
|
SURFACE_NONE = 0,
|
|
|
|
SURFACE_OPAQUE,
|
|
|
|
SURFACE_SINGLE_CHANNEL_ALPHA,
|
|
|
|
SURFACE_COMPONENT_ALPHA
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_END_ENUM_CLASS(SurfaceMode)
|
2014-01-17 06:00:00 -08: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 02:20:52 -07:00
|
|
|
// LayerRenderState for Composer2D
|
2013-06-05 15:14:51 -07:00
|
|
|
// We currently only support Composer2D using gralloc. If we want to be backed
|
|
|
|
// by other surfaces we will need a more generic LayerRenderState.
|
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
|
|
|
enum LayerRenderStateFlags {
|
|
|
|
LAYER_RENDER_STATE_Y_FLIPPED = 1 << 0,
|
2013-06-11 03:14:33 -07:00
|
|
|
LAYER_RENDER_STATE_BUFFER_ROTATION = 1 << 1,
|
|
|
|
// Notify Composer2D to swap the RB pixels of gralloc buffer
|
|
|
|
LAYER_RENDER_STATE_FORMAT_RB_SWAP = 1 << 2
|
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-06-05 15:14:51 -07:00
|
|
|
// The 'ifdef MOZ_WIDGET_GONK' sadness here is because we don't want to include
|
|
|
|
// android::sp unless we have to.
|
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 LayerRenderState {
|
2013-06-05 15:14:51 -07:00
|
|
|
LayerRenderState()
|
|
|
|
#ifdef MOZ_WIDGET_GONK
|
|
|
|
: mSurface(nullptr), mFlags(0), mHasOwnOffset(false)
|
|
|
|
#endif
|
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-06-05 15:14:51 -07:00
|
|
|
#ifdef MOZ_WIDGET_GONK
|
|
|
|
LayerRenderState(android::GraphicBuffer* aSurface,
|
|
|
|
const nsIntSize& aSize,
|
|
|
|
uint32_t aFlags)
|
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
|
|
|
: mSurface(aSurface)
|
2013-06-05 15:14:51 -07:00
|
|
|
, mSize(aSize)
|
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
|
|
|
, mFlags(aFlags)
|
|
|
|
, mHasOwnOffset(false)
|
|
|
|
{}
|
|
|
|
|
|
|
|
bool YFlipped() const
|
|
|
|
{ return mFlags & LAYER_RENDER_STATE_Y_FLIPPED; }
|
|
|
|
|
|
|
|
bool BufferRotated() const
|
|
|
|
{ return mFlags & LAYER_RENDER_STATE_BUFFER_ROTATION; }
|
2013-06-11 03:14:33 -07:00
|
|
|
|
|
|
|
bool FormatRBSwapped() const
|
|
|
|
{ return mFlags & LAYER_RENDER_STATE_FORMAT_RB_SWAP; }
|
2013-06-05 15:14:51 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
void SetOffset(const nsIntPoint& aOffset)
|
|
|
|
{
|
|
|
|
mOffset = aOffset;
|
|
|
|
mHasOwnOffset = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef MOZ_WIDGET_GONK
|
|
|
|
// surface to render
|
|
|
|
android::sp<android::GraphicBuffer> mSurface;
|
|
|
|
// size of mSurface
|
|
|
|
nsIntSize mSize;
|
|
|
|
#endif
|
|
|
|
// see LayerRenderStateFlags
|
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
|
|
|
uint32_t mFlags;
|
2013-06-05 15:14:51 -07:00
|
|
|
// the location of the layer's origin on mSurface
|
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
|
|
|
nsIntPoint mOffset;
|
2013-06-05 15:14:51 -07:00
|
|
|
// true if mOffset is applicable
|
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
|
|
|
bool mHasOwnOffset;
|
|
|
|
};
|
|
|
|
|
2014-01-23 10:26:41 -08:00
|
|
|
MOZ_BEGIN_ENUM_CLASS(ScaleMode, int8_t)
|
2013-08-20 12:45:30 -07:00
|
|
|
SCALE_NONE,
|
2014-01-23 10:26:41 -08:00
|
|
|
STRETCH,
|
|
|
|
SENTINEL
|
|
|
|
// Unimplemented - PRESERVE_ASPECT_RATIO_CONTAIN
|
|
|
|
MOZ_END_ENUM_CLASS(ScaleMode)
|
2013-08-20 12:45:30 -07:00
|
|
|
|
2013-12-16 02:47:06 -08:00
|
|
|
struct EventRegions {
|
|
|
|
nsIntRegion mHitRegion;
|
|
|
|
nsIntRegion mDispatchToContentHitRegion;
|
|
|
|
|
|
|
|
bool operator==(const EventRegions& aRegions) const
|
|
|
|
{
|
|
|
|
return mHitRegion == aRegions.mHitRegion &&
|
|
|
|
mDispatchToContentHitRegion == aRegions.mDispatchToContentHitRegion;
|
|
|
|
}
|
|
|
|
bool operator!=(const EventRegions& aRegions) const
|
|
|
|
{
|
|
|
|
return !(*this == aRegions);
|
|
|
|
}
|
|
|
|
|
|
|
|
nsCString ToString() const
|
|
|
|
{
|
|
|
|
nsCString result = mHitRegion.ToString();
|
|
|
|
result.AppendLiteral(";dispatchToContent=");
|
|
|
|
result.Append(mDispatchToContentHitRegion.ToString());
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
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
|
2012-07-18 09:31:40 -07:00
|
|
|
|
2012-07-30 17:42:26 -07:00
|
|
|
#endif /* GFX_LAYERSTYPES_H */
|