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

Side by Side Diff: platform_tools/android/apps/sample_app/src/main/jni/com_skia_SkiaSampleRenderer.cpp

Issue 1809733002: detach -> release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: (C) Created 4 years, 9 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 /* 2 /*
3 * Copyright 2011 Skia 3 * Copyright 2011 Skia
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "com_skia_SkiaSampleRenderer.h" 8 #include "com_skia_SkiaSampleRenderer.h"
9 9
10 #include "SampleApp.h" 10 #include "SampleApp.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 SkDebugf("ERROR: The JNI WeakRef to the Window is invalid"); 72 SkDebugf("ERROR: The JNI WeakRef to the Window is invalid");
73 return false; 73 return false;
74 } 74 }
75 info->fSampleCount = env->CallIntMethod(gWindowGlue.m_obj, gWindowGlue.m_get MSAASampleCount); 75 info->fSampleCount = env->CallIntMethod(gWindowGlue.m_obj, gWindowGlue.m_get MSAASampleCount);
76 76
77 // This is the value requested in SkiaSampleView.java. 77 // This is the value requested in SkiaSampleView.java.
78 info->fStencilBits = 8; 78 info->fStencilBits = 8;
79 return true; 79 return true;
80 } 80 }
81 81
82 void SkOSWindow::detach() { 82 void SkOSWindow::release() {
83 } 83 }
84 84
85 void SkOSWindow::present() { 85 void SkOSWindow::present() {
86 } 86 }
87 87
88 void SkOSWindow::closeWindow() { 88 void SkOSWindow::closeWindow() {
89 } 89 }
90 90
91 void SkOSWindow::setVsync(bool) { 91 void SkOSWindow::setVsync(bool) {
92 } 92 }
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 JNIEnv* env, jobject thiz) 347 JNIEnv* env, jobject thiz)
348 { 348 {
349 gWindow->saveToPdf(); 349 gWindow->saveToPdf();
350 } 350 }
351 351
352 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval( 352 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval(
353 JNIEnv* env, jobject thiz) 353 JNIEnv* env, jobject thiz)
354 { 354 {
355 gWindow->postInvalDelay(); 355 gWindow->postInvalDelay();
356 } 356 }
OLDNEW
« no previous file with comments | « include/views/SkOSWindow_iOS.h ('k') | platform_tools/android/apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698