栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Android S:SurfaceFlinger之SurfaceControl.java的用途

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Android S:SurfaceFlinger之SurfaceControl.java的用途

Handle to an on-screen Surface managed by the system compositor.
SurfaceControl是一个句柄,该句柄是指向由系统合成器管理的屏幕上Surface。

The SurfaceControl is a combination of a buffer source, and metadata about how to display the buffers.
SurfaceControl是缓冲区源和有关如何显示缓冲区的元数据的组合。

By constructing a {@link Surface} from this SurfaceControl you can submit buffers to be composited.
通过从此SurfaceControl构建{@link Surface},可以提交要合成的缓冲区。

Using {@link SurfaceControl.Transaction} you can manipulate various properties of how the buffer will be displayed on-screen.
使用{@link SurfaceControl.Transaction}可以处理缓冲区在屏幕上显示方式的各种属性。

SurfaceControl’s are arranged into a scene-graph like hierarchy, and as such any SurfaceControl may have a parent.
SurfaceControl被安排成类似场景图的层次结构,因此,任何SurfaceControl都可能有父对象。

Geometric properties like transform, crop, and Z-ordering will be inherited from the parent,
几何特性(如变换、裁剪和Z顺序)将从父对象继承,
as if the child were content in the parents buffer stream.
就好像子对象是父缓存流中的内容一样。

77  
87  public final class SurfaceControl implements Parcelable {
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/571657.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号