Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Fix workaround of https://github.com/otcshare/chromium-crosswalk/pull/49 upstream. #516

Closed
darktears opened this issue Aug 30, 2013 · 16 comments

Comments

@darktears
Copy link
Contributor

crosswalk-project/chromium-crosswalk#49 is way to intrusive, way too big to stay in chromium-crosswalk. The team aimed to reduce the patchset on top of Chromium while rebasing from 28 to 29 by upstreaming some of the patches, this big pull request goes in the opposite direction. It needs to be fixed ASAP by either solving the problem upstream (or by investigating a way to make the patch less intrusive but let's aim for upstream).

The team didn't have time to look in details, we landed this workaround but it needs to be investigated ASAP so we don't stay with it long.

@tmpsantos
Copy link
Contributor

I really hope this get fixed ASAP. With the small set of patches we had before, rebasing into a new version was extremely difficult and time consuming. After this patch things should get way worse.

@ghost ghost assigned sqliu Sep 2, 2013
@yongsheng
Copy link
Contributor

yes, we'll do that.

@sqliu
Copy link
Contributor

sqliu commented Sep 2, 2013

I'll refine the patch.

@jeez
Copy link
Contributor

jeez commented Oct 2, 2013

Any news here? I'm rebasing to chromium v31 and this patch will probably be broken afterwards. It is so intrusive that it is hard to tell if the rebase was correct or not.

This issue was opened a month ago and nothing has been done about this yet?

@sqliu
Copy link
Contributor

sqliu commented Oct 8, 2013

Hi @jeez, I'll re-submit another much simpler patch for fixing this issue.

@jeez
Copy link
Contributor

jeez commented Oct 8, 2013

Thanks for the news, but why don't you consider to submit such patch to upstream instead?

@jeez
Copy link
Contributor

jeez commented Oct 8, 2013

If I got it right from #824 we can now simply take this patch of of the tree... is that right?

@jeez
Copy link
Contributor

jeez commented Oct 8, 2013

And, by the way, if that is the case, for historical reason can someone please elaborate on why we needed that patch before and why we simply don't need it anymore? Thanks!

@sqliu
Copy link
Contributor

sqliu commented Oct 9, 2013

@jeez thanks for reverting the patch.

And crosswalk-project/chromium-crosswalk#67 is the much simpler fix for the rendering issue.

For the upstream, this is not the case that upstream chromium/contentshell will consider (see commit log). So I don't think upstream will accept the fix.

@ininallen
Copy link

This bug has been migrated to JIRA, please track this issue in https://crosswalk-project.org/jira/browse/XWALK-43 . Thanks.

@yongsheng
Copy link
Contributor

since it's not accepted by upstream, is this still p1 bug?
@darktears @baleboy

@baleboy
Copy link
Contributor

baleboy commented Oct 23, 2013

@yongsheng could you point to the comments explaining why this wasn't accepted upstream? I'm not sure which commit logs I should look at. Thanks!

@yongsheng
Copy link
Contributor

@baleboy It's for in process mode rendering. Currently we have a quick solution to fix this and merged in crosswalk-chromium. In upstream, we're tracking it and need a more complex solution. And we agree to track it but I don't think it's a P1(blocking) issue.
@darktears @sqliu

@darktears
Copy link
Contributor Author

If we don't put it P1 it will root like last time. Can we modify the roadmap to add this work needed upstream. I would like to be solved before the next rebase that will happen in few weeks.

@jeez
Copy link
Contributor

jeez commented Oct 23, 2013

UPSTREAM WORK being tracked here: https://codereview.chromium.org/26293006/

(it was hard to find this link, had to look into 2 or 3 pull requests)

We should keep this as a P1 bug. There is already an upstream fix for this that we can cherry-pick as soon as it is landed -> https://codereview.chromium.org/35503004/

I'm glad we have move forward with the upstream work for this, but let's not forget we have only reached this point because we have kept this as a P1 bug and because we have been pushing it since the latest rebase.

@baleboy
Copy link
Contributor

baleboy commented Oct 23, 2013

Putting back to P1 to ensure some closure on this issue. Hopefully we can cherry pick the upstream patch soon.

@ibelem ibelem closed this as completed Nov 1, 2013
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 6, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 by Halton
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 6, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 by Halton
sqliu added a commit to pozdnyakov/chromium-crosswalk that referenced this issue Nov 6, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 11, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 12, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 13, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 13, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 13, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
halton pushed a commit to halton/chromium-crosswalk that referenced this issue Nov 14, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516

Conflicts:
	content/browser/renderer_host/compositor_impl_android.cc
	content/browser/renderer_host/image_transport_factory_android.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
	content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Rework with 32.0.1700.4 code base.
sqliu added a commit to crosswalk-project/chromium-crosswalk that referenced this issue Nov 22, 2013
* In Chromium, single process mode is only for Android WebView, ContentShell and
its derivatives only go to the multiple process mode.
* The context design is only for multiple process mode(ContentShell/XWalk), if we
force running it with single process mode, there are issues (black regions for
video/canvas/webgl layers, and black screen for stop/restart actions). The reason
is that Android port has browser-side compositor, and the shared context in
browser-side compositor has conflicts with renderer's contexts if running in single
process mode.
* To run ContentShell/XWalk in single process mode, we have to resolve the shared
context issue between renderer/browser.

BUG=crosswalk-project/crosswalk#516
@rakuco rakuco unassigned sqliu Mar 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants