OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void CheckGLError(); | 96 void CheckGLError(); |
97 | 97 |
98 EventHandler* event_handler_; | 98 EventHandler* event_handler_; |
99 | 99 |
100 pp::Graphics3D graphics_; | 100 pp::Graphics3D graphics_; |
101 const PPB_OpenGLES2* gles2_if_; | 101 const PPB_OpenGLES2* gles2_if_; |
102 pp::VideoDecoder video_decoder_; | 102 pp::VideoDecoder video_decoder_; |
103 | 103 |
104 webrtc::DesktopSize frame_size_; | 104 webrtc::DesktopSize frame_size_; |
105 webrtc::DesktopVector frame_dpi_; | 105 webrtc::DesktopVector frame_dpi_; |
106 webrtc::DesktopRegion desktop_shape_; | 106 scoped_ptr<webrtc::DesktopRegion> frame_shape_; |
107 | 107 |
108 webrtc::DesktopSize view_size_; | 108 webrtc::DesktopSize view_size_; |
109 | 109 |
110 ChromotingStats stats_; | 110 ChromotingStats stats_; |
111 int64 latest_input_event_timestamp_ ; | 111 int64 latest_input_event_timestamp_ ; |
112 | 112 |
113 bool initialization_finished_; | 113 bool initialization_finished_; |
114 bool decode_pending_; | 114 bool decode_pending_; |
115 bool get_picture_pending_; | 115 bool get_picture_pending_; |
116 bool paint_pending_; | 116 bool paint_pending_; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 bool debug_dirty_region_; | 154 bool debug_dirty_region_; |
155 | 155 |
156 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; | 156 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; |
157 | 157 |
158 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); | 158 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); |
159 }; | 159 }; |
160 | 160 |
161 } // namespace remoting | 161 } // namespace remoting |
162 | 162 |
163 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ | 163 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ |
OLD | NEW |