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

Side by Side Diff: remoting/codec/video_decoder_verbatim.cc

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: 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/codec/video_decoder_verbatim.h" 5 #include "remoting/codec/video_decoder_verbatim.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/base/util.h" 8 #include "remoting/base/util.h"
9 9
10 namespace remoting { 10 namespace remoting {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 image_buffer, image_stride, 101 image_buffer, image_stride,
102 clip_area, 102 clip_area,
103 rect); 103 rect);
104 output_region->AddRect(rect); 104 output_region->AddRect(rect);
105 } 105 }
106 106
107 updated_region_.Clear(); 107 updated_region_.Clear();
108 } 108 }
109 109
110 const webrtc::DesktopRegion* VideoDecoderVerbatim::GetImageShape() { 110 const webrtc::DesktopRegion* VideoDecoderVerbatim::GetImageShape() {
111 return NULL; 111 return nullptr;
112 } 112 }
113 113
114 } // namespace remoting 114 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698