Bug 106672 - [Texmap][GTK] The poster-circle doesn't appear.
Summary: [Texmap][GTK] The poster-circle doesn't appear.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 107629
  Show dependency treegraph
 
Reported: 2013-01-11 09:48 PST by ChangSeok Oh
Modified: 2013-01-22 21:59 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.79 KB, patch)
2013-01-11 10:09 PST, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Patch (5.56 KB, patch)
2013-01-15 12:13 PST, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Patch (5.55 KB, patch)
2013-01-16 09:05 PST, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Patch (5.56 KB, patch)
2013-01-16 10:58 PST, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Patch (5.52 KB, patch)
2013-01-21 03:23 PST, ChangSeok Oh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2013-01-11 09:48:55 PST
The poster-circle animation isn't shown before resizing the window.
Visit http://www.webkit.org/blog-files/3d-transforms/poster-circle.html
I checked this issue is still there to WebKit 1, 2 using texturemapper AC for gtk port.
Comment 1 ChangSeok Oh 2013-01-11 10:09:03 PST
Created attachment 182360 [details]
Patch
Comment 2 Noam Rosenthal 2013-01-13 07:28:21 PST
Comment on attachment 182360 [details]
Patch

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

> Source/WebCore/ChangeLog:11
> +        No new tests. Covered by existing tests.

Which existing test covers it?
I think we should add a new test for this or the regression would come back.
Comment 3 ChangSeok Oh 2013-01-15 12:13:38 PST
Created attachment 182823 [details]
Patch
Comment 4 WebKit Review Bot 2013-01-15 12:15:59 PST
Attachment 182823 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/comp..." exit_code: 1
LayoutTests/compositing/visibility/visibility-composited-animation-expected.png:0:  Have to enable auto props in the subversion config file (/home/alancutter/.subversion/config "enable-auto-props = yes"). Have to set the svn:mime-type in the subversion config file (/home/alancutter/.subversion/config "*.png = svn:mime-type=image/png").  [image/png] [5]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 ChangSeok Oh 2013-01-15 12:22:48 PST
Comment on attachment 182360 [details]
Patch

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

>> Source/WebCore/ChangeLog:11
>> +        No new tests. Covered by existing tests.
> 
> Which existing test covers it?
> I think we should add a new test for this or the regression would come back.

Yeah.. I didn't realize there wasn't a proper test for this bug since current gtk port has disabled compositing tests..
Let me include a pixel test for this.
Comment 6 ChangSeok Oh 2013-01-15 12:34:44 PST
(In reply to comment #4)
> Attachment 182823 [details] did not pass style-queue:
> 
> Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/comp..." exit_code: 1
> LayoutTests/compositing/visibility/visibility-composited-animation-expected.png:0:  Have to enable auto props in the subversion config file (/home/alancutter/.subversion/config "enable-auto-props = yes"). Have to set the svn:mime-type in the subversion config file (/home/alancutter/.subversion/config "*.png = svn:mime-type=image/png").  [image/png] [5]
> Total errors found: 1 in 6 files

Maybe false alarm? It seems related with system environment setup.. :( 
Or is there any special way to include png files?
Comment 7 WebKit Review Bot 2013-01-15 13:00:52 PST
Comment on attachment 182823 [details]
Patch

Attachment 182823 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/15905050

New failing tests:
inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html
Comment 8 ChangSeok Oh 2013-01-16 09:05:48 PST
Created attachment 182995 [details]
Patch
Comment 9 WebKit Review Bot 2013-01-16 09:08:01 PST
Attachment 182995 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/comp..." exit_code: 1
LayoutTests/compositing/visibility/visibility-composited-animation-expected.png:0:  Have to enable auto props in the subversion config file (/home/alancutter/.subversion/config "enable-auto-props = yes"). Have to set the svn:mime-type in the subversion config file (/home/alancutter/.subversion/config "*.png = svn:mime-type=image/png").  [image/png] [5]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 10 Noam Rosenthal 2013-01-16 09:10:23 PST
Comment on attachment 182995 [details]
Patch

I don't understand what this test does, and how it relates to the DrawsContent flag.
Comment 11 ChangSeok Oh 2013-01-16 09:41:07 PST
(In reply to comment #10)
> (From update of attachment 182995 [details])
> I don't understand what this test does, and how it relates to the DrawsContent flag.

If you run the attached test, you can see nothing drawn on webkit with texturemapper.
The rotating blue rectangle should be drawn on a separated GraphicsLayer since it has an animation property. Even though a GraphicsLayer is created for it and layer tree is structured successfully, the layer doesn't appear on screen. Because it doesn't have a change to call setNeedsDisplay for the layer. For these reason, we should call setNeedsDisplay for the layer(having animation) in proper somewhere.
As my investigation. mac port and gtk port with clutter ac work fine for this test. because I think they are call setNeedsDisplay when the drawContent value is changed.

The test verifies that the layer (rotating blue rectangle in the test case)  is actually drawn on window by comparing with the expected png result.
Comment 12 ChangSeok Oh 2013-01-16 10:05:42 PST
Comment on attachment 182995 [details]
Patch

Need a trivial tweak.
Comment 13 ChangSeok Oh 2013-01-16 10:58:47 PST
Created attachment 183008 [details]
Patch
Comment 14 ChangSeok Oh 2013-01-20 23:42:44 PST
@Noam
Any concern makes you hesitate to review this? :)
Comment 15 Noam Rosenthal 2013-01-20 23:47:05 PST
Comment on attachment 183008 [details]
Patch

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

> Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:391
> +    if (changeMask & DrawsContentChange && graphicsLayer->drawsContent())

Please add parantheses,
if ((changeMask & DrawsContentChange) && graphicsLayer->drawsContent())
Comment 16 ChangSeok Oh 2013-01-21 03:23:21 PST
Created attachment 183745 [details]
Patch
Comment 17 ChangSeok Oh 2013-01-21 03:24:38 PST
Comment on attachment 183008 [details]
Patch

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

>> Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:391
>> +    if (changeMask & DrawsContentChange && graphicsLayer->drawsContent())
> 
> Please add parantheses,
> if ((changeMask & DrawsContentChange) && graphicsLayer->drawsContent())

Done. Thanks!
Comment 18 WebKit Review Bot 2013-01-21 03:26:31 PST
Attachment 183745 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/comp..." exit_code: 1
LayoutTests/compositing/visibility/visibility-composited-animation-expected.png:0:  Have to enable auto props in the subversion config file (/home/alancutter/.subversion/config "enable-auto-props = yes"). Have to set the svn:mime-type in the subversion config file (/home/alancutter/.subversion/config "*.png = svn:mime-type=image/png").  [image/png] [5]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 19 WebKit Review Bot 2013-01-21 11:17:57 PST
Comment on attachment 183745 [details]
Patch

Clearing flags on attachment: 183745

Committed r140347: <http://trac.webkit.org/changeset/140347>
Comment 20 WebKit Review Bot 2013-01-21 11:18:02 PST
All reviewed patches have been landed.  Closing bug.