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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void CheckGLError(); | 90 void CheckGLError(); |
91 | 91 |
92 EventHandler* event_handler_ = nullptr; | 92 EventHandler* event_handler_ = nullptr; |
93 protocol::PerformanceTracker* perf_tracker_ = nullptr; | 93 protocol::PerformanceTracker* perf_tracker_ = nullptr; |
94 | 94 |
95 pp::Graphics3D graphics_; | 95 pp::Graphics3D graphics_; |
96 const PPB_OpenGLES2* gles2_if_; | 96 const PPB_OpenGLES2* gles2_if_; |
97 pp::VideoDecoder video_decoder_; | 97 pp::VideoDecoder video_decoder_; |
98 | 98 |
99 webrtc::DesktopSize frame_size_; | 99 webrtc::DesktopSize frame_size_; |
100 webrtc::DesktopVector frame_dpi_; | |
101 | 100 |
102 webrtc::DesktopSize view_size_; | 101 webrtc::DesktopSize view_size_; |
103 | 102 |
104 bool initialization_finished_ = false; | 103 bool initialization_finished_ = false; |
105 bool decode_pending_ = false; | 104 bool decode_pending_ = false; |
106 bool get_picture_pending_ = false; | 105 bool get_picture_pending_ = false; |
107 bool paint_pending_ = false; | 106 bool paint_pending_ = false; |
108 | 107 |
109 // Queue of packets that that have been received, but haven't been passed to | 108 // Queue of packets that that have been received, but haven't been passed to |
110 // the decoder yet. | 109 // the decoder yet. |
(...skipping 26 matching lines...) Expand all Loading... |
137 bool debug_dirty_region_ = false; | 136 bool debug_dirty_region_ = false; |
138 | 137 |
139 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; | 138 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; |
140 | 139 |
141 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); | 140 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); |
142 }; | 141 }; |
143 | 142 |
144 } // namespace remoting | 143 } // namespace remoting |
145 | 144 |
146 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ | 145 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ |
OLD | NEW |