OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_IOS_DISPLAY_GL_DEMO_SCREEN_H_ | 5 #ifndef REMOTING_IOS_DISPLAY_GL_DEMO_SCREEN_H_ |
6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DEMO_SCREEN_H_ | 6 #define REMOTING_IOS_DISPLAY_GL_DEMO_SCREEN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
10 #include "remoting/client/display/drawable.h" | 10 #include "remoting/client/display/drawable.h" |
11 #include "remoting/client/display/sys_opengl.h" | 11 #include "remoting/client/display/sys_opengl.h" |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 // This class draws the desktop on the canvas. | 15 // This class draws the desktop on the canvas. |
16 class GlDemoScreen : public Drawable { | 16 class GlDemoScreen : public Drawable { |
(...skipping 13 matching lines...) Expand all Loading... |
30 GLuint program_; | 30 GLuint program_; |
31 | 31 |
32 base::ThreadChecker thread_checker_; | 32 base::ThreadChecker thread_checker_; |
33 base::WeakPtrFactory<Drawable> weak_factory_; | 33 base::WeakPtrFactory<Drawable> weak_factory_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(GlDemoScreen); | 35 DISALLOW_COPY_AND_ASSIGN(GlDemoScreen); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace remoting | 38 } // namespace remoting |
39 | 39 |
40 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DEMO_SCREEN_H_ | 40 #endif // REMOTING_IOS_DISPLAY_GL_DEMO_SCREEN_H_ |
OLD | NEW |