Summary: | [Chromium] videos are not painted for compositing/ tests | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mihai Parparita <mihaip> | ||||
Component: | Layout and Rendering | Assignee: | Victoria Kirst <vrk> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, kbr, vangelis, vrk | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 55269 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Mihai Parparita
2011-02-17 15:46:42 PST
Victoria, these are the tests that I was talking about in the testing meeting. The expected result is to have a video in the clipped rectangle: http://svn.webkit.org/repository/webkit/trunk/LayoutTests/platform/mac/compositing/geometry/clipped-video-controller-expected.png But though we do get pixel results, the video is not displayed: http://build.chromium.org/f/chromium/layout_test_results/Webkit_Win_-_GPU/results/layout-test-results/compositing/geometry/clipped-video-controller-actual.png The dashboard has results from the other bots: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&group=%40ToT%20GPU%20-%20chromium.org&tests=compositing%2Fgeometry%2Fclipped-video-controller.html Hi Mihai! I am having a similar problem with some of our media tests. I am imagining they are the same problem. Once I figure out what's going on in media land, I will see if the same thing is happening here. OK, figured out the problem. VideoLayerChromium uses mapTexSubImage2DCHROMIUM to update textures and that is not supported in MESA it seems (or it fails anyway). There is a TODO to have an appropriate fall back when this fails, but TODO wasn't implemented :) But if I fall back to normal texSubImage2D, videos are painted with DRT and Mesa! I'll upload that patch and rebaselined images. Created attachment 84311 [details]
Patch
Comment on attachment 84311 [details]
Patch
Looks good to me.
Comment on attachment 84311 [details] Patch Clearing flags on attachment: 84311 Committed r80091: <http://trac.webkit.org/changeset/80091> All reviewed patches have been landed. Closing bug. |