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

Unified Diff: remoting/ios/display/gl_display_handler.mm

Issue 2869723007: [CRD iOS] Viewport fling animation (Closed)
Patch Set: Merge branch 'master' into feat-fling-animation Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/display/gl_display_handler.h ('k') | remoting/ios/session/remoting_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/display/gl_display_handler.mm
diff --git a/remoting/ios/display/gl_display_handler.mm b/remoting/ios/display/gl_display_handler.mm
index 45fda3159f725adec0fe4f215bdc94877be66863..e8565efe59caca346cf60c5f644219eacb3b6fcc 100644
--- a/remoting/ios/display/gl_display_handler.mm
+++ b/remoting/ios/display/gl_display_handler.mm
@@ -149,6 +149,9 @@ void Core::OnFrameReceived(std::unique_ptr<webrtc::DesktopFrame> frame,
void Core::OnFrameRendered() {
[eagl_context_ presentRenderbuffer:GL_RENDERBUFFER];
+ runtime_->ui_task_runner()->PostTask(FROM_HERE, base::BindBlockArc(^() {
+ [handler_delegate_ rendererTicked];
+ }));
}
void Core::OnSizeChanged(int width, int height) {
« no previous file with comments | « remoting/ios/display/gl_display_handler.h ('k') | remoting/ios/session/remoting_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698