OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:qpts
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/skia/src/gpu/
GrPathUtils.cpp
189
void GrPathUtils::QuadUVMatrix::set(const GrPoint
qPts
[3]) {
205
double x0 =
qPts
[0].fX;
206
double y0 =
qPts
[0].fY;
207
double x1 =
qPts
[1].fX;
208
double y1 =
qPts
[1].fY;
209
double x2 =
qPts
[2].fX;
210
double y2 =
qPts
[2].fY;
217
SkScalar maxD =
qPts
[0].distanceToSqd(
qPts
[1]);
219
SkScalar d =
qPts
[1].distanceToSqd(qPts[2])
438
SkPoint*
qpts
= quads->push_back_n(6);
local
446
SkPoint*
qpts
= quads->push_back_n(3);
local
[
all
...]
GrAAConvexPathRenderer.cpp
442
GrPoint
qpts
[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]};
local
448
verts[*v + 1].fPos =
qpts
[0];
449
verts[*v + 2].fPos =
qpts
[2];
450
verts[*v + 3].fPos =
qpts
[0] + segb.fNorms[0];
451
verts[*v + 4].fPos =
qpts
[2] + segb.fNorms[1];
452
verts[*v + 5].fPos =
qpts
[1] + midVec;
454
SkScalar c = segb.fNorms[0].dot(
qpts
[0]);
457
verts[*v + 2].fD0 = -segb.fNorms[0].dot(
qpts
[2]) + c;
462
c = segb.fNorms[1].dot(
qpts
[2]);
464
verts[*v + 1].fD1 = -segb.fNorms[1].dot(
qpts
[0]) + c
[
all
...]
GrAAHairLinePathRenderer.cpp
420
SkPoint*
qPts
= persp ? quadPts : devPts;
422
pts[0] =
qPts
[0];
423
pts[1] =
qPts
[1];
424
pts[2] =
qPts
[2];
537
void set_uv_quad(const SkPoint
qpts
[3], BezierVertex verts[kVertsPerQuad]) {
539
GrPathUtils::QuadUVMatrix DevToUV(
qpts
);
543
void bloat_quad(const SkPoint
qpts
[3], const SkMatrix* toDevice,
548
SkPoint a =
qpts
[0];
549
SkPoint b =
qpts
[1];
550
SkPoint c =
qpts
[2]
[
all
...]
/external/skia/src/gpu/
GrPathUtils.cpp
189
void GrPathUtils::QuadUVMatrix::set(const GrPoint
qPts
[3]) {
205
double x0 =
qPts
[0].fX;
206
double y0 =
qPts
[0].fY;
207
double x1 =
qPts
[1].fX;
208
double y1 =
qPts
[1].fY;
209
double x2 =
qPts
[2].fX;
210
double y2 =
qPts
[2].fY;
217
SkScalar maxD =
qPts
[0].distanceToSqd(
qPts
[1]);
219
SkScalar d =
qPts
[1].distanceToSqd(qPts[2])
438
SkPoint*
qpts
= quads->push_back_n(6);
local
446
SkPoint*
qpts
= quads->push_back_n(3);
local
[
all
...]
GrAAConvexPathRenderer.cpp
442
GrPoint
qpts
[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]};
local
448
verts[*v + 1].fPos =
qpts
[0];
449
verts[*v + 2].fPos =
qpts
[2];
450
verts[*v + 3].fPos =
qpts
[0] + segb.fNorms[0];
451
verts[*v + 4].fPos =
qpts
[2] + segb.fNorms[1];
452
verts[*v + 5].fPos =
qpts
[1] + midVec;
454
SkScalar c = segb.fNorms[0].dot(
qpts
[0]);
457
verts[*v + 2].fD0 = -segb.fNorms[0].dot(
qpts
[2]) + c;
462
c = segb.fNorms[1].dot(
qpts
[2]);
464
verts[*v + 1].fD1 = -segb.fNorms[1].dot(
qpts
[0]) + c
[
all
...]
GrAAHairLinePathRenderer.cpp
420
SkPoint*
qPts
= persp ? quadPts : devPts;
422
pts[0] =
qPts
[0];
423
pts[1] =
qPts
[1];
424
pts[2] =
qPts
[2];
537
void set_uv_quad(const SkPoint
qpts
[3], BezierVertex verts[kVertsPerQuad]) {
539
GrPathUtils::QuadUVMatrix DevToUV(
qpts
);
543
void bloat_quad(const SkPoint
qpts
[3], const SkMatrix* toDevice,
548
SkPoint a =
qpts
[0];
549
SkPoint b =
qpts
[1];
550
SkPoint c =
qpts
[2]
[
all
...]
Completed in 61 milliseconds