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

Unified Diff: remoting/client/display/gl_cursor.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.h ('k') | remoting/client/display/gl_cursor_feedback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_cursor.cc
diff --git a/remoting/client/gl_cursor.cc b/remoting/client/display/gl_cursor.cc
similarity index 90%
rename from remoting/client/gl_cursor.cc
rename to remoting/client/display/gl_cursor.cc
index 152923ad468d9607f2565ef69faa69e34e11148d..4a4c55a1824ef50cd2cb5fd971ef1b4ba6271a49 100644
--- a/remoting/client/gl_cursor.cc
+++ b/remoting/client/display/gl_cursor.cc
@@ -2,13 +2,13 @@
// 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.h"
+#include "remoting/client/display/gl_cursor.h"
#include "remoting/base/util.h"
-#include "remoting/client/gl_canvas.h"
-#include "remoting/client/gl_math.h"
-#include "remoting/client/gl_render_layer.h"
-#include "remoting/client/gl_texture_ids.h"
+#include "remoting/client/display/gl_canvas.h"
+#include "remoting/client/display/gl_math.h"
+#include "remoting/client/display/gl_render_layer.h"
+#include "remoting/client/display/gl_texture_ids.h"
#include "remoting/proto/control.pb.h"
#include "third_party/libyuv/include/libyuv/convert_argb.h"
@@ -24,7 +24,7 @@ GlCursor::~GlCursor() {}
void GlCursor::SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) {
int data_size = cursor_shape.width() * cursor_shape.height() *
- GlRenderLayer::kBytesPerPixel;
+ GlRenderLayer::kBytesPerPixel;
if (current_cursor_data_size_ < data_size) {
current_cursor_data_size_ =
kDefaultCursorDataSize > data_size ? kDefaultCursorDataSize : data_size;
« no previous file with comments | « remoting/client/display/gl_cursor.h ('k') | remoting/client/display/gl_cursor_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698