1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

content / public / common / media_playback_renderer_type.mojom [blame]

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module content.mojom;

enum RendererType {
  // Media playback uses RendererImpl, which is the same as other
  // platforms. For video codec supported by v4l2 (e.g. h264), it's still
  // accelerated by hardware. Video will be rendererd on graphics plane.
  DEFAULT_RENDERER = 0,

  // Enables Mojo Renderer (MojoRenderer) for media playback.
  // On Chromecast, CMA renderer is enabled here.
  MOJO_RENDERER = 1,

  // Enables RemotingRenderer for playing remoting media in
  // blink::WebMediaPlayer.
  REMOTING_RENDERER = 2,
};