1 /* 2 * Copyright 2013 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef _NDKSUPPORT_H 18 #define _NDKSUPPORT_H 19 20 /****************************************************************** 21 * NDK support helpers 22 * Utility module to provide misc functionalities that is used widely in native applications, 23 * such as gesture detection, jni bridge, openGL context etc. 24 * 25 * The purpose of this module is, 26 * - Provide best practices using NDK 27 * - Provide handy utility functions for NDK development 28 * - Make NDK samples more simpler and readable 29 */ 30 #include "gl3stub.h" //GLES3 stubs 31 #include "GLContext.h" //EGL & OpenGL manager 32 #include "shader.h" //Shader compiler support 33 #include "vecmath.h" //Vector math support, C++ implementation n current version 34 #include "tapCamera.h" //Tap/Pinch camera control 35 #include "JNIHelper.h" //JNI support 36 #include "gestureDetector.h" //Tap/Doubletap/Pinch detector 37 #include "perfMonitor.h" //FPS counter 38 #include "interpolator.h" //Interpolator 39 #endif 40