/* -*- 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/. */
/** * A texture data wrapping a dcomp surface handle, which is provided by the * media foundation media engine. We won't be able to control real texture data * because that is protected by the media engine.
*/ class DcompSurfaceTexture final : public TextureData { public: static already_AddRefed<TextureClient> CreateTextureClient(
HANDLE aHandle, gfx::IntSize aSize, gfx::SurfaceFormat aFormat,
KnowsCompositor* aKnowsCompositor);
/** * A image data which holds a dcomp texture which is provided by the media * foundation media engine. As the real texture is protected, it does not * support being accessed as a source surface.
*/ class DcompSurfaceImage : public Image { public:
DcompSurfaceImage(HANDLE aHandle, gfx::IntSize aSize,
gfx::SurfaceFormat aFormat,
KnowsCompositor* aKnowsCompositor); virtual ~DcompSurfaceImage() = default;
/** * A Texture host living in GPU process which owns a dcomp surface handle which * is provided by the media foundation media engine.
*/ class DcompSurfaceHandleHost : public TextureHost { public:
DcompSurfaceHandleHost(TextureFlags aFlags, const SurfaceDescriptorDcompSurface& aDescriptor);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.