|
Allow shaped-desktop hosts to send shape only when it changes.
Previously hosts supplying a shaped desktop needed to attach the desktop
shape to every frame, wasting bandwidth since the shape changes
relatively infrequently.
This CL updates the VideoRenderer implementations to preserve the shape
(or lack of one) from the preceding frame if the VideoPacket does not
include the use_desktop_shape field.
Also simplifies FrameConsumerProxy to remove the need for ref-counting,
updates NULL->nullptr throughout remoting/codec/, and removes
unnecessary transparency logic from VideoDecoderVpx.
BUG= 446288
Committed: https://crrev.com/070889be6cd0ff3425d6260fbaac59ed24f34627
Cr-Commit-Position: refs/heads/master@{#339212}
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+206 lines, -324 lines) |
Patch |
|
M |
remoting/client/frame_consumer.h
|
View
|
1
2
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
remoting/client/frame_consumer_proxy.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
|
M |
remoting/client/frame_consumer_proxy.cc
|
View
|
1
2
3
|
2 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_instance.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_instance.cc
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/jni_frame_consumer.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/client/jni/jni_frame_consumer.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/client/plugin/chromoting_instance.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/client/plugin/chromoting_instance.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+19 lines, -16 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_2d.h
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_2d.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_3d.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_3d.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
remoting/client/software_video_renderer.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
remoting/client/software_video_renderer.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
remoting/codec/audio_decoder_opus.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
remoting/codec/codec_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
remoting/codec/video_decoder_vpx.h
|
View
|
|
3 chunks |
+10 lines, -17 lines |
0 comments
|
Download
|
|
M |
remoting/codec/video_decoder_vpx.cc
|
View
|
1
2
3
4
|
9 chunks |
+66 lines, -176 lines |
0 comments
|
Download
|
Total messages: 17 (4 generated)
|