By Gwang Yoon Hwang.
Slides at http://blog.ryumiel.net/deview2015
GPU Accelerated Compositing이 웹엔진에 적용된지는 여러 해가 지났습니다. 그럼에도 불구하고, 이 기술은 완성된 것이 아니며, 개선되어야 할 부분이 많습니다.
이 세션에서 우리는 현재 구현된 Accelerated Compositing들을 간략히 살펴볼 것입니다. 그리고 현재 WebKitGTK+/EFL에서 사용되는 Coordinated Graphics의 현재 상황과 앞으로의 개발 방향을 이야기할 것입니다. 또한 GPU 가속이 적용되는 WebGL, HTML5 2D Canvas 그리고 HTML5 Video를 compositing할 때 성능향상을 위한 zero-copy platform layer compositing에 대하여 이야기하고자 합니다.
2. WHOAMI?WHOAMI?
Gwang Yoon Hwang
Hacker in Igalia, S. L.
Working on WebKit/Chromium Project
Focused on the rendering performance in embedded environment
DEVIEW 2015
4. If we have a single backing store, we need to redraw almost everything for each frame
If green and red have their own backing stores, then nothing needs "re-rasterizing"
while this example animates.
DEVIEW 2015
10. ACCELERATECOMPOSITINGACCELERATECOMPOSITING
Do not have to re-rasterize entire page for each animated frame
Rasterization is expensive operation
Composite page layers on the GPU can achieve far better e�ciency than the CPU
GPU is specialized to handle large number of pixels
Provide more e�cent/practical ways to support features
Scrolling, 3D CSS, opacity, �lters, WebGL, hardware video decoding, etc.
DEVIEW 2015
31. CROSSPROCESSSHAREABLEGLSURFACECROSSPROCESSSHAREABLEGLSURFACE
Texture is not shareable across processes
X Windows System
Allocate memory in the X server via pixmap or o�screen window
The rendered texture should be copied to a cross-process-sharable GL surface
Needs cross process synchronization between updates
No standards
DEVIEW 2015