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

Unified Diff: remoting/client/ios/display/gl_display_handler.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 | « remoting/client/ios/app/host_view_controller.mm ('k') | remoting/client/ios/display/gl_display_handler.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/display/gl_display_handler.h
diff --git a/remoting/client/ios/display/gl_display_handler.h b/remoting/client/ios/display/gl_display_handler.h
index 9b3bac1e66a55cd8f640c91b64337a8213902b55..d6e7fe301b702051cb49901ee003620fb0ae25cf 100644
--- a/remoting/client/ios/display/gl_display_handler.h
+++ b/remoting/client/ios/display/gl_display_handler.h
@@ -28,7 +28,13 @@ class CursorShapeStub;
}
- (void)stop;
-- (void)glkView:(GLKView*)view drawInRect:(CGRect)rect;
+
+// Called once the GLKView created.
+- (void)onSurfaceCreated:(GLKView*)view;
+
+// Called every time the GLKView dimension is initialized or changed.
+- (void)onSurfaceChanged:(const CGRect&)frame;
+
- (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
- (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub;
« no previous file with comments | « remoting/client/ios/app/host_view_controller.mm ('k') | remoting/client/ios/display/gl_display_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698