/external/mesa3d/test/ |
cmain.c | 8 int ApproximatelyEqual(const Vector4 lhs, const Vector4 rhs, const float t) 91 if (memcmp(((Vector4 *)&output) + vTexColor, &VECTOR4_CTR(1,1,16/255.0f,1), sizeof(Vector4))) { 92 puts("((Vector4 *)&output)[vTexColor] != Vector4(1,1,0,1)"); 135 if (memcmp(((Vector4 *)&output1) + vTexCoord, input1.attributes + 2, sizeof(Vector4))) { 136 puts("((Vector4 *)&output1)[vTexCoord] != input1.attributes[1]"); 226 Vector4 uVec4 = {1.125f, 1.5f, 1.75f, 1.75f} [all...] |
main.cpp | 258 Vector4 pos = v0.attributes[0]; 341 // VertexOutput tl = {0, Vector4(0,0,0,1), Vector4(0,0,0,1)}; 342 // VertexOutput tr = {0, Vector4(portWidth - 1,0,0,1), Vector4(1,0,0,1)}; 343 // VertexOutput bl = {0, Vector4(0, portHeight-1,0,1), Vector4(0,1,0,1)}; 344 // VertexOutput br = {0, Vector4(portWidth - 1, portHeight - 1,0,1), Vector4(1,1,0,1)}; 349 // VertexOutput vo0 = {0, Vector4(0,y,0,1), Vector4(0,float(y) / (portHeight - 1),0,1)} [all...] |
/external/mesa3d/include/pixelflinger2/ |
pixelflinger2_interface.h | 30 Vector4 attributes[GGL_MAXVERTEXATTRIBS]; // vert input 39 Vector4 pointSize; // vert output 40 Vector4 position; // vert output and frag input gl_FragCoord 41 Vector4 varyings[GGL_MAXVARYINGVECTORS]; 42 Vector4 frontFacingPointCoord; // frag input, gl_FrontFacing gl_PointCoord yzw 43 Vector4 fragColor[GGL_MAXDRAWBUFFERS]; // frag output, gl_FragData 173 void (* ViewportTransform)(const GGLInterface_t * iface, Vector4 * v);
|
pixelflinger2_vector4.h | 175 typedef Vec4<VectorComp_t> Vector4; 176 #define Vector4_CTR(x,y,z,w) Vector4(FixedPoint::From(x), FixedPoint::From(y), \ 185 typedef struct Vec4<VectorComp_t> Vector4; 186 #define Vector4_CTR(x,y,z,w) Vector4(x,y,z,w) 195 //typedef float Vector4 [4]; 196 typedef struct { float x, y, z, w; } Vector4; 211 ((Vector4){x,y,z,w})
|
/external/mesa3d/src/pixelflinger2/ |
raster.cpp | 32 static inline void LerpVector4(const Vector4 * a, const Vector4 * b, 33 const VectorComp_t x, Vector4 * d) __attribute__((always_inline)); 34 static inline void LerpVector4(const Vector4 * a, const Vector4 * b, 35 const VectorComp_t x, Vector4 * d) 80 // const Vector4 * constants = (Vector4 *) 569 static void ViewportTransform(const GGLInterface * iface, Vector4 * v)
|
texture.cpp | 38 static inline void PixelRGBAToVector4 (const Pixel *pixel, Vector4 * color) __attribute__((always_inline)); 39 static inline void PixelRGBAToVector4 (const Pixel *pixel, Vector4 * color) 57 static inline void RGBAToVector4(const unsigned int rgba, Vector4 * color)
|
scanline.cpp | 45 static inline void RGBAFloatx4ToRGBAIntx4(Vector4 * v, Vec4<BlendComp_t> * color) 61 //static inline Pixel Vector4ToPixelRGBA(const Vector4 * color) __attribute__((always_inline)); 62 //static inline Pixel Vector4ToPixelRGBA(const Vector4 * color)
|
llvm_scanline.cpp | 633 offsetof(VertexOutput,fragColor)/sizeof(Vector4)); 725 vPtr = builder.CreateConstInBoundsGEP1_32(start, offsetof(VertexOutput,varyings)/sizeof(Vector4) + i);
|
/external/mesa3d/src/glsl/ |
linker.cpp | [all...] |
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
TransformationMatrix.cpp | 70 typedef double Vector4[4]; 242 static void v4MulPointByMatrix(const Vector4 p, const TransformationMatrix::Matrix4& m, Vector4 result) 320 Vector4 rightHandSide; 333 Vector4 perspectivePoint; 358 // Vector4 type and functions need to be added to the common set. [all...] |