LoginSignup
8
2

More than 1 year has passed since last update.

SurfaceViewとTextureViewの違いを表にまとめる

Posted at

良くごっちゃになるので以下のブログの内容をまとめておきます。

SurfaceView TextureView
Google推奨 ⭕推奨 ❌ API 24以下でアニメーションしたいときなど特定のシナリオで推奨
仕組み Viewの中で穴を開けておいて、その部分位置で直接画面に描画する Viewとして描画する。一度アプリケーションのレイヤーに画像をコピーする
効率的・バッテリー消費の少なさ ⭕ (アプリ描画を通さないので効率的) ❌ (コピーするので非効率)
DRM
10-bit HDR
API Level 1 14
透明度の設定、回転、クリッピング
アニメーション ⭕ (API Level 24までは❌)
8
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
2