[Webkit-unassigned] [Bug 144503] New: Web Inspector: Timeline: Differentiate between CPU and GPU paint
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 1 15:27:40 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144503
Bug ID: 144503
Summary: Web Inspector: Timeline: Differentiate between CPU and
GPU paint
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tobi+bugzilla at basecode.de
CC: graouts at webkit.org, joepeck at webkit.org,
jonowells at apple.com, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
As a user I want to debug the frames of an animation (e.g. CSS Animations) and see if the frame was rendered mostly on the CPU (bad) or on the GPU (good). A user could immediately see if a CSS Property can be rendered efficiently.
## I'd expect a well prepared CSS Animation of a scaling Ball that only uses Transform to mostly be processed on the GPU. Considering the animation contains of 4 frames:
Frame 1:
[ ] Layout x ms
[ ] Paint (CPU) 10 ms (=> Paint the ball into a Bitmap, send Bitmap and Animation instructions to the Compositor Thread)
[ ] Paint (GPU) 10 ms (=> Upload the Bitmap to GPU and draw to Screen)
Frame 2:
[ ] Paint (GPU) 03 ms (=> Draw Bitmap from GPU memory to screen with scaling 0.5)
Frame 3:
[ ] Paint (GPU) 03 ms (=> Draw Bitmap from GPU memory to screen with scaling 0.6)
Frame 4:
[ ] Paint (GPU) 03 ms (=> Draw Bitmap from GPU memory to screen with scaling 0.7)
## Now I prepare an CSS Animation of a Ball where I change the color from green to blue. The Frames are mostly expected to be processed on the CPU.
Frame 1:
[ ] Layout x ms
[ ] Paint (CPU) 10 ms (=> Paint the ball with 100% green into a Bitmap, send Bitmap to the Compositor Thread)
[ ] Paint (GPU) 10 ms (=> Upload the Bitmap to GPU and draw to Screen)
Frame 2:
[ ] Paint (CPU) 10 ms (=> Paint the ball with 65% green and 35% blue into a Bitmap, send Bitmap to the Compositor Thread)
[ ] Paint (GPU) 10 ms (=> Upload the Bitmap to GPU and draw to Screen)
Frame 3:
[ ] Paint (CPU) 10 ms (=> Paint the ball with 35% green and 65% blue into a Bitmap, send Bitmap to the Compositor Thread)
[ ] Paint (GPU) 10 ms (=> Upload the Bitmap to GPU and draw to Screen)
Frame 4:
[ ] Paint (CPU) 10 ms (=> Paint the ball with 100% blue into a Bitmap, send Bitmap to the Compositor Thread)
[ ] Paint (GPU) 10 ms (=> Upload the Bitmap to GPU and draw to Screen)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150501/2261a758/attachment-0001.html>
More information about the webkit-unassigned
mailing list