Bug 151475

Summary: Back-buffer to front-buffer copy fails for some buffer formats
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+, thorton: commit-queue-

Description Simon Fraser (smfr) 2015-11-19 19:19:15 PST
Back-buffer to front-buffer copy fails for some buffer formats
Comment 1 Simon Fraser (smfr) 2015-11-19 19:25:58 PST
Created attachment 265929 [details]
Patch
Comment 2 Tim Horton 2015-11-19 19:29:15 PST
Comment on attachment 265929 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=265929&action=review

> Source/WebKit2/Shared/mac/RemoteLayerBackingStore.mm:339
> +    if (m_isOpaque)

Fill after the back buffer copy???
Comment 3 Tim Horton 2015-11-19 19:38:22 PST
No CQ, it doesn't build. Also, it seems to me like the fill is in the wrong place and opaque layers will be very red when repainted in debug builds.
Comment 4 Simon Fraser (smfr) 2015-11-20 11:15:20 PST
Comment on attachment 265929 [details]
Patch

Tim really meant r-
Comment 5 Tim Horton 2015-11-20 11:46:10 PST
The problems weren't really big enough for that :D
Comment 6 Simon Fraser (smfr) 2015-11-20 12:07:33 PST
rdar://problem/23617899

https://trac.webkit.org/r192689