Bug 77375 - (seemingly) Unecessary repainting activity during layer animation
Summary: (seemingly) Unecessary repainting activity during layer animation
Status: RESOLVED DUPLICATE of bug 78020
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 15:18 PST by Nat Duca
Modified: 2012-02-15 14:47 PST (History)
5 users (show)

See Also:


Attachments
Test case that repaints during animation (1.29 KB, text/html)
2012-01-30 15:19 PST, Nat Duca
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nat Duca 2012-01-30 15:18:42 PST
See attached example. I haven't studied it in detail, but it seems that when the div is half-outside the viewport, we have to repaint. The repaints themselves are light, but the texture uploads they cause are not.
Comment 1 Nat Duca 2012-01-30 15:19:14 PST
Created attachment 124612 [details]
Test case that repaints during animation
Comment 2 David Reveman 2012-02-07 15:03:24 PST

*** This bug has been marked as a duplicate of bug 78020 ***
Comment 3 Nat Duca 2012-02-09 06:55:19 PST
Based on this, I think we should add some TRACE macros to the compositor when texture eviction occurs so we can tell the difference between invalidation-driven repainting and cache-driven repainting. David, can you do a quick patch for that?
Comment 4 David Reveman 2012-02-09 08:49:14 PST
(In reply to comment #3)
> Based on this, I think we should add some TRACE macros to the compositor when texture eviction occurs so we can tell the difference between invalidation-driven repainting and cache-driven repainting. David, can you do a quick patch for that?

Sure! Should we just make eviction show up in the traces or should we try to make paint show up differently in traces as a result eviction compared to invalidation?
Comment 5 Nat Duca 2012-02-15 14:47:02 PST
(In reply to comment #4)
> Sure! Should we just make eviction show up in the traces or should we try to make paint show up differently in traces as a result eviction compared to invalidation?

Lets just get the eviction to show up. Its better than nothing. :)