mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #80- De-unify gfx/layers
Excludes layers/ipc/CompositorBridgeParent and CrossProcessCompositorBridgeParent because the latter purposely uses functions implemented in the former. See also code comment in CrossProcessCompositorBridgeParent.cpp Note: likely dead code for us anyway; likely not worth investing in to solve.
This commit is contained in:
parent
cdd925c155
commit
b8d9e7b8c0
15 changed files with 61 additions and 29 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include "mozilla/dom/ContentParent.h"
|
||||
#include "mozilla/dom/TabParent.h"
|
||||
#include "mozilla/gfx/2D.h" // for DrawTarget
|
||||
#include "mozilla/gfx/gfxVars.h"
|
||||
#include "mozilla/gfx/Point.h" // for IntSize
|
||||
#include "mozilla/gfx/Rect.h" // for IntSize
|
||||
#include "mozilla/ipc/Transport.h" // for Transport
|
||||
|
|
|
|||
|
|
@ -84,9 +84,10 @@
|
|||
#include "LayerScope.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
namespace layers {
|
||||
|
||||
using namespace std;
|
||||
|
||||
// defined in CompositorBridgeParent.cpp
|
||||
typedef map<uint64_t, CompositorBridgeParent::LayerTreeState> LayerTreeMap;
|
||||
extern LayerTreeMap sIndirectLayerTrees;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#define mozilla_layers_CrossProcessCompositorBridgeParent_h
|
||||
|
||||
#include "mozilla/layers/CompositorBridgeParent.h"
|
||||
#include "mozilla/layers/CompositorThread.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ namespace layers {
|
|||
|
||||
using namespace mozilla::ipc;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::media;
|
||||
|
||||
|
||||
static VideoBridgeParent* sVideoBridgeSingleton;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#define gfx_layers_ipc_VideoBridgeParent_h_
|
||||
|
||||
#include "mozilla/layers/PVideoBridgeParent.h"
|
||||
#include "mozilla/layers/ISurfaceAllocator.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue