WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
89189
[chromium] Compositor should be aware of |flipped| status of video textures per-platform
https://bugs.webkit.org/show_bug.cgi?id=89189
Summary
[chromium] Compositor should be aware of |flipped| status of video textures p...
Ami Fischman
Reported
2012-06-15 01:53:00 PDT
Migrated from
http://code.google.com/p/chromium/issues/detail?id=130106
Today CCVideoLayerImpl::appendQuads assumes all video textures are "not flipped", but the orientation (0-on-top vs. 0-on-bottom) actually varies by VDA implementation, which can be determined by the OS/platform the binary is built for. Set |flipped| accordingly.
Attachments
Patch
(2.03 KB, patch)
2012-06-15 01:54 PDT
,
Ami Fischman
no flags
Details
Formatted Diff
Diff
Patch
(1.98 KB, patch)
2012-06-15 07:56 PDT
,
Ami Fischman
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ami Fischman
Comment 1
2012-06-15 01:54:02 PDT
Created
attachment 147773
[details]
Patch
Dana Jansens
Comment 2
2012-06-15 07:37:43 PDT
Comment on
attachment 147773
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=147773&action=review
LGTM otherwise.
> Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:214 > +#else // OS_CHROMEOS && __ARMEL__
This comment confuses me, the first case is OS_CHROMEOS && __ARMEL__. Isn't this case non-windows and (non-chromeos or non-armel)? Since there's a comment on the flipped var already, maybe this one could just go away?
Ami Fischman
Comment 3
2012-06-15 07:56:42 PDT
Created
attachment 147813
[details]
Patch
Ami Fischman
Comment 4
2012-06-15 07:56:51 PDT
(In reply to
comment #2
)
> (From update of
attachment 147773
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=147773&action=review
> > LGTM otherwise. > > > Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:214 > > +#else // OS_CHROMEOS && __ARMEL__ > > This comment confuses me, the first case is OS_CHROMEOS && __ARMEL__. Isn't this case non-windows and (non-chromeos or non-armel)? Since there's a comment on the flipped var already, maybe this one could just go away?
Sure; I hate these comments but put them in for style-guide compliance. Gone.
James Robinson
Comment 5
2012-06-15 14:08:14 PDT
Comment on
attachment 147813
[details]
Patch Fun stuff!
WebKit Review Bot
Comment 6
2012-06-15 15:00:44 PDT
Comment on
attachment 147813
[details]
Patch Clearing flags on attachment: 147813 Committed
r120497
: <
http://trac.webkit.org/changeset/120497
>
WebKit Review Bot
Comment 7
2012-06-15 15:00:49 PDT
All reviewed patches have been landed. Closing bug.
Ananta Iyengar
Comment 8
2012-06-25 14:24:57 PDT
The ifdef for the win32 platform in the CCVideoLayerImpl::appendQuads function is wrong.
James Robinson
Comment 9
2012-06-25 14:34:32 PDT
Which way do you want the bool set on windows? Before this patch the bool was unconditionally false, this patch (attempted) to make it be true on windows - I'm assuming because somebody (Ami?) thought that DXVA wants it to be true. Are videos upside down?
Ananta Iyengar
Comment 10
2012-06-25 14:37:48 PDT
the bool for windows should be true. I will upload a change fixing the ifdef in a bit.
James Robinson
Comment 11
2012-06-25 14:42:14 PDT
OK great. Please open a new bug and attach the patch to that ("Tools/Scripts/webkit-patch upload" will automate this process for you).
Changbin Shao
Comment 12
2012-07-12 19:40:00 PDT
I have made a test, the bool should be false for Windows(Sandy Bridge). Is this patch updated by yet? (In reply to
comment #10
)
> the bool for windows should be true. I will upload a change fixing the ifdef in a bit.
Ananta Iyengar
Comment 13
2012-07-17 18:15:47 PDT
The elif defined(OS_WINDOWS) was wrong in that CL. For webkit we need to use OS(WINDOWS)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug