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

Side by Side Diff: remoting/client/plugin/pepper_video_renderer_3d.h

Issue 1236663002: Allow shaped-desktop hosts to send shape only when it changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Pepper 2D renderer build Created 5 years, 5 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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_2d.cc ('k') | remoting/client/plugin/pepper_video_renderer_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698