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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_renderer.h

Issue 2906423002: [vr] Migrate from vr::Colorf to SkColor (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/vr_shell_renderer.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_renderer.h b/chrome/browser/android/vr_shell/vr_shell_renderer.h
index 7a046aba28ba5968bae2917553f0a8fd42b3ad2f..5759fea43d1ca351f4300e1d96d6f026a10b7d9f 100644
--- a/chrome/browser/android/vr_shell/vr_shell_renderer.h
+++ b/chrome/browser/android/vr_shell/vr_shell_renderer.h
@@ -233,8 +233,8 @@ class GradientQuadRenderer : public BaseQuadRenderer {
~GradientQuadRenderer() override;
void Draw(const vr::Mat4f& view_proj_matrix,
- const vr::Colorf& edge_color,
- const vr::Colorf& center_color,
+ SkColor edge_color,
+ SkColor center_color,
float opacity);
private:
@@ -253,8 +253,8 @@ class GradientGridRenderer : public BaseRenderer {
~GradientGridRenderer() override;
void Draw(const vr::Mat4f& view_proj_matrix,
- const vr::Colorf& edge_color,
- const vr::Colorf& center_color,
+ SkColor edge_color,
+ SkColor center_color,
int gridline_count,
float opacity);
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | chrome/browser/android/vr_shell/vr_shell_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698