|
remoting: Simplify FrameConsumer interface and remove FrameProducer interface.
Now FrameConsumer implementation is responsible for scaling. This makes
interaction with FrameConsumer much simpler. Also removed FrameProducer
interface as it's no longer needed.
Currently video scaling is only used in the plugin when Graphics3D is
not available. In that case Graphics2D::SetScale() performs better than
trying to scale the image in the plugin, especially given that the
scaling code is not optimized for PNaCl.
This refactoring also allowed to simplify threading logic in the
rendering both on Android and in the plugin.
BUG= 256850, 486917, 509914
Committed: https://crrev.com/13bca69cfa261ec8eb6bffecf59c486b683eb8db
Cr-Commit-Position: refs/heads/master@{#344404}
Total comments: 2
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+560 lines, -1033 lines) |
Patch |
|
M |
remoting/client/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/client/frame_consumer.h
|
View
|
|
1 chunk |
+4 lines, -23 lines |
0 comments
|
Download
|
|
D |
remoting/client/frame_consumer_proxy.h
|
View
|
|
1 chunk |
+0 lines, -52 lines |
0 comments
|
Download
|
|
D |
remoting/client/frame_consumer_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
|
D |
remoting/client/frame_producer.h
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_instance.h
|
View
|
|
4 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_instance.cc
|
View
|
|
6 chunks |
+19 lines, -53 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_runtime.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/chromoting_jni_runtime.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/jni_frame_consumer.h
|
View
|
1
2
3
|
1 chunk |
+13 lines, -50 lines |
0 comments
|
Download
|
|
M |
remoting/client/jni/jni_frame_consumer.cc
|
View
|
1
2
3
|
3 chunks |
+72 lines, -87 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_2d.h
|
View
|
|
5 chunks |
+32 lines, -61 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/pepper_video_renderer_2d.cc
|
View
|
1
2
3
|
5 chunks |
+108 lines, -258 lines |
0 comments
|
Download
|
|
M |
remoting/client/software_video_renderer.h
|
View
|
1
2
3
|
3 chunks |
+23 lines, -29 lines |
0 comments
|
Download
|
|
M |
remoting/client/software_video_renderer.cc
|
View
|
1
2
3
|
5 chunks |
+87 lines, -273 lines |
0 comments
|
Download
|
|
A |
remoting/client/software_video_renderer_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+182 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/monitored_video_stub.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/session_config.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/session_config.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/remoting_srcs.gypi
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/remoting_test.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 20 (5 generated)
|