Home
last modified time | relevance | path

Searched refs:persp (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/gm/
Ddftext_blob_persp.cpp119 SkMatrix persp = SkMatrix::I(); in drawBlob() local
124 persp.setPerspX(0.005f); in drawBlob()
127 persp.setPerspY(00.005f); in drawBlob()
130 persp.setPerspX(-0.001f); in drawBlob()
131 persp.setPerspY(-0.0015f); in drawBlob()
134 persp = SkMatrix::Concat(persp, SkMatrix::Translate(-x, -y)); in drawBlob()
135 persp = SkMatrix::Concat(SkMatrix::Translate(x, y), persp); in drawBlob()
136 canvas->concat(persp); in drawBlob()
Dfilltypespersp.cpp116 SkMatrix persp; in onDraw() local
117 persp.reset(); in onDraw()
118 persp.setPerspX(-SK_Scalar1 / 1800); in onDraw()
119 persp.setPerspY(SK_Scalar1 / 500); in onDraw()
120 canvas->concat(persp); in onDraw()
Dbackdrop_imagefilter_croprect.cpp104 SkMatrix persp = SkMatrix::I(); variable
105 persp.setPerspY(0.001f);
106 persp.setSkewX(8.f / 25.f);
107 canvas->concat(persp);
Dlocalmatrixshader.cpp135 SkMatrix persp; variable
136 SkAssertResult(persp.setPolyToPoly(src, dst, 4));
139 SkMatrix perspScale = SkMatrix::Concat(persp, scale);
145 canvas->concat(persp); in __anonf552ffa50602()
166 SkSamplingOptions(), &persp)
195 SkTileMode::kRepeat, 0, &persp)
Ddftext.cpp201 SkMatrix persp; in onDraw() local
202 persp.setAll(0.9839f, 0, 0, in onDraw()
205 canvas->concat(persp); in onDraw()
214 SkMatrix persp; in onDraw() local
215 persp.setAll(0.9839f, 0, 0, in onDraw()
218 canvas->concat(persp); in onDraw()
Dvertices.cpp287 SkMatrix persp; variable
288 persp.setPerspY(SK_Scalar1 / 100);
291 canvas->concat(persp);
297 canvas->concat(persp);
303 canvas->concat(persp);
309 canvas->concat(persp);
Dcomplexclip.cpp377 SkMatrix persp; variable
378 SkAssertResult(persp.setPolyToPoly(src, dst, 4));
380 SkMatrix perspScale = SkMatrix::Concat(persp, scale);
393 gradLM ? &persp : nullptr); in __anonb86f948e0302()
400 canvas->concat(persp); in __anonb86f948e0302()
408 canvas->concat(persp); in __anonb86f948e0302()
416 canvas->concat(persp); in __anonb86f948e0302()
427 SkIRect grid = persp.mapRect(SkRect::Make(img->dimensions())).roundOut();
/third_party/skia/samplecode/
DSampleAndroidShadows.cpp276 SkMatrix persp; in onDrawContent() local
277 view.getMatrix(&persp); in onDrawContent()
278 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
279 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
280 canvas->setMatrix(persp); in onDrawContent()
294 view.getMatrix(&persp); in onDrawContent()
295 persp.preTranslate(-pivot.fX, -pivot.fY); in onDrawContent()
296 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
297 canvas->setMatrix(persp); in onDrawContent()
309 view.getMatrix(&persp); in onDrawContent()
[all …]
/third_party/skia/docs/examples/
Dpersp_text_2.cpp7 SkMatrix persp; in draw() local
8 persp.setAll(0.9839f, 0, 0, 0.2246f, 0.6829f, 0, 0.0002352f, -0.0003844f, 1); in draw()
9 canvas->concat(persp); in draw()
/third_party/skia/src/gpu/ops/
DAAHairLinePathRenderer.cpp268 bool persp = m.hasPerspective(); in gather_lines_and_quads() local
288 SkASSERT(srcPts || !persp); in gather_lines_and_quads()
304 const SkPoint* qPts = persp ? srcPts : devPts; in gather_lines_and_quads()
361 SkPoint* cPts = persp ? chopPnts : devPts; in gather_lines_and_quads()
426 if (persp) { in gather_lines_and_quads()
434 if (persp) { in gather_lines_and_quads()
/third_party/mesa3d/src/intel/tools/tests/gen7.5/
Dsend.asm358 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 2 { align1 1Q };
360 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 4 { align1 1H };
492 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 2 { align1 1Q };
494 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 4 { align1 1H };
1082 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 2 rlen 2 { align1 1Q };
1084 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 4 rlen 4 { align1 1H };
1088 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 2 { align1 1Q };
1090 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 4 { align1 1H };
1092 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 2 { align1 1Q };
1094 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 4 { align1 1H };
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen9/
Dsend.asm522 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 2 { align1 1Q };
524 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 4 { align1 1H };
752 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 2 { align1 1Q };
754 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 4 { align1 1H };
1988 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 2 rlen 2 { align1 1Q };
1990 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 4 rlen 4 { align1 1H };
1992 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 2 { align1 1Q };
1994 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 4 { align1 1H };
1996 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 2 { align1 1Q };
1998 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 4 { align1 1H };
[all …]
/third_party/skia/tools/viewer/
DViewer.cpp1226 SkMatrix persp = this->computePerspectiveMatrix(); in computePreTouchMatrix() local
1227 m.postConcat(persp); in computePreTouchMatrix()
/third_party/mesa3d/src/intel/tools/tests/gen8/
Dsend.asm610 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 2 { align1 1Q };
612 … pixel interp MsgDesc: (persp, per_message_offset, 0x08) mlen 1 rlen 4 { align1 1H };
908 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 2 { align1 1Q };
910 … pixel interp MsgDesc: (persp, sample_position, 0x00) mlen 1 rlen 4 { align1 1H };
2274 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 2 rlen 2 { align1 1Q };
2276 … pixel interp MsgDesc: (persp, per_slot_offset, 0x00) mlen 4 rlen 4 { align1 1H };
2278 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 2 { align1 1Q };
2280 … pixel interp MsgDesc: (persp, sample_position, 0x10) mlen 1 rlen 4 { align1 1H };
2282 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 2 { align1 1Q };
2284 … pixel interp MsgDesc: (persp, sample_position, 0x20) mlen 1 rlen 4 { align1 1H };
[all …]
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst1948 - ir3: Use non-persp interpolation when appropriate for interpolateAtOffset.