Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |