/* -*- 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/. */
/** * An ISurfaceProvider implemented for single-frame decoded surfaces.
*/
/** * An ISurfaceProvider that manages the decoding of a single-frame image and * stores the resulting surface.
*/ class DecodedSurfaceProvider final : public ISurfaceProvider, public IDecodingTask { public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DecodedSurfaceProvider, override)
// Full decodes are low priority compared to metadata decodes because they // don't block layout or page load.
TaskPriority Priority() const override { return TaskPriority::eLow; }
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.