OLD | NEW |
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 "GrContext.h" | |
11 #include "gl/GrGLInterface.h" | |
12 #include "SampleApp.h" | 10 #include "SampleApp.h" |
13 #include "SkApplication.h" | 11 #include "SkApplication.h" |
14 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
15 #include "SkDevice.h" | 13 #include "SkDevice.h" |
16 #include "SkEvent.h" | 14 #include "SkEvent.h" |
17 #include "SkWindow.h" | 15 #include "SkWindow.h" |
18 | 16 |
19 #include <jni.h> | 17 #include <jni.h> |
20 #include "android/AndroidKeyToSkKey.h" | 18 #include "android/AndroidKeyToSkKey.h" |
21 | 19 |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 JNIEnv* env, jobject thiz) | 345 JNIEnv* env, jobject thiz) |
348 { | 346 { |
349 gWindow->saveToPdf(); | 347 gWindow->saveToPdf(); |
350 } | 348 } |
351 | 349 |
352 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval( | 350 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval( |
353 JNIEnv* env, jobject thiz) | 351 JNIEnv* env, jobject thiz) |
354 { | 352 { |
355 gWindow->postInvalDelay(); | 353 gWindow->postInvalDelay(); |
356 } | 354 } |
OLD | NEW |