Home
last modified time | relevance | path

Searched refs:const (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dextended_min_max.inl8 T const & x,
9 T const & y,
10 T const & z)
18 C<T> const & x,
19 typename C<T>::T const & y,
20 typename C<T>::T const & z
29 C<T> const & x,
30 C<T> const & y,
31 C<T> const & z
40 T const & x,
[all …]
Dsimd_vec4.inl19 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(fvec4SIMD const & v) :
24 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(__m128 const & Data) :
28 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(vec4 const & v) :
35 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s) :
39 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & x, float const & y, float const & z, float co…
44 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const v[4]) :
51 //fvec4SIMD(ref4<float> const & r);
56 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(vec2 const & v, float const & s1, float const & s2) :
60 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s1, vec2 const & v, float const & s2) :
64 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & s1, float const & s2, vec2 const & v) :
[all …]
Dsimd_mat4.inl7 GLM_FUNC_QUALIFIER length_t fmat4x4SIMD::length() const
25 GLM_FUNC_QUALIFIER fvec4SIMD const & fmat4x4SIMD::operator[] argument
28 ) const
50 GLM_FUNC_QUALIFIER fmat4x4SIMD::fmat4x4SIMD(float const & s)
60 float const & x0, float const & y0, float const & z0, float const & w0,
61 float const & x1, float const & y1, float const & z1, float const & w1,
62 float const & x2, float const & y2, float const & z2, float const & w2,
63 float const & x3, float const & y3, float const & z3, float const & w3
74 fvec4SIMD const & v0,
75 fvec4SIMD const & v1,
[all …]
Dscalar_relational.inl9 T const & x,
10 T const & y
19 T const & x,
20 T const & y
29 T const & x,
30 T const & y
39 T const & x,
40 T const & y
49 T const & x,
50 T const & y
[all …]
Drotate_vector.inl9 tvec3<T, P> const & x,
10 tvec3<T, P> const & y,
11 T const & a
31 tvec2<T, P> const & v,
32 T const & angle
36 T const Cos(cos(angle));
37 T const Sin(sin(angle));
47 tvec3<T, P> const & v,
48 T const & angle,
49 tvec3<T, P> const & normal
[all …]
Dvector_query.inl15 …GLM_FUNC_QUALIFIER static bool call(tvec2<T, P> const & v0, tvec2<T, P> const & v1, T const & epsi…
24 …GLM_FUNC_QUALIFIER static bool call(tvec3<T, P> const & v0, tvec3<T, P> const & v1, T const & epsi…
33 …GLM_FUNC_QUALIFIER static bool call(tvec4<T, P> const & v0, tvec4<T, P> const & v1, T const & epsi…
45 GLM_FUNC_QUALIFIER static tvec2<bool, P> call(tvec2<T, P> const & v, T const & epsilon)
56 GLM_FUNC_QUALIFIER static tvec3<bool, P> call(tvec3<T, P> const & v, T const & epsilon)
68 GLM_FUNC_QUALIFIER static tvec4<bool, P> call(tvec4<T, P> const & v, T const & epsilon)
83 vecType<T, P> const & v0,
84 vecType<T, P> const & v1,
85 T const & epsilon
96 vecType<T, P> const & v0,
[all …]
Dextend.inl9 genType const & Origin,
10 genType const & Source,
11 genType const & Distance
20 tvec2<T, P> const & Origin,
21 tvec2<T, P> const & Source,
22 T const & Distance
31 tvec3<T, P> const & Origin,
32 tvec3<T, P> const & Source,
33 T const & Distance
42 tvec4<T, P> const & Origin,
[all …]
Dstring_cast.inl10 GLM_FUNC_QUALIFIER std::string format(const char* msg, ...)
12 std::size_t const STRING_BUFFER(4096);
30 static const char* LabelTrue = "true";
31 static const char* LabelFalse = "false";
36 GLM_FUNC_QUALIFIER static char const * value() {return "%d";};
42 GLM_FUNC_QUALIFIER static char const * value() {return "%f";};
49 GLM_FUNC_QUALIFIER static char const * value() {return "%lld";};
55 GLM_FUNC_QUALIFIER static char const * value() {return "%lld";};
65 GLM_FUNC_QUALIFIER static char const * value() {return "";};
71 GLM_FUNC_QUALIFIER static char const * value() {return "d";};
[all …]
Dspline.inl9 genType const & v1,
10 genType const & v2,
11 genType const & v3,
12 genType const & v4,
13 typename genType::value_type const & s
32 genType const & v1,
33 genType const & t1,
34 genType const & v2,
35 genType const & t2,
36 typename genType::value_type const & s
[all …]
Ddual_quaternion.inl19 …ypename tdualquat<T, P>::part_type const & tdualquat<T, P>::operator[](typename tdualquat<T, P>::l… argument
39 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tdualquat<T, P> const & d)
47 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tdualquat<T, Q> const & d)
59 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r)
64 …UNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & q, tvec3<T, P> const& p)
73 …NC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r, tquat<T, P> const & d)
81 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tdualquat<U, Q> const & q)
87 GLM_FUNC_QUALIFIER tdualquat<T, P>::tdualquat(tmat2x4<T, P> const & m)
93 GLM_FUNC_QUALIFIER tdualquat<T, P>::tdualquat(tmat3x4<T, P> const & m)
102 GLM_FUNC_QUALIFIER tdualquat<T, P> & tdualquat<T, P>::operator=(tdualquat<T, P> const & q)
[all …]
Dmatrix_major_storage.inl9 tvec2<T, P> const & v1,
10 tvec2<T, P> const & v2
23 const tmat2x2<T, P>& m)
35 const tvec3<T, P>& v1,
36 const tvec3<T, P>& v2,
37 const tvec3<T, P>& v3)
54 const tmat3x3<T, P>& m)
71 const tvec4<T, P>& v1,
72 const tvec4<T, P>& v2,
73 const tvec4<T, P>& v3,
[all …]
Drotate_normalized_axis.inl9 tmat4x4<T, P> const & m,
10 T const & angle,
11 tvec3<T, P> const & v
14 T const a = angle;
15 T const c = cos(a);
16 T const s = sin(a);
18 tvec3<T, P> const axis(v);
20 tvec3<T, P> const temp((static_cast<T>(1) - c) * axis);
46 tquat<T, P> const & q,
47 T const & angle,
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Depsilon.inl17 float const & x,
18 float const & y,
19 float const & epsilon
28 double const & x,
29 double const & y,
30 double const & epsilon
39 float const & x,
40 float const & y,
41 float const & epsilon
50 double const & x,
[all …]
Dcolor_encoding.inl7 GLM_FUNC_QUALIFIER tvec3<T, P> convertLinearSRGBToD65XYZ(tvec3<T, P> const& ColorLinearSRGB)
9 tvec3<T, P> const M(0.490f, 0.17697f, 0.2f);
10 tvec3<T, P> const N(0.31f, 0.8124f, 0.01063f);
11 tvec3<T, P> const O(0.490f, 0.01f, 0.99f);
17 GLM_FUNC_QUALIFIER tvec3<T, P> convertD65XYZToLinearSRGB(tvec3<T, P> const& ColorD65XYZ)
19 tvec3<T, P> const M(0.41847f, -0.091169f, 0.0009209f);
20 tvec3<T, P> const N(-0.15866f, 0.25243f, 0.015708f);
21 tvec3<T, P> const O(0.0009209f, -0.0025498f, 0.1786f);
27 GLM_FUNC_QUALIFIER tvec3<T, P> convertLinearSRGBToD50XYZ(tvec3<T, P> const& ColorLinearSRGB)
29 tvec3<T, P> const M(0.436030342570117f, 0.222438466210245f, 0.013897440074263f);
[all …]
Dquaternion_simd.inl13 static tquat<float, P> call(tquat<float, P> const& q1, tquat<float, P> const& q2)
18 …__m128 const mul0 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(0, 1, 2, 3)));
19 …__m128 const mul1 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(1, 0, 3, 2)));
20 …__m128 const mul2 = _mm_mul_ps(q1.Data, _mm_shuffle_ps(q2.Data, q2.Data, _MM_SHUFFLE(2, 3, 0, 1)));
21 __m128 const mul3 = _mm_mul_ps(q1.Data, q2.Data);
24 __m128 const add0 = _mm_dp_ps(mul0, _mm_set_ps(1.0f, -1.0f, 1.0f, 1.0f), 0xff);
25 __m128 const add1 = _mm_dp_ps(mul1, _mm_set_ps(1.0f, 1.0f, 1.0f, -1.0f), 0xff);
26 __m128 const add2 = _mm_dp_ps(mul2, _mm_set_ps(1.0f, 1.0f, -1.0f, 1.0f), 0xff);
27 __m128 const add3 = _mm_dp_ps(mul3, _mm_set_ps(1.0f, -1.0f, -1.0f, -1.0f), 0xff);
29 __m128 const mul4 = _mm_mul_ps(mul0, _mm_set_ps(1.0f, -1.0f, 1.0f, 1.0f));
[all …]
Dtype_ptr.inl14 GLM_FUNC_QUALIFIER T const * value_ptr
16 tvec2<T, P> const & vec
36 GLM_FUNC_QUALIFIER T const * value_ptr
38 tvec3<T, P> const & vec
58 GLM_FUNC_QUALIFIER T const * value_ptr
60 tvec4<T, P> const & vec
80 GLM_FUNC_QUALIFIER T const * value_ptr
82 tmat2x2<T, P> const & mat
102 GLM_FUNC_QUALIFIER T const * value_ptr
104 tmat3x3<T, P> const & mat
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DMacPixelFormatsAttribs.m19 static const NSOpenGLPixelFormatAttribute attrs32_1[] =
27 static const NSOpenGLPixelFormatAttribute attrs32_2[] =
36 static const NSOpenGLPixelFormatAttribute attrs32_3[] =
43 static const NSOpenGLPixelFormatAttribute attrs32_4[] =
49 static const NSOpenGLPixelFormatAttribute attrs32_5[] =
57 static const NSOpenGLPixelFormatAttribute attrs32_6[] =
65 static const NSOpenGLPixelFormatAttribute attrs32_7[] =
75 static const NSOpenGLPixelFormatAttribute attrs16_1[] =
90 const NSOpenGLPixelFormatAttribute* const* getPixelFormatsAttributes(int* size){
91 static const NSOpenGLPixelFormatAttribute* const arr[] = {
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dtype_mat4x3.inl23 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, P> const & m)
34 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, Q> const & m)
47 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(T const & s)
58 T const & x0, T const & y0, T const & z0,
59 T const & x1, T const & y1, T const & z1,
60 T const & x2, T const & y2, T const & z2,
61 T const & x3, T const & y3, T const & z3
73 col_type const & v0,
74 col_type const & v1,
75 col_type const & v2,
[all …]
Dfunc_integer_simd.inl14 …GLM_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Sh…
16 __m128i const set0 = v.data;
18 __m128i const set1 = _mm_set1_epi32(Mask);
19 __m128i const and1 = _mm_and_si128(set0, set1);
20 __m128i const sft1 = _mm_slli_epi32(and1, Shift);
22 __m128i const set2 = _mm_andnot_si128(set0, _mm_set1_epi32(-1));
23 __m128i const and2 = _mm_and_si128(set0, set2);
24 __m128i const sft2 = _mm_srai_epi32(and2, Shift);
26 __m128i const or0 = _mm_or_si128(sft1, sft2);
35 …GLM_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Sh…
[all …]
Dtype_mat4x4.inl25 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(tmat4x4<T, P> const & m)
36 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(tmat4x4<T, Q> const & m)
49 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(T const & s)
60 T const & x0, T const & y0, T const & z0, T const & w0,
61 T const & x1, T const & y1, T const & z1, T const & w1,
62 T const & x2, T const & y2, T const & z2, T const & w2,
63 T const & x3, T const & y3, T const & z3, T const & w3
75 col_type const & v0,
76 col_type const & v1,
77 col_type const & v2,
[all …]
Dfunc_geometric.inl16 GLM_FUNC_QUALIFIER static T call(vecType<T, P> const & v)
25 GLM_FUNC_QUALIFIER static T call(vecType<T, P> const & p0, vecType<T, P> const & p1)
37 GLM_FUNC_QUALIFIER static T call(tvec1<T, P> const & a, tvec1<T, P> const & b)
46 GLM_FUNC_QUALIFIER static T call(tvec2<T, P> const & x, tvec2<T, P> const & y)
56 GLM_FUNC_QUALIFIER static T call(tvec3<T, P> const & x, tvec3<T, P> const & y)
66 GLM_FUNC_QUALIFIER static T call(tvec4<T, P> const & x, tvec4<T, P> const & y)
76 GLM_FUNC_QUALIFIER static tvec3<T, P> call(tvec3<T, P> const & x, tvec3<T, P> const & y)
90 GLM_FUNC_QUALIFIER static vecType<T, P> call(vecType<T, P> const & v)
101 …UALIFIER static vecType<T, P> call(vecType<T, P> const & N, vecType<T, P> const & I, vecType<T, P>…
112 GLM_FUNC_QUALIFIER static vecType<T, P> call(vecType<T, P> const & I, vecType<T, P> const & N)
[all …]
Dfunc_common_simd.inl16 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
27 GLM_FUNC_QUALIFIER static tvec4<int, P> call(tvec4<int, P> const & v)
38 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
49 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
60 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
71 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
82 …GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & x, tvec4<float, P> const & …
93 …GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v1, tvec4<float, P> const &…
104 …GLM_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<int32, P> const & v1, tvec4<int32, P> const &…
115 …UNC_QUALIFIER static tvec4<int32, P> call(tvec4<uint32, P> const & v1, tvec4<uint32, P> const & v2)
[all …]
Dtype_mat2x2.inl23 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, P> const & m)
32 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, Q> const & m)
52 T const & x0, T const & y0,
53 T const & x1, T const & y1
61 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(col_type const & v0, col_type const & v1)
73 X1 const & x1, Y1 const & y1,
74 X2 const & x2, Y2 const & y2
83 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tvec2<V1, P> const & v1, tvec2<V2, P> const & v2)
93 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<U, Q> const & m)
100 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat3x3<T, P> const & m)
[all …]
Dfunc_geometric_simd.inl14 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const & v)
23 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const & p0, tvec4<float, P> const & p1)
32 GLM_FUNC_QUALIFIER static float call(tvec4<float, P> const& x, tvec4<float, P> const& y)
41 …GLM_FUNC_QUALIFIER static tvec3<float, P> call(tvec3<float, P> const & a, tvec3<float, P> const & …
43 __m128 const set0 = _mm_set_ps(0.0f, a.z, a.y, a.x);
44 __m128 const set1 = _mm_set_ps(0.0f, b.z, b.y, b.x);
45 __m128 const xpd0 = glm_vec4_cross(set0, set1);
56 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
67 …IER static tvec4<float, P> call(tvec4<float, P> const& N, tvec4<float, P> const& I, tvec4<float, P…
78 GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const& I, tvec4<float, P> const& N)
[all …]
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles1_only.entries9 void glClipPlane(GLenum plane, const GLdouble *equation);
12 void glColor4fv( const GLfloat *v );
14 void glColor4ubv( const GLubyte *v );
15 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
20 void glFogfv(GLenum pname, const GLfloat *params);
29 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
31 void glLightModelfv(GLenum pname, const GLfloat *params);
33 void glLoadMatrixf(const GLfloat *m);
36 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
37 void glMultiTexCoord2fv( GLenum target, const GLfloat *v );
[all …]

12345678910>>...12