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

Issue 2148743005: [Remoting Android] Cursor & Cursor Feedback for OpenGL Renderer (Closed)

Created:
4 years, 5 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 Android] Cursor & Cursor Feedback for OpenGL Renderer This CL implements classes for drawing cursor and cursor feedback on the OpenGL canvas. This is part of the project of using OpenGL to render remoting host on Android. BUG=385924 Committed: https://crrev.com/2495ff068c075749e36f20117db5d1c368ffa42e Cr-Commit-Position: refs/heads/master@{#406991}

Patch Set 1 #

Patch Set 2 : Use GYP source list in GN #

Patch Set 3 : Fix wrapped interpolation #

Patch Set 4 : Swap BGRA to RGBA #

Total comments: 41

Patch Set 5 : Reviewer's Feedback #

Patch Set 6 : Use SkColorSetARGB() to create color #

Total comments: 3

Patch Set 7 : Manually draw the texture #

Total comments: 1

Patch Set 8 : Move parameters around #

Total comments: 19

Patch Set 9 : Reviewer's Feedback #

Patch Set 10 : Drop Skia dependencies #

Total comments: 26

Patch Set 11 : Reviewer's Feedback #

Total comments: 3

Patch Set 12 : Reviewer's Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -38 lines) Patch
M remoting/android/java/src/org/chromium/chromoting/GlDesktopView.java View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -10 lines 0 comments Download
M remoting/client/gl_canvas.h View 2 chunks +8 lines, -1 line 0 comments Download
M remoting/client/gl_canvas.cc View 4 chunks +7 lines, -1 line 0 comments Download
A remoting/client/gl_cursor.h View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
A remoting/client/gl_cursor.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +113 lines, -0 lines 0 comments Download
A remoting/client/gl_cursor_feedback.h View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A remoting/client/gl_cursor_feedback.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +73 lines, -0 lines 0 comments Download
A remoting/client/gl_cursor_feedback_texture.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/client/gl_cursor_feedback_texture.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +107 lines, -0 lines 0 comments Download
M remoting/client/gl_desktop.cc View 1 chunk +1 line, -1 line 0 comments Download
A remoting/client/gl_math.h View 1 2 3 4 5 6 7 1 chunk +53 lines, -0 lines 0 comments Download
A remoting/client/gl_math.cc View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download
M remoting/client/gl_render_layer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M remoting/client/gl_render_layer.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +24 lines, -23 lines 0 comments Download
M remoting/remoting_client.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 4 5 6 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 32 (10 generated)
Yuwei
ptal
4 years, 5 months ago (2016-07-14 00:37:11 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc File remoting/base/util.cc (right): https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc#newcode75 remoting/base/util.cc:75: void CopyAndSwapRB(const uint8_t* source, uint8_t* dest, int length) { ...
4 years, 5 months ago (2016-07-19 00:42:48 UTC) #4
Yuwei
https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc File remoting/base/util.cc (right): https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc#newcode75 remoting/base/util.cc:75: void CopyAndSwapRB(const uint8_t* source, uint8_t* dest, int length) { ...
4 years, 5 months ago (2016-07-19 04:11:52 UTC) #5
Yuwei
ptal I guess I will need to list junov@chromium.org as reviewer for adding skia to ...
4 years, 5 months ago (2016-07-19 20:34:24 UTC) #8
Yuwei
On 2016/07/19 20:34:24, Yuwei wrote: > ptal > > I guess I will need to ...
4 years, 5 months ago (2016-07-20 04:19:57 UTC) #11
Sergey Ulanov
On 2016/07/20 04:19:57, Yuwei wrote: > On 2016/07/19 20:34:24, Yuwei wrote: > > ptal > ...
4 years, 5 months ago (2016-07-20 17:58:26 UTC) #12
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc File remoting/base/util.cc (right): https://codereview.chromium.org/2148743005/diff/80001/remoting/base/util.cc#newcode75 remoting/base/util.cc:75: void CopyAndSwapRB(const uint8_t* source, uint8_t* dest, int length) { ...
4 years, 5 months ago (2016-07-20 18:06:12 UTC) #13
Yuwei
> Since you had it implemeneted, do you know what the actual impact on binary ...
4 years, 5 months ago (2016-07-20 18:50:01 UTC) #14
Yuwei
ptal https://codereview.chromium.org/2148743005/diff/120001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2148743005/diff/120001/remoting/client/gl_cursor_feedback.cc#newcode120 remoting/client/gl_cursor_feedback.cc:120: bool GlCursorFeedback::texture_initialized_ = false; On 2016/07/20 18:06:11, Sergey ...
4 years, 5 months ago (2016-07-20 22:56:48 UTC) #15
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/160001/remoting/base/util.h File remoting/base/util.h (right): https://codereview.chromium.org/2148743005/diff/160001/remoting/base/util.h#newcode16 remoting/base/util.h:16: enum { kBytesPerPixelRGB32 = 4 }; I'd like to ...
4 years, 5 months ago (2016-07-20 23:51:40 UTC) #16
Yuwei
ptal https://codereview.chromium.org/2148743005/diff/160001/remoting/client/gl_cursor_feedback_texture.cc File remoting/client/gl_cursor_feedback_texture.cc (right): https://codereview.chromium.org/2148743005/diff/160001/remoting/client/gl_cursor_feedback_texture.cc#newcode30 remoting/client/gl_cursor_feedback_texture.cc:30: void LinearInterpolate(const uint8_t* in1, On 2016/07/20 23:51:40, Sergey ...
4 years, 5 months ago (2016-07-21 01:03:37 UTC) #17
Sergey Ulanov
Mostly just some style nits https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback.cc#newcode18 remoting/client/gl_cursor_feedback.cc:18: const int kTextureId = ...
4 years, 5 months ago (2016-07-21 19:28:49 UTC) #18
Yuwei
https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.cc File remoting/client/gl_cursor_feedback_texture.cc (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.cc#newcode31 remoting/client/gl_cursor_feedback_texture.cc:31: uint32_t GetColorByRadius(float radius) { On 2016/07/21 19:28:48, Sergey Ulanov ...
4 years, 5 months ago (2016-07-21 19:53:04 UTC) #19
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.h File remoting/client/gl_cursor_feedback_texture.h (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.h#newcode19 remoting/client/gl_cursor_feedback_texture.h:19: int GetTextureDiameter() const; On 2016/07/21 19:53:04, Yuwei wrote: > ...
4 years, 5 months ago (2016-07-21 20:10:46 UTC) #20
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.cc File remoting/client/gl_cursor_feedback_texture.cc (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback_texture.cc#newcode31 remoting/client/gl_cursor_feedback_texture.cc:31: uint32_t GetColorByRadius(float radius) { On 2016/07/21 19:53:04, Yuwei wrote: ...
4 years, 5 months ago (2016-07-21 20:14:16 UTC) #21
Sergey Ulanov
https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_render_layer.cc File remoting/client/gl_render_layer.cc (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_render_layer.cc#newcode11 remoting/client/gl_render_layer.cc:11: namespace { On 2016/07/21 20:14:15, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-21 20:17:14 UTC) #22
Yuwei
ptal https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2148743005/diff/200001/remoting/client/gl_cursor_feedback.cc#newcode18 remoting/client/gl_cursor_feedback.cc:18: const int kTextureId = 2; On 2016/07/21 19:28:48, ...
4 years, 5 months ago (2016-07-21 21:44:42 UTC) #24
Sergey Ulanov
lgtm when my comments are addressed https://codereview.chromium.org/2148743005/diff/240001/remoting/client/gl_cursor_feedback_texture.cc File remoting/client/gl_cursor_feedback_texture.cc (right): https://codereview.chromium.org/2148743005/diff/240001/remoting/client/gl_cursor_feedback_texture.cc#newcode103 remoting/client/gl_cursor_feedback_texture.cc:103: const int GlCursorFeedbackTexture::kTextureWidth ...
4 years, 5 months ago (2016-07-21 21:55:32 UTC) #25
Yuwei
https://codereview.chromium.org/2148743005/diff/240001/remoting/client/gl_cursor_feedback_texture.h File remoting/client/gl_cursor_feedback_texture.h (right): https://codereview.chromium.org/2148743005/diff/240001/remoting/client/gl_cursor_feedback_texture.h#newcode23 remoting/client/gl_cursor_feedback_texture.h:23: static const int kTextureWidth; On 2016/07/21 21:55:31, Sergey Ulanov ...
4 years, 5 months ago (2016-07-21 22:15:15 UTC) #26
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/2148743005/260001
4 years, 5 months ago (2016-07-21 22:16:25 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:260001)
4 years, 5 months ago (2016-07-21 23:38:21 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 23:40:11 UTC) #32
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2495ff068c075749e36f20117db5d1c368ffa42e
Cr-Commit-Position: refs/heads/master@{#406991}

Powered by Google App Engine
This is Rietveld 408576698