1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 include LayersSurfaces;
7 include LayersMessages;
8 include protocol PTexture;
10 include "mozilla/GfxMessageUtils.h";
11 include "mozilla/layers/LayersMessageUtils.h";
13 using mozilla::layers::TextureFlags from "mozilla/layers/CompositorTypes.h";
19 * The PVideoBridge protocol is used to share textures from the video decoders
22 sync protocol PVideoBridge
27 async PTexture(SurfaceDescriptor aSharedData, ReadLockDescriptor aReadLock, LayersBackend aBackend,
28 TextureFlags aTextureFlags, uint64_t aSerial);