Searched refs:perspectiveMatrix (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/ |
H A D | PostSubBuffer.cpp | 104 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), local 112 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
|
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/ |
H A D | SimpleVertexShader.cpp | 91 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), local 99 Matrix4 mvpMatrix = perspectiveMatrix * viewMatrix * modelMatrix;
|
/external/chromium_org/ui/gfx/ |
H A D | transform_util.cc | 321 SkMatrix44 perspectiveMatrix = matrix; 324 perspectiveMatrix.set(3, i, 0.0); 326 perspectiveMatrix.set(3, 3, 1.0); 330 if (std::abs(perspectiveMatrix.determinant()) < 1e-8) 343 // Solve the equation by inverting perspectiveMatrix and multiplying 346 if (!perspectiveMatrix.invert(&inversePerspectiveMatrix))
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
H A D | TransformationMatrix.cpp | 312 // perspectiveMatrix is used to solve for perspective, but it also provides 314 TransformationMatrix::Matrix4 perspectiveMatrix; local 315 memcpy(perspectiveMatrix, localMatrix, sizeof(TransformationMatrix::Matrix4)); 317 perspectiveMatrix[i][3] = 0; 318 perspectiveMatrix[3][3] = 1; 320 if (determinant4x4(perspectiveMatrix) == 0) 332 // Solve the equation by inverting perspectiveMatrix and multiplying 336 inverse(perspectiveMatrix, inversePerspectiveMatrix);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderObject.cpp | 2075 TransformationMatrix perspectiveMatrix; local 2076 perspectiveMatrix.applyPerspective(containerObject->style()->perspective()); 2079 transform = perspectiveMatrix * transform;
|
Completed in 128 milliseconds