# LayerFuncs ## **概述** **所属模块:** [Display](_display.md) ## **汇总** ## Public 属性
( InitDisplay )(uint32_t devId) |
初始化显示设备。 更多... |
( DeinitDisplay )(uint32_t devId) |
取消初始化显示设备。 更多... |
( GetDisplayInfo )(uint32_t devId, DisplayInfo *dispInfo) |
获取显示设备相关信息。 更多... |
( CreateLayer )(uint32_t devId, const LayerInfo *layerInfo, uint32_t *layerId) |
打开图层。 更多... |
( CloseLayer )(uint32_t devId, uint32_t layerId) |
关闭图层。 更多... |
( SetLayerVisible )(uint32_t devId, uint32_t layerId, bool visible) |
设置图层是否可见。 更多... |
( GetLayerVisibleState )(uint32_t devId, uint32_t layerId, bool *visible) |
获取图层是否可见状态。 更多... |
( SetLayerSize )(uint32_t devId, uint32_t layerId, IRect *rect) |
设置图层大小。 更多... |
( GetLayerSize )(uint32_t devId, uint32_t layerId, IRect *rect) |
获取图层大小。 更多... |
( SetLayerCrop )(uint32_t devId, uint32_t layerId, IRect *rect) |
设置图层裁剪区域。 更多... |
( SetLayerZorder )(uint32_t devId, uint32_t layerId, uint32_t zorder) |
设置图层Z轴次序。 更多... |
( GetLayerZorder )(uint32_t devId, uint32_t layerId, uint32_t *zorder) |
获取图层Z轴次序。 更多... |
( SetLayerPreMulti )(uint32_t devId, uint32_t layerId, bool preMul) |
设置图层预乘。 更多... |
( GetLayerPreMulti )(uint32_t devId, uint32_t layerId, bool *preMul) |
获取图层预乘标识。 更多... |
( SetLayerAlpha )(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) |
设置图层alpha值。 更多... |
( GetLayerAlpha )(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) |
获取图层alpha值。 更多... |
( SetLayerColorKey )(uint32_t devId, uint32_t layerId, bool enable, uint32_t key) |
设置图层colorkey属性,在图层叠加时使用。 更多... |
( GetLayerColorKey )(uint32_t devId, uint32_t layerId, bool *enable, uint32_t *key) |
获取图层colorkey。 更多... |
( SetLayerPalette )(uint32_t devId, uint32_t layerId, uint32_t *palette, uint32_t len) |
设置图层调色板。 更多... |
( GetLayerPalette )(uint32_t devId, uint32_t layerId, uint32_t *palette, uint32_t len) |
获取图层调色板。 更多... |
( SetTransformMode )(uint32_t devId, uint32_t layerId, TransformType type) |
设置图层变换模式,根据不同的场景设置图层的旋转、缩放、移位等。 更多... |
( SetLayerCompression )(uint32_t devId, uint32_t layerId, int32_t compType) |
设置图层压缩功能 更多... |
( GetLayerCompression )(uint32_t devId, uint32_t layerId, int32_t *compType) |
获取图层压缩功能是否打开。 更多... |
( SetLayerDirtyRegion )(uint32_t devId, uint32_t layerId, IRect *region) |
设置图层刷新区域。 更多... |
( GetLayerBuffer )(uint32_t devId, uint32_t layerId, LayerBuffer *buffer) |
获取图层的buffer。 更多... |
( Flush )(uint32_t devId, uint32_t layerId, LayerBuffer *buffer) |
刷新图层。 更多... |
( WaitForVBlank )(uint32_t devId, uint32_t layerId, int32_t timeOut) |
实现等待帧消隐期到来功能。 更多... |
( SnapShot )(uint32_t devId, LayerBuffer *buffer) |
实现抓图功能。 更多... |
( SetLayerVisibleRegion )(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) |
设置一个图层的可见区域 更多... |
( SetLayerBuffer )(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) |
设置一个层的缓冲区。 更多... |
( InvokeLayerCmd )(uint32_t devId, uint32_t layerId, uint32_t cmd,...) |
扩展接口 更多... |
( SetLayerCompositionType )(uint32_t devId, uint32_t layerId, CompositionType type) |
设置客户端期望的组合类型 更多... |
( SetLayerBlendType )(uint32_t devId, uint32_t layerId, BlendType type) |
设置混合类型 更多... |
( SetLayerColorTransform )(uint32_t devId, uint32_t layerId, const float *matrix) |
设置图层当前的颜色转换矩阵。 更多... |
( SetLayerColorDataSpace )(uint32_t devId, uint32_t layerId, ColorDataSpace colorSpace) |
设置图层的颜色数据空间。 更多... |
( GetLayerColorDataSpace )(uint32_t devId, uint32_t layerId, ColorDataSpace *colorSpace) |
获取图层当前的颜色数据空间。 更多... |
( SetLayerMetaData )(uint32_t devId, uint32_t layerId, uint32_t num, const HDRMetaData *metaData) |
设置图层的HDRmetaData。 更多... |
( SetLayerMetaDataSet )(uint32_t devId, uint32_t layerId, HDRMetadataKey key, uint32_t num, const uint8_t *metaData) |
设置图层的metaData set。 更多... |
( GetSupportedPresentTimestamp )(uint32_t devId, uint32_t layerId, PresentTimestampType *type) |
获取图层支持的上屏时间戳类型。 更多... |
( GetHwPresentTimestamp )(uint32_t devId, uint32_t layerId, PresentTimestamp *pts) |
获取图层的上屏时间戳信息。 更多... |
( SetLayerTunnelHandle )(uint32_t devId, uint32_t layerId, ExtDataHandle *handle) |
设置图层的tunnel句柄。 更多... |
( GetLayerReleaseFence )(uint32_t devId, uint32_t layerId, int32_t *fence) |
获取图层的同步栅栏。 更多... |
输入参数,指定rect的计数,该区域包含多个 IRect,num表示该区域中有多少个rect区域。 |
|