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

Unified Diff: remoting/client/display/gl_cursor_feedback_texture.cc

Issue 2614443003: Moving the GL implementation details into a sub folder for client display. (Closed)
Patch Set: Adding deps restriction on r/c/display; Moving sys_opengl.h Created 3 years, 11 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
« no previous file with comments | « remoting/client/display/gl_cursor_feedback_texture.h ('k') | remoting/client/display/gl_desktop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_cursor_feedback_texture.cc
diff --git a/remoting/client/gl_cursor_feedback_texture.cc b/remoting/client/display/gl_cursor_feedback_texture.cc
similarity index 89%
rename from remoting/client/gl_cursor_feedback_texture.cc
rename to remoting/client/display/gl_cursor_feedback_texture.cc
index d41d22228ea15024a407228aaf4d4cbe75cee0a1..33a839e67131197872ef214c4ba7c6db78e20554 100644
--- a/remoting/client/gl_cursor_feedback_texture.cc
+++ b/remoting/client/display/gl_cursor_feedback_texture.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/client/gl_cursor_feedback_texture.h"
+#include "remoting/client/display/gl_cursor_feedback_texture.h"
-#include "remoting/client/gl_render_layer.h"
+#include "remoting/client/display/gl_render_layer.h"
namespace remoting {
@@ -17,15 +17,15 @@ const int kFeedbackTexturePixelRadius = kFeedbackTexturePixelDiameter / 2;
// RGBA8888 colors. From inside to outside.
const uint8_t kFeedbackRingColors[kColorRingsCount]
[GlRenderLayer::kBytesPerPixel] = {
- {0x0, 0x0, 0x0, 0x7f}, // Black
- {0x0, 0x0, 0x0, 0x7f}, // Black
+ {0x0, 0x0, 0x0, 0x7f}, // Black
+ {0x0, 0x0, 0x0, 0x7f}, // Black
{0xff, 0xff, 0xff, 0x7f}, // White
{0xff, 0xff, 0xff, 0x7f}, // White
{0xff, 0xff, 0xff, 0} // Transparent White
};
-const float kFeedbackRadiusStops[kColorRingsCount] =
- {0.0f, 0.85f, 0.9f, 0.95f, 1.0f};
+const float kFeedbackRadiusStops[kColorRingsCount] = {0.0f, 0.85f, 0.9f, 0.95f,
+ 1.0f};
uint32_t GetColorByRadius(float radius) {
int ring_index = kColorRingsCount - 1;
« no previous file with comments | « remoting/client/display/gl_cursor_feedback_texture.h ('k') | remoting/client/display/gl_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698