/external/swiftshader/src/Shader/ |
ShaderCore.hpp | 40 class Vector4f 43 Vector4f(); 44 Vector4f(float x, float y, float z, float w); 45 Vector4f(const Vector4f &rhs); 48 Vector4f &operator=(const Vector4f &rhs); 80 Float4 dot2(const Vector4f &v0, const Vector4f &v1); 81 Float4 dot3(const Vector4f &v0, const Vector4f &v1) [all...] |
PixelProgram.hpp | 61 Vector4f c[RENDERTARGETS]; 65 Vector4f vPos; 66 Vector4f vFace; 69 Vector4f p0; 85 Vector4f sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function); 86 Vector4f sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector (…) [all...] |
VertexProgram.hpp | 41 Vector4f a0; 43 Vector4f p0; 70 Vector4f fetchRegister(const Src &src, unsigned int offset = 0); 71 Vector4f readConstant(const Src &src, unsigned int offset = 0); 77 void M3X2(Vector4f &dst, Vector4f &src0, Src &src1); 78 void M3X3(Vector4f &dst, Vector4f &src0, Src &src1); 79 void M3X4(Vector4f &dst, Vector4f &src0, Src &src1) [all...] |
VertexPipeline.hpp | 34 void processTextureCoordinate(int stage, Vector4f &normal, Vector4f &position); 37 Vector4f transformBlend(const Register &src, const Pointer<Byte> &matrix, bool homogenous); 38 Vector4f transform(const Register &src, const Pointer<Byte> &matrix, bool homogenous); 39 Vector4f transform(const Register &src, const Pointer<Byte> &matrix, UInt index[4], bool homogenous); 40 Vector4f normalize(Vector4f &src);
|
SamplerCore.hpp | 53 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy); 54 Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function); 55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod); 58 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12) [all...] |
ShaderCore.cpp | 72 Vector4f::Vector4f() 76 Vector4f::Vector4f(float x, float y, float z, float w) 84 Vector4f::Vector4f(const Vector4f &rhs) 92 Vector4f &Vector4f::operator=(const Vector4f &rhs [all...] |
PixelRoutine.hpp | 54 void fogBlend(Vector4f &c0, Float4 &fog); 61 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x); 62 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, Int &cMask); 80 void blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorActive); 81 void blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor blendFactorAlphaActive);
|
PixelProgram.cpp | 79 oC[i] = Vector4f(0.0f, 0.0f, 0.0f, 0.0f); 123 Vector4f d; 124 Vector4f s0; 125 Vector4f s1; 126 Vector4f s2; 127 Vector4f s3; 128 Vector4f s4; 357 Vector4f pDst; // FIXME: Rename 662 Vector4f color = c[index]; 677 Vector4f PixelProgram::sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vecto (…) [all...] |
VertexPipeline.cpp | 40 Vector4f VertexPipeline::transformBlend(const Register &src, const Pointer<Byte> &matrix, bool homogeneous) 42 Vector4f dst; 109 Vector4f pos0; 110 Vector4f pos1; 115 dst.x = pos0.x * weight0 + pos1.x * weight1; // FIXME: Vector4f operators 124 Vector4f pos0; 125 Vector4f pos1; 126 Vector4f pos2; 141 Vector4f pos0; 142 Vector4f pos1 [all...] |
VertexProgram.cpp | 140 Vector4f d; 141 Vector4f s0; 142 Vector4f s1; 143 Vector4f s2; 144 Vector4f s3; 145 Vector4f s4; 362 Vector4f pDst; // FIXME: Rename 654 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) 656 Vector4f reg; 736 Vector4f mod [all...] |
VertexRoutine.hpp | 61 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, const UInt &index);
|
SamplerCore.cpp | 36 void applySwizzle(sw::SwizzleType swizzle, sw::Float4& f, const sw::Vector4f& c) 59 Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy) 64 Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12) 129 Vector4f cf = sampleFloatFilter(texture, uuuu, vvvv, wwww, qqqq, offset, lod, anisotropy, uDelta, vDelta, face, function); 277 Vector4f SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function [all...] |
PixelPipeline.hpp | 66 void convertFixed12(Vector4s &cs, Vector4f &cf); 68 void convertSigned12(Vector4f &cf, Vector4s &cs);
|
/external/eigen/bench/ |
sparse_trisolver.cpp | 191 Vector4f b = Vector4f::Random(); 192 Vector4f x = Vector4f::Random(); 206 Vector4f b = Vector4f::Random(); 207 Vector4f x = Vector4f::Random();
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
types.h | 31 using vec4f = Eigen::Vector4f;
|
/external/eigen/demos/opengl/ |
quaternion_demo.cpp | 238 glLightfv(GL_LIGHT0, GL_AMBIENT, Vector4f(0.5,0.5,0.5,1).data()); 239 glLightfv(GL_LIGHT0, GL_DIFFUSE, Vector4f(0.5,1,0.5,1).data()); 240 glLightfv(GL_LIGHT0, GL_SPECULAR, Vector4f(1,1,1,1).data()); 241 glLightfv(GL_LIGHT0, GL_POSITION, Vector4f(-sqrt3,-sqrt3,sqrt3,0).data()); 243 glLightfv(GL_LIGHT1, GL_AMBIENT, Vector4f(0,0,0,1).data()); 244 glLightfv(GL_LIGHT1, GL_DIFFUSE, Vector4f(1,0.5,0.5,1).data()); 245 glLightfv(GL_LIGHT1, GL_SPECULAR, Vector4f(1,1,1,1).data()); 246 glLightfv(GL_LIGHT1, GL_POSITION, Vector4f(-sqrt3,sqrt3,-sqrt3,0).data()); 248 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, Vector4f(0.7, 0.7, 0.7, 1).data()); 249 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Vector4f(0.8, 0.75, 0.6, 1).data()) [all...] |
camera.cpp | 262 Vector4f b = invModelview * Vector4f(a.x(), a.y(), a.z(), 1.);
|
/external/eigen/test/ |
sizeof.cpp | 36 CALL_SUBTEST(verifySizeOf(Vector4f()) );
|
dynalloc.cpp | 132 CALL_SUBTEST( check_custom_new_delete<Vector4f>() ); 142 CALL_SUBTEST(check_dynaligned<Vector4f>() );
|
unalignedassert.cpp | 111 construct_at_boundary<Vector4f>(16); 151 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector4f>(8));
|
array_replicate.cpp | 78 CALL_SUBTEST_4( replicate(Vector4f()) );
|
array_reverse.cpp | 141 Vector4f x; x << 1, 2, 3, 4; 142 Vector4f y; y << 4, 3, 2, 1;
|
stddeque_overload.cpp | 16 EIGEN_DEFINE_STL_DEQUE_SPECIALIZATION(Vector4f) 140 CALL_SUBTEST_1(check_stddeque_matrix(Vector4f()));
|
stdlist_overload.cpp | 16 EIGEN_DEFINE_STL_LIST_SPECIALIZATION(Vector4f) 174 CALL_SUBTEST_1(check_stdlist_matrix(Vector4f()));
|
stdvector_overload.cpp | 16 EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(Vector4f) 143 CALL_SUBTEST_1(check_stdvector_matrix(Vector4f()));
|