Searched defs:perspective (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DPerspectiveTransformOperation.h40 double perspective() const { return m_p; } function in class:blink::PerspectiveTransformOperation
/external/chromium_org/ui/gfx/
H A Dtransform_util.h29 SkMScalar perspective[4]; member in struct:gfx::DecomposedTransform
46 // Decomposes this transform into its translation, scale, skew, perspective,
H A Dtransform_util.cc122 matrix.setDouble(3, i, decomp.perspective[i]);
221 Transform ComposeTransform(const SkMatrix44& perspective, argument
228 matrix.preConcat(perspective);
289 perspective[0] = perspective[1] = perspective[2] = 0.0;
291 perspective[3] = quaternion[3] = 1.0;
304 out->perspective, to.perspective, from.perspective, scale
437 SkMatrix44 perspective = BuildPerspectiveMatrix(decomp); local
457 SkMatrix44 perspective = BuildPerspectiveMatrix(decomp); local
[all...]
H A Dtransform_unittest.cc687 Transform perspective; local
688 perspective.ApplyPerspectiveDepth(1.f);
690 perspective.TransformPoint(&transformed);
694 perspective.MakeIdentity();
695 perspective.ApplyPerspectiveDepth(1.1f);
696 perspective.TransformPoint(&transformed);
1268 // perspective * translation * rotation * skew * scale
1327 EXPECT_EQ(0.0, decomp.perspective[i]);
1330 EXPECT_EQ(1.0, decomp.perspective[3]);
1468 // This tests if IsBackFaceVisible works properly under perspective
[all...]
/external/chromium_org/cc/layers/
H A Dlayer_utils_unittest.cc193 gfx::Transform perspective; local
194 perspective.ApplyPerspectiveDepth(100.f);
195 parent()->SetTransform(perspective);
/external/chromium_org/third_party/skia/gm/
H A Dglyph_pos.cpp99 SkMatrix perspective; variable
100 perspective.setIdentity();
101 perspective.setPerspX(-SkScalarDiv(SK_Scalar1, 340.0f));
102 perspective.setSkewX(SkScalarDiv(8.0f,
104 perspective.setSkewY(SkScalarDiv(2.0f,
108 canvas->concat(perspective);
H A Dgradients.cpp156 // Based on the original gradient slide, but with perspective applied to the
190 // apply an increasing y perspective as we move to the right
191 SkMatrix perspective; local
192 perspective.setIdentity();
193 perspective.setPerspY(SkScalarDiv(SkIntToScalar((unsigned) i+1),
195 perspective.setSkewX(SkScalarDiv(SkIntToScalar((unsigned) i+1),
198 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, perspective);
214 // Based on the original gradient slide, but with perspective applied to
225 SkMatrix perspective; local
226 perspective
[all...]
H A Dgmmain.cpp1495 DEFINE_bool(forcePerspectiveMatrix, false, "Force a perspective matrix.");
1500 "text shadows or perspective bitmaps.");
2344 SkMatrix perspective; local
2345 perspective.setIdentity();
2346 perspective.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
2347 perspective.setSkewX(SkScalarDiv(SkIntToScalar(8),
2350 gm->setStarterMatrix(perspective);
/external/chromium_org/net/quic/crypto/
H A Dcrypto_utils.cc86 Perspective perspective,
105 if (perspective == SERVER) {
81 DeriveKeys(StringPiece premaster_secret, QuicTag aead, StringPiece client_nonce, StringPiece server_nonce, const string& hkdf_input, Perspective perspective, CrypterPair* crypters, string* subkey_secret) argument
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dmat4.js739 * Generates a perspective projection matrix with the given bounds
748 mat4.perspective = function (out, fovy, aspect, near, far) {
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A DMatrix.cpp76 Matrix4 Matrix4::perspective(float fovY, float aspectRatio, float nearZ, float farZ) function in class:Matrix4
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c82 * perspective divide.
100 * \param perspective does the shader expects pre-multiplied w, i.e.,
109 boolean perspective)
125 if (perspective) {
145 if (perspective) {
157 info->a0[slot][3] = perspective ? w0 : 1.0f;
220 boolean perspective = !!(interp == LP_INTERP_PERSPECTIVE); local
223 if (perspective & usage_mask) {
255 perspective);
265 if (perspective) {
104 texcoord_coef(struct lp_setup_context *setup, const struct point_info *info, unsigned slot, unsigned i, unsigned sprite_coord_origin, boolean perspective) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c82 * perspective divide.
100 * \param perspective does the shader expects pre-multiplied w, i.e.,
109 boolean perspective)
125 if (perspective) {
145 if (perspective) {
157 info->a0[slot][3] = perspective ? w0 : 1.0f;
220 boolean perspective = !!(interp == LP_INTERP_PERSPECTIVE); local
223 if (perspective & usage_mask) {
255 perspective);
265 if (perspective) {
104 texcoord_coef(struct lp_setup_context *setup, const struct point_info *info, unsigned slot, unsigned i, unsigned sprite_coord_origin, boolean perspective) argument
[all...]
/external/skia/gm/
H A Dgradients.cpp156 // Based on the original gradient slide, but with perspective applied to the
190 // apply an increasing y perspective as we move to the right
191 SkMatrix perspective; local
192 perspective.setIdentity();
193 perspective.setPerspY(SkScalarDiv(SkIntToScalar((unsigned) i+1),
195 perspective.setSkewX(SkScalarDiv(SkIntToScalar((unsigned) i+1),
198 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, perspective);
214 // Based on the original gradient slide, but with perspective applied to
225 SkMatrix perspective; local
226 perspective
[all...]
H A Dgmmain.cpp1485 DEFINE_bool(forcePerspectiveMatrix, false, "Force a perspective matrix.");
1490 "text shadows or perspective bitmaps.");
2312 SkMatrix perspective; local
2313 perspective.setIdentity();
2314 perspective.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
2315 perspective.setSkewX(SkScalarDiv(SkIntToScalar(8),
2318 gm->setStarterMatrix(perspective);
/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc458 ESMatrix perspective; local
459 perspective.LoadIdentity();
460 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
467 state_->mvp_matrix_.Multiply(&modelview, &perspective);
/external/chromium_org/ppapi/examples/compositor/
H A Dspinning_cube.cc449 ESMatrix perspective; local
450 perspective.LoadIdentity();
451 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
458 state_->mvp_matrix_.Multiply(&modelview, &perspective);
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
H A Dspinning_cube.cc456 ESMatrix perspective; local
457 perspective.LoadIdentity();
458 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
465 state_->mvp_matrix_.Multiply(&modelview, &perspective);
/external/chromium_org/cc/animation/
H A Dtransform_operations_unittest.cc1309 TransformOperations perspective; local
1310 perspective.AppendPerspective(1.f);
1311 EXPECT_FALSE(perspective.AffectsScale());
1368 TransformOperations perspective; local
1369 perspective.AppendPerspective(1.f);
1370 EXPECT_FALSE(perspective.IsTranslation());
/external/chromium-trace/trace-viewer/third_party/gl-matrix/dist/
H A Dgl-matrix.js3222 * Generates a perspective projection matrix with the given bounds
3231 mat4.perspective = function (out, fovy, aspect, near, far) {
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common_unittest.cc2407 // a perspective projection onto the target surface.
2414 // perspective foreshortening, the layer will fit fully in the surface when
2415 // its translated more than the perspective amount.
2418 // The following sequence of transforms applies the perspective about the
2435 // Explanation of expected result: The perspective ratio is (z distance
2489 // perspective and rotation about the center of the layer.
2514 // transform was a perspective projection that was clipped, it returns a rect
4269 // The scale for the perspective surface is not known, so it is rendered 1:1
7963 TransformOperations perspective; local
7964 perspective
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.h882 // Return true if any transform related property (currently transform, transformStyle3D or perspective)
914 float perspective() const { return rareNonInheritedData->m_perspective; } function in class:blink::RenderStyle
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 7670 milliseconds