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

Issue 2045963004: [Remoting] OpenGL Rendering Layer (Closed)

Created:
4 years, 6 months ago by Yuwei
Modified:
4 years, 5 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remoting] OpenGL Rendering Layer This CL implements the OpenGL canvas, rendering layer, and desktop. This is part of the project of implementing OpenGL rendering component for Android and iOS. Please see design doc in crbug for more information. BUG=385924 Committed: https://crrev.com/2c0936a2a4e515ea10c74e05022de6bc932089d2 Cr-Commit-Position: refs/heads/master@{#405278}

Patch Set 1 #

Total comments: 37

Patch Set 2 : Rebase ToT #

Patch Set 3 : Reviewer's Feedback #

Patch Set 4 : Rename opengl_wrapper to sys_opengl #

Patch Set 5 : Rebase ToT #

Patch Set 6 : Resolves some feedbacks #

Patch Set 7 : Move OpenGL components out of the directory #

Patch Set 8 : Inlines Shaders & Fixes build files #

Total comments: 47

Patch Set 9 : Reviewer's Feedback #

Total comments: 1

Patch Set 10 : sort of fix build error #

Total comments: 5

Patch Set 11 : Revert "sort of fix build error" #

Patch Set 12 : Reviewer's Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+705 lines, -27 lines) Patch
M remoting/android/BUILD.gn View 1 2 3 4 5 6 7 8 10 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A remoting/client/gl_canvas.h View 1 2 3 4 5 6 7 8 1 chunk +82 lines, -0 lines 0 comments Download
A remoting/client/gl_canvas.cc View 1 2 3 4 5 6 7 8 1 chunk +113 lines, -0 lines 0 comments Download
A remoting/client/gl_desktop.h View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A remoting/client/gl_desktop.cc View 1 2 3 4 5 6 7 8 1 chunk +61 lines, -0 lines 0 comments Download
A remoting/client/gl_helpers.h View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
A remoting/client/gl_helpers.cc View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 0 comments Download
A remoting/client/gl_render_layer.h View 1 2 3 4 5 6 7 8 1 chunk +75 lines, -0 lines 0 comments Download
A remoting/client/gl_render_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +143 lines, -0 lines 0 comments Download
M remoting/client/ios/example_view_controller.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/opengl/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -14 lines 0 comments Download
M remoting/client/opengl_wrapper.h View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
A remoting/client/sys_opengl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
M remoting/remoting_client.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 81 (36 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045963004/40001
4 years, 6 months ago (2016-06-08 17:35:26 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045963004/60001
4 years, 6 months ago (2016-06-08 17:42:41 UTC) #8
Yuwei
PTAL. Please be careful since I am not very familiar with OpenGL stuffs :)
4 years, 6 months ago (2016-06-08 17:50:51 UTC) #10
nicholss
On 2016/06/08 17:50:51, Yuwei wrote: > PTAL. Please be careful since I am not very ...
4 years, 6 months ago (2016-06-08 18:13:03 UTC) #11
nicholss
On 2016/06/08 18:13:03, nicholss wrote: > On 2016/06/08 17:50:51, Yuwei wrote: > > PTAL. Please ...
4 years, 6 months ago (2016-06-08 18:13:48 UTC) #12
Sergey Ulanov
Haven't look at the details yet. But from a quick glance it appears that you ...
4 years, 6 months ago (2016-06-08 18:45:22 UTC) #13
Yuwei
On 2016/06/08 18:13:03, nicholss wrote: > On 2016/06/08 17:50:51, Yuwei wrote: > > PTAL. Please ...
4 years, 6 months ago (2016-06-08 18:45:31 UTC) #14
Sergey Ulanov
On 2016/06/08 18:13:03, nicholss wrote: > On 2016/06/08 17:50:51, Yuwei wrote: > > PTAL. Please ...
4 years, 6 months ago (2016-06-08 18:46:45 UTC) #15
Yuwei
On 2016/06/08 18:13:48, nicholss wrote: > On 2016/06/08 18:13:03, nicholss wrote: > > On 2016/06/08 ...
4 years, 6 months ago (2016-06-08 18:47:41 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 19:14:20 UTC) #18
Yuwei
On 2016/06/08 18:45:22, Sergey Ulanov wrote: > Haven't look at the details yet. But from ...
4 years, 6 months ago (2016-06-08 20:16:12 UTC) #19
Yuwei
On 2016/06/08 20:16:12, Yuwei wrote: > On 2016/06/08 18:45:22, Sergey Ulanov wrote: > > Haven't ...
4 years, 6 months ago (2016-06-20 23:04:00 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2045963004/100001
4 years, 6 months ago (2016-06-21 22:16:19 UTC) #23
Yuwei
This CL is ready for review :)
4 years, 6 months ago (2016-06-21 22:18:48 UTC) #24
Yuwei
On 2016/06/21 22:18:48, Yuwei wrote: > This CL is ready for review :) Looks like ...
4 years, 6 months ago (2016-06-22 22:15:52 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2045963004/200001
4 years, 6 months ago (2016-06-24 19:57:16 UTC) #34
Yuwei
On 2016/06/22 22:15:52, Yuwei wrote: > On 2016/06/21 22:18:48, Yuwei wrote: > > This CL ...
4 years, 6 months ago (2016-06-24 19:57:35 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 21:09:33 UTC) #37
Sergey Ulanov
Is it really necessary to create opengl directory? I don't think we usually create directories ...
4 years, 5 months ago (2016-06-27 23:15:30 UTC) #38
Yuwei
https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.cc File remoting/client/opengl/gl_canvas.cc (right): https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.cc#newcode46 remoting/client/opengl/gl_canvas.cc:46: void GlCanvas::SetNormalizedTransformation(const float* matrix) { On 2016/06/27 23:15:29, Sergey ...
4 years, 5 months ago (2016-06-28 01:31:20 UTC) #39
Yuwei
On 2016/06/27 23:15:30, Sergey Ulanov wrote: > Is it really necessary to create opengl directory? ...
4 years, 5 months ago (2016-06-28 01:34:47 UTC) #40
Yuwei
https://codereview.chromium.org/2045963004/diff/200001/remoting/android/BUILD.gn File remoting/android/BUILD.gn (right): https://codereview.chromium.org/2045963004/diff/200001/remoting/android/BUILD.gn#newcode28 remoting/android/BUILD.gn:28: "//remoting/client/opengl:opengl_renderer", On 2016/06/27 23:15:29, Sergey Ulanov wrote: > remove ...
4 years, 5 months ago (2016-06-28 22:51:12 UTC) #42
Yuwei
https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_desktop.cc File remoting/client/opengl/gl_desktop.cc (right): https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_desktop.cc#newcode37 remoting/client/opengl/gl_desktop.cc:37: layer_->SetTexture(frame->data(), frame->size().width(), On 2016/06/27 23:15:29, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-06-29 17:36:22 UTC) #43
Sergey Ulanov
On 2016/06/28 01:34:47, Yuwei wrote: > I'm not sure, but there may be more than ...
4 years, 5 months ago (2016-06-29 23:26:17 UTC) #44
Yuwei
On 2016/06/29 23:26:17, Sergey Ulanov wrote: > > 28 files is not a lot :-) ...
4 years, 5 months ago (2016-06-30 00:04:55 UTC) #45
Sergey Ulanov
https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h File remoting/client/opengl/gl_canvas.h (right): https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h#newcode33 remoting/client/opengl/gl_canvas.h:33: // By default the transformation is a zero matrix. ...
4 years, 5 months ago (2016-06-30 00:34:52 UTC) #46
Yuwei
On 2016/06/30 00:34:52, Sergey Ulanov wrote: > https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h > File remoting/client/opengl/gl_canvas.h (right): > > https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h#newcode33 ...
4 years, 5 months ago (2016-06-30 01:27:53 UTC) #47
Yuwei
Just did an experiment for partial update vs full update and got quite confusing result. ...
4 years, 5 months ago (2016-07-06 20:27:13 UTC) #48
Sergey Ulanov
Are these numbers in milliseconds? What is being measured? Does the test flush gl buffers ...
4 years, 5 months ago (2016-07-06 20:53:32 UTC) #49
Yuwei
On 2016/07/06 20:53:32, Sergey Ulanov wrote: > Are these numbers in milliseconds? Yes, in milliseconds. ...
4 years, 5 months ago (2016-07-06 21:07:38 UTC) #50
Yuwei
Just tried a simplified experiment that only draws a red texture (2048*2048 filled with color ...
4 years, 5 months ago (2016-07-07 01:12:15 UTC) #51
Yuwei
On 2016/07/07 01:12:15, Yuwei wrote: > Just tried a simplified experiment that only draws a ...
4 years, 5 months ago (2016-07-07 17:33:04 UTC) #52
Yuwei
ptal https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h File remoting/client/opengl/gl_canvas.h (right): https://codereview.chromium.org/2045963004/diff/200001/remoting/client/opengl/gl_canvas.h#newcode33 remoting/client/opengl/gl_canvas.h:33: // By default the transformation is a zero ...
4 years, 5 months ago (2016-07-07 22:07:45 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2045963004/360001
4 years, 5 months ago (2016-07-07 22:49:01 UTC) #55
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/201374)
4 years, 5 months ago (2016-07-07 23:15:42 UTC) #57
Sergey Ulanov
https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn File remoting/client/BUILD.gn (right): https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn#newcode46 remoting/client/BUILD.gn:46: "//remoting/client/gl_canvas.cc", Don't need full paths here. https://codereview.chromium.org/2045963004/diff/360001/remoting/client/gl_canvas.cc File remoting/client/gl_canvas.cc ...
4 years, 5 months ago (2016-07-09 01:01:21 UTC) #58
Yuwei
https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn File remoting/client/BUILD.gn (right): https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn#newcode44 remoting/client/BUILD.gn:44: source_set("opengl_renderer") { BTW is there a way to stop ...
4 years, 5 months ago (2016-07-09 01:21:24 UTC) #59
Yuwei
PTAL https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn File remoting/client/BUILD.gn (right): https://codereview.chromium.org/2045963004/diff/360001/remoting/client/BUILD.gn#newcode46 remoting/client/BUILD.gn:46: "//remoting/client/gl_canvas.cc", On 2016/07/09 01:01:20, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-11 22:38:24 UTC) #61
Yuwei
https://codereview.chromium.org/2045963004/diff/420001/remoting/client/opengl_renderer/BUILD.gn File remoting/client/opengl_renderer/BUILD.gn (right): https://codereview.chromium.org/2045963004/diff/420001/remoting/client/opengl_renderer/BUILD.gn#newcode5 remoting/client/opengl_renderer/BUILD.gn:5: source_set("opengl_renderer") { Not sure what's the best way to ...
4 years, 5 months ago (2016-07-13 00:37:43 UTC) #68
Sergey Ulanov
lgtm https://codereview.chromium.org/2045963004/diff/360001/remoting/client/gl_canvas.h File remoting/client/gl_canvas.h (right): https://codereview.chromium.org/2045963004/diff/360001/remoting/client/gl_canvas.h#newcode44 remoting/client/gl_canvas.h:44: void SetNormalizedTransformation(const float* matrix); On 2016/07/09 01:21:24, Yuwei ...
4 years, 5 months ago (2016-07-13 04:42:12 UTC) #71
Yuwei
https://codereview.chromium.org/2045963004/diff/360001/remoting/client/gl_canvas.h File remoting/client/gl_canvas.h (right): https://codereview.chromium.org/2045963004/diff/360001/remoting/client/gl_canvas.h#newcode44 remoting/client/gl_canvas.h:44: void SetNormalizedTransformation(const float* matrix); On 2016/07/13 04:42:11, Sergey Ulanov ...
4 years, 5 months ago (2016-07-13 18:14:16 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2045963004/480001
4 years, 5 months ago (2016-07-13 18:19:58 UTC) #76
commit-bot: I haz the power
Committed patchset #12 (id:480001)
4 years, 5 months ago (2016-07-13 20:30:26 UTC) #78
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 20:30:38 UTC) #79
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 20:33:31 UTC) #81
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2c0936a2a4e515ea10c74e05022de6bc932089d2
Cr-Commit-Position: refs/heads/master@{#405278}

Powered by Google App Engine
This is Rietveld 408576698