HomeSort by relevance Sort by last modified time
    Searched refs:ndk_helper (Results 1 - 25 of 25) sorted by null

  /development/ndk/platforms/android-18/samples/MoreTeapots/jni/
MoreTeapotsRenderer.h 94 ndk_helper::Mat4 mat_projection_;
95 ndk_helper::Mat4 mat_view_;
96 std::vector<ndk_helper::Mat4> vec_mat_models_;
97 std::vector<ndk_helper::Vec3> vec_colors_;
98 std::vector<ndk_helper::Vec2> vec_rotations_;
99 std::vector<ndk_helper::Vec2> vec_current_rotations_;
101 ndk_helper::TapCamera* camera_;
120 bool Bind( ndk_helper::TapCamera* camera );
MoreTeapotsNativeActivity.cpp 54 ndk_helper::GLContext* gl_context_;
59 ndk_helper::DoubletapDetector doubletap_detector_;
60 ndk_helper::PinchDetector pinch_detector_;
61 ndk_helper::DragDetector drag_detector_;
62 ndk_helper::PerfMonitor monitor_;
64 ndk_helper::TapCamera tap_camera_;
74 void TransformPosition( ndk_helper::Vec2& vec );
115 gl_context_ = ndk_helper::GLContext::GetInstance();
229 ndk_helper::GESTURE_STATE doubleTapState = eng->doubletap_detector_.Detect( event );
230 ndk_helper::GESTURE_STATE dragState = eng->drag_detector_.Detect( event )
    [all...]
MoreTeapotsRenderer.cpp 55 if( ndk_helper::GLContext::GetInstance()->GetGLVersion() >= 3.0 )
59 else if( ndk_helper::GLContext::GetInstance()->CheckExtension( "GL_NV_draw_instanced" )
60 && ndk_helper::GLContext::GetInstance()->CheckExtension(
122 ndk_helper::Mat4::Translation( iX * gap_x + offset_x, iY * gap_y + offset_y,
125 ndk_helper::Vec3( random() / float( RAND_MAX * 1.1 ),
131 vec_rotations_.push_back( ndk_helper::Vec2( fX * 0.05f, fY * 0.05f ) );
132 vec_current_rotations_.push_back( ndk_helper::Vec2( fX * M_PI, fY * M_PI ) );
218 mat_projection_ = ndk_helper::Mat4::Perspective( fAspect, 1.f, CAM_NEAR, CAM_FAR );
257 mat_view_ = ndk_helper::Mat4::LookAt( ndk_helper::Vec3( CAM_X, CAM_Y, CAM_Z )
    [all...]
Android.mk 13 LOCAL_STATIC_LIBRARIES := cpufeatures android_native_app_glue ndk_helper
17 $(call import-module,android/ndk_helper)
  /development/ndk/platforms/android-17/samples/Teapot/jni/
TeapotNativeActivity.cpp 44 ndk_helper::GLContext* gl_context_;
49 ndk_helper::DoubletapDetector doubletap_detector_;
50 ndk_helper::PinchDetector pinch_detector_;
51 ndk_helper::DragDetector drag_detector_;
52 ndk_helper::PerfMonitor monitor_;
54 ndk_helper::TapCamera tap_camera_;
64 void TransformPosition( ndk_helper::Vec2& vec );
105 gl_context_ = ndk_helper::GLContext::GetInstance();
218 ndk_helper::GESTURE_STATE doubleTapState = eng->doubletap_detector_.Detect( event );
219 ndk_helper::GESTURE_STATE dragState = eng->drag_detector_.Detect( event )
    [all...]
TeapotRenderer.h 88 ndk_helper::Mat4 mat_projection_;
89 ndk_helper::Mat4 mat_view_;
90 ndk_helper::Mat4 mat_model_;
92 ndk_helper::TapCamera* camera_;
99 bool Bind( ndk_helper::TapCamera* camera );
Android.mk 14 LOCAL_STATIC_LIBRARIES := cpufeatures android_native_app_glue ndk_helper
18 $(call import-module,android/ndk_helper)
TeapotRenderer.cpp 88 mat_model_ = ndk_helper::Mat4::Translation( 0, 0, -15.f );
90 ndk_helper::Mat4 mat = ndk_helper::Mat4::RotationX( M_PI / 3 );
104 mat_projection_ = ndk_helper::Mat4::Perspective( fAspect, 1.f, CAM_NEAR, CAM_FAR );
134 mat_view_ = ndk_helper::Mat4::LookAt( ndk_helper::Vec3( CAM_X, CAM_Y, CAM_Z ),
135 ndk_helper::Vec3( 0.f, 0.f, 0.f ), ndk_helper::Vec3( 0.f, 1.f, 0.f ) );
153 ndk_helper::Mat4 mat_vp = mat_projection_ * mat_view_;
212 if( !ndk_helper::shader::CompileShader( &vert_shader, GL_VERTEX_SHADER, strVsh )
    [all...]
  /development/ndk/sources/android/ndk_helper/
JNIHelper.h 26 #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, ndk_helper::JNIHelper::GetInstance()->GetAppName(), __VA_ARGS__))
27 #define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, ndk_helper::JNIHelper::GetInstance()->GetAppName(), __VA_ARGS__))
28 #define LOGE(...) ((void)__android_log_print(ANDROID_LOG_ERROR, ndk_helper::JNIHelper::GetInstance()->GetAppName(), __VA_ARGS__))
30 namespace ndk_helper namespace
perfMonitor.h 25 namespace ndk_helper namespace
Android.mk 5 LOCAL_MODULE:= ndk_helper
GLContext.h 29 namespace ndk_helper namespace
interpolator.h 27 namespace ndk_helper namespace
perfMonitor.cpp 19 namespace ndk_helper namespace
shader.h 33 namespace ndk_helper namespace
gestureDetector.h 32 namespace ndk_helper namespace
tapCamera.h 26 namespace ndk_helper namespace
interpolator.cpp 21 namespace ndk_helper namespace
GLContext.cpp 27 namespace ndk_helper namespace
shader.cpp 23 namespace ndk_helper namespace
gestureDetector.cpp 22 namespace ndk_helper namespace
tapCamera.cpp 25 namespace ndk_helper namespace
JNIHelper.cpp 23 namespace ndk_helper namespace
vecmath.cpp 22 namespace ndk_helper namespace
vecmath.h 23 namespace ndk_helper namespace
1115 } //namespace ndk_helper

Completed in 145 milliseconds