Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Issue 131153007: Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext (Closed)

Created:
6 years, 11 months ago by piman
Modified:
6 years, 10 months ago
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext The size is not really a concept that belongs to GL. Note, we can still start creating the context before we get OnCreated. BUG=333157 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247496

Patch Set 1 #

Patch Set 2 : fix TODO #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : s/Maybe\(.*\)/\1IfNeeded/g #

Patch Set 5 : rebase, fix various issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -83 lines) Patch
M mojo/apps/js/bindings/codec.js View 1 2 3 4 3 chunks +17 lines, -0 lines 0 comments Download
M mojo/apps/js/bindings/gl/context.h View 1 chunk +2 lines, -5 lines 0 comments Download
M mojo/apps/js/bindings/gl/context.cc View 2 chunks +4 lines, -11 lines 0 comments Download
M mojo/apps/js/main.js View 1 2 3 4 4 chunks +21 lines, -9 lines 0 comments Download
M mojo/examples/aura_demo/aura_demo.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M mojo/examples/aura_demo/root_window_host_mojo.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M mojo/examples/aura_demo/root_window_host_mojo.cc View 1 2 3 4 3 chunks +14 lines, -4 lines 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.h View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 chunk +4 lines, -1 line 0 comments Download
M mojo/examples/compositor_app/gles2_client_impl.h View 2 chunks +4 lines, -8 lines 0 comments Download
M mojo/examples/compositor_app/gles2_client_impl.cc View 2 chunks +5 lines, -9 lines 0 comments Download
M mojo/examples/launcher/launcher.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.h View 1 2 3 4 4 chunks +8 lines, -5 lines 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.cc View 1 2 3 4 3 chunks +17 lines, -9 lines 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gles2/gles2_client_impl.h View 1 chunk +1 line, -3 lines 0 comments Download
M mojo/gles2/gles2_client_impl.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/public/gles2/gles2_types.h View 1 1 chunk +2 lines, -5 lines 0 comments Download
M mojo/services/gles2/gles2.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gles2/gles2_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_mac.mm View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_x11.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
piman
6 years, 11 months ago (2014-01-24 01:00:29 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/131153007/diff/30001/mojo/services/native_viewport/native_viewport_service.cc File mojo/services/native_viewport/native_viewport_service.cc (right): https://codereview.chromium.org/131153007/diff/30001/mojo/services/native_viewport/native_viewport_service.cc#newcode119 mojo/services/native_viewport/native_viewport_service.cc:119: void MaybeSendOnCreated() { nit: A name like SendOnCreatedIfNeeded ...
6 years, 11 months ago (2014-01-27 06:08:14 UTC) #2
piman
https://codereview.chromium.org/131153007/diff/30001/mojo/services/native_viewport/native_viewport_service.cc File mojo/services/native_viewport/native_viewport_service.cc (right): https://codereview.chromium.org/131153007/diff/30001/mojo/services/native_viewport/native_viewport_service.cc#newcode119 mojo/services/native_viewport/native_viewport_service.cc:119: void MaybeSendOnCreated() { On 2014/01/27 06:08:15, darin wrote: > ...
6 years, 11 months ago (2014-01-27 22:10:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/131153007/150001
6 years, 11 months ago (2014-01-27 22:11:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/131153007/150001
6 years, 11 months ago (2014-01-28 00:02:14 UTC) #5
commit-bot: I haz the power
Failed to apply patch for mojo/examples/aura_demo/root_window_host_mojo.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-28 00:02:34 UTC) #6
piman
I need to rework this CL. Some recent modifications to native_viewport makes it redundant to ...
6 years, 11 months ago (2014-01-28 03:32:36 UTC) #7
piman
PTAL. This needed a bit of an overhaul to work on top of r247329. - ...
6 years, 11 months ago (2014-01-28 05:16:34 UTC) #8
darin (slow to review)
LGTM
6 years, 11 months ago (2014-01-28 05:47:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/131153007/170001
6 years, 11 months ago (2014-01-28 05:58:43 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-01-28 20:39:45 UTC) #11
Message was sent while issue was closed.
Change committed as 247496

Powered by Google App Engine
This is Rietveld 408576698