Bug 75882

Summary: [Qt][WK2] Directly-composited images sometimes appear with a wrong geometry
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hausmann, kenneth, webkit.review.bot, zoltan
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 75918    
Attachments:
Description Flags
Patch
hausmann: review+
Patch
none
Patch 1: minor improvements to TextureMapperNode
none
Patch 1: minor improvements to TextureMapperNode none

Description Noam Rosenthal 2012-01-09 12:22:13 PST
See LayoutTests/compositing/images/direct-image-compositing.html. Some of the images appear too large.
Comment 1 Noam Rosenthal 2012-01-09 12:26:46 PST
Created attachment 121711 [details]
Patch
Comment 2 Simon Hausmann 2012-01-11 06:30:03 PST
Comment on attachment 121711 [details]
Patch

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

r=me but I think you should also remove the comment before landing.

> Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:421
> -    m_layerInfo.drawsContent = drawsContent() || m_image;
> +    m_layerInfo.drawsContent = drawsContent();

Ahah, now I see why you removed the comment in the other patch. It seems that the comment removal should be taken from the other patch and moved over here ;)
Comment 3 Noam Rosenthal 2012-01-11 06:35:08 PST
(In reply to comment #2)
> (From update of attachment 121711 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=121711&action=review
> 
> r=me but I think you should also remove the comment before landing.
> 
> > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:421
> > -    m_layerInfo.drawsContent = drawsContent() || m_image;
> > +    m_layerInfo.drawsContent = drawsContent();
> 
> Ahah, now I see why you removed the comment in the other patch. It seems that the comment removal should be taken from the other patch and moved over here ;)

Yes, exactly. I kind-of applied them on top of each other :) I'll put the comment removal here.
Comment 4 Noam Rosenthal 2012-01-11 09:21:16 PST
Created attachment 122039 [details]
Patch
Comment 5 WebKit Review Bot 2012-01-11 10:07:13 PST
Comment on attachment 122039 [details]
Patch

Clearing flags on attachment: 122039

Committed r104720: <http://trac.webkit.org/changeset/104720>
Comment 6 WebKit Review Bot 2012-01-11 10:07:19 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Noam Rosenthal 2012-01-11 16:20:28 PST
Created attachment 122121 [details]
Patch 1: minor improvements to TextureMapperNode
Comment 8 Noam Rosenthal 2012-01-11 16:22:22 PST
Created attachment 122122 [details]
Patch 1: minor improvements to TextureMapperNode
Comment 9 Noam Rosenthal 2012-01-11 16:26:32 PST
Comment on attachment 122122 [details]
Patch 1: minor improvements to TextureMapperNode

Submitted patch in wrong bug...