mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Vim control lines were re-introduced or not entirely cleaned up. This nukes them again. Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews, media and memory. More to come.
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
/* -*- Mode: C++; tab-width: 8; 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/. */
|
|
|
|
include LayersSurfaces;
|
|
include protocol PLayerTransaction;
|
|
include protocol PCompositorBridge;
|
|
include protocol PImageBridge;
|
|
include protocol PVideoBridge;
|
|
include "mozilla/GfxMessageUtils.h";
|
|
|
|
using struct mozilla::layers::FrameMetrics from "FrameMetrics.h";
|
|
using mozilla::layers::TextureFlags from "mozilla/layers/CompositorTypes.h";
|
|
|
|
namespace mozilla {
|
|
namespace layers {
|
|
|
|
/**
|
|
* PTexture is the IPDL glue between a TextureClient and a TextureHost.
|
|
*/
|
|
sync protocol PTexture {
|
|
manager PImageBridge or PCompositorBridge or PVideoBridge;
|
|
|
|
child:
|
|
async __delete__();
|
|
|
|
parent:
|
|
/**
|
|
* Asynchronously tell the compositor side to remove the texture.
|
|
*/
|
|
async Destroy();
|
|
|
|
/**
|
|
* Synchronously tell the compositor side to remove the texture.
|
|
*/
|
|
sync DestroySync();
|
|
|
|
async RecycleTexture(TextureFlags aTextureFlags);
|
|
};
|
|
|
|
} // layers
|
|
} // mozilla
|