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

Side by Side Diff: remoting/client/display/gl_canvas.h

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 unified diff | Download patch
« no previous file with comments | « remoting/client/display/DEPS ('k') | remoting/client/display/gl_canvas.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_OPENGL_GL_CANVAS_H_ 5 #ifndef REMOTING_CLIENT_DISPLAY_GL_CANVAS_H_
6 #define REMOTING_CLIENT_OPENGL_GL_CANVAS_H_ 6 #define REMOTING_CLIENT_DISPLAY_GL_CANVAS_H_
7 7
8 #include <array> 8 #include <array>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
12 #include "remoting/client/sys_opengl.h" 12 #include "remoting/client/display/sys_opengl.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 // This class holds zoom and pan configurations of the canvas and is used to 16 // This class holds zoom and pan configurations of the canvas and is used to
17 // draw textures on the canvas. 17 // draw textures on the canvas.
18 // Must be constructed after the OpenGL surface is created and destroyed before 18 // Must be constructed after the OpenGL surface is created and destroyed before
19 // the surface is destroyed. 19 // the surface is destroyed.
20 class GlCanvas { 20 class GlCanvas {
21 public: 21 public:
22 // gl_version: version number of the OpenGL ES context. Either 2 or 3. 22 // gl_version: version number of the OpenGL ES context. Either 2 or 3.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 GLuint position_location_; 84 GLuint position_location_;
85 GLuint tex_cord_location_; 85 GLuint tex_cord_location_;
86 86
87 base::ThreadChecker thread_checker_; 87 base::ThreadChecker thread_checker_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(GlCanvas); 89 DISALLOW_COPY_AND_ASSIGN(GlCanvas);
90 }; 90 };
91 91
92 } // namespace remoting 92 } // namespace remoting
93 93
94 #endif // REMOTING_CLIENT_OPENGL_GL_CANVAS_H_ 94 #endif // REMOTING_CLIENT_DISPLAY_GL_CANVAS_H_
OLDNEW
« no previous file with comments | « remoting/client/display/DEPS ('k') | remoting/client/display/gl_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698