-
Notifications
You must be signed in to change notification settings - Fork 211
[Tizen] Fixed screen displayed abnormally when playing some size of html5 mp4 videos. #166
Conversation
Testing patch series with e9f3668 as its head.
|
Testing patch series with 795f568 as its head.
|
@halton , please help me to review when you are free. Thanks alot. |
Some nit suggestions on git log, I would like
|
|
||
unsigned int al = 4 * size_.width(); // Alignment length. | ||
if (al != va_image_.pitches[0]) { // Check RGBA data alignment. | ||
unsigned char* bhandle = (unsigned char*)buffer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use static_cast
in C++
|
Testing patch series with cfe6b18 as its head.
|
So my concern is why we need handle that corrupted clip, while other player does not. |
They did in pixmap or some part of space, once not alignment frame while decoding. |
Testing patch series with 0955d0a as its head.
|
|
||
unsigned int al = 4 * size_.width(); // Alignment length. | ||
if (al != va_image_.pitches[0]) { // Re-Check RGBA data alignment. | ||
unsigned char *bhandle = static_cast<unsigned char *>(buffer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit comment, unsigned char*
-> unsigned char*
to follow the chromium coding style.
And the comment is suggested as whole before this code block, why and how to fix.
html5 mp4 videos. Such not aligned phenomenon occurs only in special size video in None-X11. So fix it by re-check and re-aligne HW decoded frame RGBA data. BUG=XWALK-1781 (https://crosswalk-project.org/jira/browse/XWALK-1781)
Testing patch series with 29e684f as its head.
|
for (int i = 0; i < size_.height(); i++) { // Realign filled video frame. | ||
memcpy(bhandle + (i * al), bhandle + (i * (va_image_.pitches[0])), al); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that I'm not so clear last time. I meant the comment at end is kind of strange, I'd suggest comment them as whole para before the code block.
Testing patch series with 3c60cf0 as its head.
|
lgtm. |
[Tizen] Fixed screen displayed abnormally when playing some size of html5 mp4 videos.
… videos This patch is cherry picked from Qing's PR crosswalk-project/chromium-crosswalk#166 Bug = XWALK-2265
… videos This patch is cherry picked from Qing's PR crosswalk-project/chromium-crosswalk#166 Bug = XWALK-2265
… videos This patch is cherry picked from Qing's PR crosswalk-project/chromium-crosswalk#166 Bug = XWALK-2265
… videos This patch is cherry picked from Qing's PR crosswalk-project/chromium-crosswalk#166 Bug = XWALK-2265
BUG= Review URL: https://codereview.chromium.org/503743002 Cr-Commit-Position: refs/heads/master@{#291877} (cherry picked from commit fe6080f) Review URL: https://codereview.chromium.org/521813004 Cr-Commit-Position: refs/branch-heads/2125@{#166} Cr-Branched-From: b68026d-refs/heads/master@{#290040}
s/getActionBar/getSupportActionBar in Desktop.java which uses ActionBarActivity from the support library. BUG=423875 Review URL: https://codereview.chromium.org/655243004 Cr-Commit-Position: refs/heads/master@{#299827} (cherry picked from commit 5b154b8) Review URL: https://codereview.chromium.org/655383004 Cr-Commit-Position: refs/branch-heads/2171@{#166} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…nsManager. As in the UsbEventRouter the UsbService must be observed from the FILE thread (until bug 427985 is resolved, which will be soon). This change fixes a DCHECK(CalledOnValidThread()) in UsbService::AddObserver when permission to access an ephemeral (no serial number) device is added and the DevicePermissionsManager starts listening for disconnection of that device. BUG=452652 NOTRY=true Review URL: https://codereview.chromium.org/882813002 (cherry-picked from commit 897bbc2) Cr-Commit-Position: refs/heads/master@{#313548} Review URL: https://codereview.chromium.org/872313004 Cr-Commit-Position: refs/branch-heads/2272@{#166} Cr-Branched-From: 827a380-refs/heads/master@{#310958}
…registration page This requires a few changes to how we evaluate pages during the saving process. 1) Instead of ignoring forms where there are more than 3 password fields, assume that those fields are not related to actual passwords. Also change the case of 3 passwords to assume that if the first and second password match, that the third is not related. I don't have statistics on this, but I have seen security questions that are entered into password fields much more often than I have seen a new password entered before and old password (which was the previous assumption). 2) Move change password detection to work on the submitted password form instead of the observed form. The submitted form is more likely to be identified correctly because we have additional data after submission. This failed on Macy's because we incorrectly assume that, given the number of password fields, one of them is a current password field during parsing. 3) Don't require HTML field attributes to match for signup forms. This is normally required because otherwise we can't fill the password we have just saved. However in the case of signup forms this doesn't matter because we don't want to fill on the same form again anyway. BUG=452306, 451631 Review URL: https://codereview.chromium.org/944163003 Cr-Commit-Position: refs/heads/master@{#318850} (cherry picked from commit 33138a0) Review URL: https://codereview.chromium.org/978363004 Cr-Commit-Position: refs/branch-heads/2311@{#166} Cr-Branched-From: 09b7de5-refs/heads/master@{#317474}
BUG=473283 [email protected] NOTRY=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1051273006 Cr-Commit-Position: refs/heads/master@{#323915} (cherry picked from commit 82ad942) Review URL: https://codereview.chromium.org/1075963003 Cr-Commit-Position: refs/branch-heads/2357@{#166} Cr-Branched-From: 59d4494-refs/heads/master@{#323860}
…he top. We have to ensure that the task manager by default (without any sorting) shows the browser process task at the top of the list. This CL also makes the RendererTasks match the old task manager behavior by showing zeros for their network usage instead of N/As even when no network bytes have been reported for them. [email protected] BUG=523992 Review URL: https://codereview.chromium.org/1322043003 Cr-Commit-Position: refs/heads/master@{#346950} (cherry picked from commit 5a3948d) Review URL: https://codereview.chromium.org/1310363005 . Cr-Commit-Position: refs/branch-heads/2490@{#166} Cr-Branched-From: 7790a35-refs/heads/master@{#344925}
…ed for deletion This patch fixes the problems caused by: * HasOfflinePages * GetPageByBookmarkId * GetPageByOfflineURL * GetPageByOnlineURL All of which allow for access to the offline page that is marked for deletion, which means there is no valid bookmark corresponding to them. This leads to crashes in the bookmark UI, as well as exposing functionality that should not work. BUG=560424 Review URL: https://codereview.chromium.org/1475883003 Cr-Commit-Position: refs/heads/master@{#361746} (cherry picked from commit 1a6c2e1) Review URL: https://codereview.chromium.org/1487913002 . Cr-Commit-Position: refs/branch-heads/2564@{#166} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
…terator. BUG=581517 [email protected] Review URL: https://codereview.chromium.org/1642663003 . Cr-Commit-Position: refs/heads/master@{#371837} (cherry picked from commit 0c97b34) Review URL: https://codereview.chromium.org/1644693002 . Cr-Commit-Position: refs/branch-heads/2623@{#166} Cr-Branched-From: 92d7753-refs/heads/master@{#369907}
…set #1 id:1 of https://codereview.chromium.org/1782563002/ ) Reason for revert: Merged incorrectly. Will revert for now and remerge. Original issue's description: > Takeover MT initiated animations from the compositor > > This is a followup CL to https://crrev.com/1734063003/. It finishes a > MT initiated animation running on the compositor, on the MT. > > BUG=581875 > > Review URL: https://codereview.chromium.org/1770443002 > > Cr-Commit-Position: refs/heads/master@{#379868} > (cherry picked from commit d0eaee2) TBR= # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=581875 Review URL: https://codereview.chromium.org/1778223002 Cr-Commit-Position: refs/branch-heads/2661@{crosswalk-project#166} Cr-Branched-From: ef6f6ae-refs/heads/master@{#378081}
The code checks that a ContextProvider was able to be found by checking the |gl| field. But if the ContextProvider was created but lost, and GrContext was not created yet, then it will fail to initialize and be null. We should avoid trying to use this context then (and not crash). [email protected] BUG=612087 Review-Url: https://codereview.chromium.org/2003833002 Cr-Commit-Position: refs/heads/master@{#395222} (cherry picked from commit 53f7ec9) Review URL: https://codereview.chromium.org/2025353002 . Cr-Commit-Position: refs/branch-heads/2743@{crosswalk-project#166} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
This reverts commit b0bb3a8. Reason for revert: <INSERT REASONING HERE> Original change's description: > Revert "[Home] Account for incognito in modern tab title" > > This reverts commit 6dd103c. > > Reason for revert: this broke > https://uberchromegw.corp.google.com/i/official.android/builders/official-arm/builds/2411 > with error message: > ../../chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java:128: error: cannot find symbol > if (!DeviceFormFactor.isTablet() && !FeatureUtilities.isChromeHomeModernEnabled()) > > Original change's description: > > [Home] Account for incognito in modern tab title > > > > Titles in Chrome Modern are not always white, incognito still uses a > > dark theme. > > > > BUG=760740 > > [email protected] > > > > (cherry picked from commit fba6588) > > > > Change-Id: I82800234101f3755dcb3214c65942ae82e59b3d9 > > Reviewed-on: https://chromium-review.googlesource.com/651570 > > Reviewed-by: Theresa <[email protected]> > > Commit-Queue: Matthew Jones <[email protected]> > > Cr-Original-Commit-Position: refs/heads/master@{#499781} > > Reviewed-on: https://chromium-review.googlesource.com/661319 > > Reviewed-by: Matthew Jones <[email protected]> > > Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#147} > > Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098} > > [email protected],[email protected] > > Change-Id: I12ab4b52aa3c9f6007f26388cfe14e40b3e90f90 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: 764200,760740 > Reviewed-on: https://chromium-review.googlesource.com/663381 > Reviewed-by: John Mellor <[email protected]> > Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#162} > Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098} [email protected],[email protected],[email protected] Change-Id: I8afb1fdf63fefacf33bba8bde5a9065eac85a295 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 764200, 760740 Reviewed-on: https://chromium-review.googlesource.com/663738 Reviewed-by: Matthew Jones <[email protected]> Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#166} Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}
[Tizen] Fixed screen displayed abnormally when playing some size of html5 mp4 videos.
BUG=XWALK-1781 (https://crosswalk-project.org/jira/browse/XWALK-1781)