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

Issue 2837973002: VRShell: Composing Daydream controller textures from patches (Closed)

Created:
3 years, 8 months ago by acondor_
Modified:
3 years, 7 months ago
Reviewers:
mthiesse, cjgrant
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

VRShell: Composing Daydream controller textures from patches This change implements the creation of textures from a base texture and a patch, in order to reduce the size of assets necessary for rendering the controller in VRShell. BUG=644562 Review-Url: https://codereview.chromium.org/2837973002 Cr-Commit-Position: refs/heads/master@{#468121} Committed: https://chromium.googlesource.com/chromium/src/+/c76599f4da775f3f5a992083a841ea2207831470

Patch Set 1 #

Patch Set 2 : Separate patches and doing patching in CPU #

Total comments: 10

Patch Set 3 : nit #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -52 lines) Patch
M chrome/browser/android/vr_shell/vr_controller_model.h View 1 2 3 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_controller_model.cc View 1 2 5 chunks +69 lines, -32 lines 6 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 1 chunk +8 lines, -3 lines 1 comment Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (4 generated)
acondor_
PTAL
3 years, 8 months ago (2017-04-24 21:28:19 UTC) #2
acondor_
On 2017/04/24 21:28:19, acondor wrote: > PTAL Hold on this, as we are considering changing ...
3 years, 8 months ago (2017-04-25 14:34:29 UTC) #3
acondor_
Ready to be reviewed now.
3 years, 8 months ago (2017-04-26 18:54:17 UTC) #4
cjgrant
A couple of nits and questions; mostly deferring to Michael here. https://codereview.chromium.org/2837973002/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): ...
3 years, 7 months ago (2017-04-27 18:47:30 UTC) #5
acondor_
https://codereview.chromium.org/2837973002/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): https://codereview.chromium.org/2837973002/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc#newcode43 chrome/browser/android/vr_shell/vr_controller_model.cc:43: const gfx::Point kPatchesLocations[] = {{}, {5, 5}, {47, 165}, ...
3 years, 7 months ago (2017-04-27 19:01:19 UTC) #6
acondor_
Nits addressed. https://codereview.chromium.org/2837973002/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): https://codereview.chromium.org/2837973002/diff/20001/chrome/browser/android/vr_shell/vr_controller_model.cc#newcode45 chrome/browser/android/vr_shell/vr_controller_model.cc:45: sk_sp<SkImage> LoadPNG(const base::FilePath& path) { On 2017/04/27 ...
3 years, 7 months ago (2017-04-28 14:22:39 UTC) #7
mthiesse
lgtm https://codereview.chromium.org/2837973002/diff/40001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): https://codereview.chromium.org/2837973002/diff/40001/chrome/browser/android/vr_shell/vr_controller_model.cc#newcode133 chrome/browser/android/vr_shell/vr_controller_model.cc:133: canvas->drawImage(base_texture_, 0, 0); Add a TODO to avoid ...
3 years, 7 months ago (2017-04-28 18:26:39 UTC) #8
acondor_
Answers as discussed offline. https://codereview.chromium.org/2837973002/diff/40001/chrome/browser/android/vr_shell/vr_controller_model.cc File chrome/browser/android/vr_shell/vr_controller_model.cc (right): https://codereview.chromium.org/2837973002/diff/40001/chrome/browser/android/vr_shell/vr_controller_model.cc#newcode133 chrome/browser/android/vr_shell/vr_controller_model.cc:133: canvas->drawImage(base_texture_, 0, 0); On 2017/04/28 ...
3 years, 7 months ago (2017-04-28 18:57:44 UTC) #9
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/2837973002/40001
3 years, 7 months ago (2017-04-28 19:28:49 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 20:51:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c76599f4da775f3f5a992083a841...

Powered by Google App Engine
This is Rietveld 408576698