From e0694e03026f8dcff9617bbb00c2793b2395a9bf Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Wed, 11 Nov 2020 19:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B5=84=E6=96=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../R-Car_Gen3/32_Video_Signal_Processor(VSP2).md | 2 +- .../Applications/Weston/Layer_与_Surface_管理.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Software/Applications/Weston/Layer_与_Surface_管理.md diff --git a/Documents/Translate/ReferenceManual/Renesas/SOC/R-Car_Gen3/32_Video_Signal_Processor(VSP2).md b/Documents/Translate/ReferenceManual/Renesas/SOC/R-Car_Gen3/32_Video_Signal_Processor(VSP2).md index e453e99..656452c 100644 --- a/Documents/Translate/ReferenceManual/Renesas/SOC/R-Car_Gen3/32_Video_Signal_Processor(VSP2).md +++ b/Documents/Translate/ReferenceManual/Renesas/SOC/R-Car_Gen3/32_Video_Signal_Processor(VSP2).md @@ -54,4 +54,4 @@ VSP2 提供了 Display List 功能。使用 Display List 功能的情况下,VS **图 32.64 Comparison of VSP2 Operation between Normal Register Settings and Display Lists.** -如图 32.64(A) 所示, +如图 32.64(A) 所示,普通寄存器操作的情况下,在 VSP2 处理每一帧之前都需要对相关寄存器进行设置。当 VSP2 处理结束后,产生一次 Frame End Interrupt(VI6_WPFn_IRQ_STA.FRE)。该方法在连续两个帧处理之间需要有 CPU 的参与来完成寄存器设定和中断处理,因此需要一些额外的时间开销。与此相反的是,在图 32.64(B) 和 32.64(C) 中使用 Display List 的情况下,VSP2 自动从外部存储器中下载寄存器设定,帧与帧之间的寄存器设定不再需要 CPU 参与。 diff --git a/Software/Applications/Weston/Layer_与_Surface_管理.md b/Software/Applications/Weston/Layer_与_Surface_管理.md new file mode 100644 index 0000000..3e6089e --- /dev/null +++ b/Software/Applications/Weston/Layer_与_Surface_管理.md @@ -0,0 +1,15 @@ +# Layer 与 Surface 管理 + +LayerManagerControl create layer 1000 1920 1080 +LayerManagerControl set layer 1000 source region 0 0 1920 1080 +LayerManagerControl set layer 1000 destination region 0 0 1920 1080 +LayerManagerControl set layer 1000 visibility 1 + +LayerManagerControl set screen 0 render order 1000 +LayerManagerControl set surface 2000 source region 0 0 1920 1080 +LayerManagerControl set surface 2000 destination region 0 0 1920 1080 +LayerManagerControl set layer 1000 render order 2000 +LayerManagerControl set surface 2000 visibility 1 + +LayerManagerControl get layers +LayerManagerControl get surfaces