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

Side by Side Diff: src/views/mac/SkOSWindow_Mac.cpp

Issue 1151333004: CL to add setFullscreen and setVsync to SkWindow (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #if defined(SK_BUILD_FOR_MAC) 10 #if defined(SK_BUILD_FOR_MAC)
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 return success; 531 return success;
532 } 532 }
533 533
534 void SkOSWindow::detach() { 534 void SkOSWindow::detach() {
535 aglSetWindowRef((AGLContext)fAGLCtx, NULL); 535 aglSetWindowRef((AGLContext)fAGLCtx, NULL);
536 } 536 }
537 537
538 void SkOSWindow::present() { 538 void SkOSWindow::present() {
539 aglSwapBuffers((AGLContext)fAGLCtx); 539 aglSwapBuffers((AGLContext)fAGLCtx);
540 } 540 }
541 541
robertphillips 2015/05/26 21:21:41 Isn't this already in SkWindow.h ?
joshualitt 2015/05/27 14:09:34 Yes, but I'm going to go through and fill these ou
542 void SkOSWindow::setFullscreen(bool) {}
543
544 void SkOSWindow::setVsync(bool) {}
545
542 #endif 546 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698