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

Unified Diff: remoting/client/ios/app/host_view_controller.h

Issue 2848143002: [Remoting iOS] Fix screen tearing and screen dimensions (Closed)
Patch Set: Add comments about not inheriting GLKViewController Created 3 years, 8 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 | « no previous file | remoting/client/ios/app/host_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/app/host_view_controller.h
diff --git a/remoting/client/ios/app/host_view_controller.h b/remoting/client/ios/app/host_view_controller.h
index ef2bb153f01e995792fbcaf01cc2db7027f539da..93a1415e14d9d0770e13ff2d1585b463f9a15a86 100644
--- a/remoting/client/ios/app/host_view_controller.h
+++ b/remoting/client/ios/app/host_view_controller.h
@@ -5,11 +5,14 @@
#ifndef REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_
#define REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_
-#import <GLKit/GLKit.h>
+#import <UIKit/UIKit.h>
@class RemotingClient;
-@interface HostViewController : GLKViewController
+// We don't inherit it from GLKViewController since it uses its rendering loop,
+// which will swap buffers when the GLRenderer is writing and causes screen
+// tearing issues. Instead we use GlDisplayHandler to handle the rendering loop.
+@interface HostViewController : UIViewController
- (id)initWithClient:(RemotingClient*)client;
« no previous file with comments | « no previous file | remoting/client/ios/app/host_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698