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

1 2

  /development/ndk/sources/android/ndk_helper/
tapCamera.h 74 Mat4 mat_rotation_;
75 Mat4 mat_transform_;
90 Mat4& GetRotationMatrix();
91 Mat4& GetTransformMatrix();
vecmath.cpp 38 Vec4 Vec4::operator*( const Mat4& rhs ) const
49 // mat4
51 Mat4::Mat4()
57 Mat4::Mat4( const float* mIn )
63 Mat4 Mat4::operator*( const Mat4& rhs ) const
65 Mat4 ret
    [all...]
vecmath.h 37 class Mat4;
52 friend class Mat4;
256 friend class Mat4;
497 friend class Mat4;
695 Vec4 operator*( const Mat4& rhs ) const;
746 class Mat4
756 Mat4();
757 Mat4( const float* );
759 Mat4 operator*( const Mat4& rhs ) const
    [all...]
tapCamera.cpp 134 mat_transform_ = Mat4::Translation( vec );
137 Mat4& TapCamera::GetRotationMatrix()
142 Mat4& TapCamera::GetTransformMatrix()
  /development/ndk/platforms/android-17/samples/Teapot/jni/
TeapotRenderer.h 88 ndk_helper::Mat4 mat_projection_;
89 ndk_helper::Mat4 mat_view_;
90 ndk_helper::Mat4 mat_model_;
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 ),
153 ndk_helper::Mat4 mat_vp = mat_projection_ * mat_view_;
  /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_;
MoreTeapotsRenderer.cpp 122 ndk_helper::Mat4::Translation( iX * gap_x + offset_x, iY * gap_y + offset_y,
181 * (ubo_matrix_stride_ + ubo_matrix_stride_ + ubo_vector_stride_); //Mat4 + Mat4 + Vec3 + 1 stride
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 ),
321 ndk_helper::Mat4 mat_rotation = ndk_helper::Mat4::RotationX( fX )
322 * ndk_helper::Mat4::RotationY( fY );
325 ndk_helper::Mat4 mat_v = mat_view_ * vec_mat_models_[i] * mat_rotation;
326 ndk_helper::Mat4 mat_vp = mat_projection_ * mat_v
    [all...]
  /external/deqp/modules/gles2/scripts/
gen-swizzles.py 28 # * note: mat4[0].x = 1.0; vs mat4[0][0] = 1.0; ??
68 "mat4": 16
181 inMat4 = [Mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0),
182 Mat4(6.5, 12.5, -0.75, 9.975, 32.0, 1.0/48.0, -8.425, -6.542, 1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0, -6.725, -0.5, -0.0125, 9.975),
183 #Mat4(128.0, 256.0, -512.0, -1024.0, 2048.0, -4096.0, 8192.0, -8192.0, 192.0, -384.0, 768.0, -1536.0, 8192.0, -8192.0, 6144.0, -6144.0)
215 "mat4": inMat4
gen-conversions.py 45 # * note: mat4[0].x = 1.0; vs mat4[0][0] = 1.0; ??
225 inMat4 = [Mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0),
226 Mat4(6.5, 12.5, -0.75, 9.975, 32.0, 1.0/48.0, -8.425, -6.542, 1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0, -6.725, -0.5, -0.0125, 9.975),
227 #Mat4(128.0, 256.0, -512.0, -1024.0, 2048.0, -4096.0, 8192.0, -8192.0, 192.0, -384.0, 768.0, -1536.0, 8192.0, -8192.0, 6144.0, -6144.0)
genutil.py 502 def toMat4(self): return Mat4(float(self.x), 0.0, 0.0, 0.0, 0.0, float(self.y), 0.0, 0.0, 0.0, 0.0, float(self.z), 0.0, 0.0, 0.0, 0.0, float(self.w));
645 class Mat4(Mat):
  /external/deqp/modules/gles3/scripts/
gen-swizzles.py 28 # * note: mat4[0].x = 1.0; vs mat4[0][0] = 1.0; ??
68 "mat4": 16
185 inMat4 = [Mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0),
186 Mat4(6.5, 12.5, -0.75, 9.975, 32.0, 1.0/48.0, -8.425, -6.542, 1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0, -6.725, -0.5, -0.0125, 9.975),
187 #Mat4(128.0, 256.0, -512.0, -1024.0, 2048.0, -4096.0, 8192.0, -8192.0, 192.0, -384.0, 768.0, -1536.0, 8192.0, -8192.0, 6144.0, -6144.0)
219 "mat4": inMat4
gen-conversions.py 45 # * note: mat4[0].x = 1.0; vs mat4[0][0] = 1.0; ??
248 inMat4 = [Mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0),
249 Mat4(6.5, 12.5, -0.75, 9.975, 32.0, 1.0/48.0, -8.425, -6.542, 1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0, -6.725, -0.5, -0.0125, 9.975),
250 #Mat4(128.0, 256.0, -512.0, -1024.0, 2048.0, -4096.0, 8192.0, -8192.0, 192.0, -384.0, 768.0, -1536.0, 8192.0, -8192.0, 6144.0, -6144.0)
genutil.py 615 def toMat4(self): return Mat4(float(self.x), 0.0, 0.0, 0.0, 0.0, float(self.y), 0.0, 0.0, 0.0, 0.0, float(self.z), 0.0, 0.0, 0.0, 0.0, float(self.w));
786 class Mat4(Mat):
  /external/deqp/modules/gles3/functional/
es3fTextureUnitTests.cpp 50 using tcu::Mat4;
184 static Mat4 matExtend3To4 (const Mat3& mat)
186 Mat4 res;
218 matricesStr += "uniform highp mat4 " + transformationName + ";\n";
286 static tcu::Vector<tcu::Vec2, 3> calculateLodDerivateParts (const Mat4& transformation)
352 vector<Mat4> m_transformations;
459 Mat4 transformation = matExtend3To4(Mat3(tempOffsetData) *
490 Mat4 finalTrans = matExtend3To4(Mat3(s_cubeTransforms[faceNdx]) * planarTrans); // Final transformation from planar to cube map coordinates, including the transformation just generated.
491 Mat4 planarTrans4x4 = matExtend3To4(planarTrans);
508 Mat4 transformation(transData)
    [all...]
es3fShaderMatrixTests.cpp 75 using tcu::Mat4;
276 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT4, tcu::Mat4);
509 template <> inline tcu::Mat4 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat4(s_constInMat4x4[inputNdx]); }
595 template <> inline tcu::Mat4 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx)
598 tcu::Mat4 m;
619 inline tcu::Vec3 reduceToVec3 (const tcu::Mat4& value) { return value.getColumn(0).swizzle(0,1,2) + value.getColumn(1).swizzle(1,2,3) + value.getColumn(2).swizzle(2,3,0) + value.getColumn(3).swizzle(3,0,1); }
839 return Mat4(result);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fShaderMatrixTests.cpp 67 using tcu::Mat4;
96 static const Mat4 s_constInMat4[2] = { tcu::translationMatrix(tcu::Vec3(0.2f, -0.3f, 0.15f)), tcu::Mat4(s_constInMat41) };
162 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT4, tcu::Mat4);
344 template <> inline tcu::Mat4 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInMat4[inputNdx]; }
370 template <> inline tcu::Mat4 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx)
373 tcu::Mat4 m;
388 inline tcu::Vec3 reduceToVec3 (const tcu::Mat4& value) { return value.getColumn(0).swizzle(0,1,2) + value.getColumn(1).swizzle(1,2,3) + value.getColumn(2).swizzle(2,3,0) + value.getColumn(3).swizzle(3,0,1); }
880 case TYPE_FLOAT_MAT4: writeMatrixConstructor<4, 4>(op, Mat4(s_constInMat4[inNdx])); break;
    [all...]
es2fShaderTextureFunctionTests.cpp 291 m_userAttribTransforms.push_back(tcu::Mat4(baseCoordTrans));
306 m_userAttribTransforms.push_back(tcu::Mat4(lodCoordTrans));
  /external/deqp/framework/opengl/
gluShaderUtil.hpp 228 template <> struct DataTypeTraits<tcu::Mat4> { enum { DATATYPE = TYPE_FLOAT_MAT4 }; };
  /external/deqp/modules/glshared/
glsShaderRenderCase.cpp 153 QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures);
160 const vector<Mat4> getUserAttribTransforms (void) const { return m_userAttribTransforms; }
181 vector<Mat4> m_userAttribTransforms;
193 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures)
glsShaderRenderCase.hpp 251 std::vector<tcu::Mat4> m_userAttribTransforms;
glsLongStressTestUtil.cpp 35 using tcu::Mat4;
143 "uniform mediump mat4 u_posTrans;\n"
277 "uniform highp mat4 u_mvpMatrix${NS};\n"
278 "uniform mediump mat4 u_modelViewMatrix${NS};\n"
280 "uniform mediump mat4 u_texCoordMatrix0${NS};\n"
445 "uniform highp mat4 u_mvpMatrix${NS};\n"
446 "uniform highp mat4 u_modelViewMatrix${NS};\n"
448 "uniform mediump mat4 u_texCoordMatrix0${NS};\n"
  /external/deqp/modules/gles2/performance/
es2pShaderCompilationCases.cpp 54 using tcu::Mat4;
788 "uniform highp mat4 u_mvpMatrix${NAME_SPEC};\n"
789 "uniform highp mat4 u_modelViewMatrix${NAME_SPEC};\n"
791 "uniform mediump mat4 u_texCoordMatrix0${NAME_SPEC};\n"
    [all...]
  /external/deqp/modules/gles3/performance/
es3pShaderCompilationCases.cpp 54 using tcu::Mat4;
789 "uniform highp mat4 u_mvpMatrix${NAME_SPEC};\n"
790 "uniform highp mat4 u_modelViewMatrix${NAME_SPEC};\n"
792 "uniform mediump mat4 u_texCoordMatrix0${NAME_SPEC};\n"
    [all...]
  /external/deqp/modules/gles31/scripts/
genutil.py 617 def toMat4(self): return Mat4(float(self.x), 0.0, 0.0, 0.0, 0.0, float(self.y), 0.0, 0.0, 0.0, 0.0, float(self.z), 0.0, 0.0, 0.0, 0.0, float(self.w));
788 class Mat4(Mat):

Completed in 919 milliseconds

1 2