Home
last modified time | relevance | path

Searched refs:fLocalToDevice (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/src/core/
DSkMatrixProvider.h17 : fLocalToDevice(localToDevice) in SkMatrixProvider()
21 : fLocalToDevice(localToDevice) in SkMatrixProvider()
32 const SkM44& localToDevice44() const { return fLocalToDevice; } in localToDevice44()
41 SkM44 fLocalToDevice; variable
DSkDevice.cpp55 fLocalToDevice = localToDevice; in setDeviceCoordinateSystem()
56 fLocalToDevice.normalizePerspective(); in setDeviceCoordinateSystem()
60 fLocalToDevice.postTranslate(-bufferOriginX, -bufferOriginY); in setDeviceCoordinateSystem()
62 fLocalToDevice33 = fLocalToDevice.asM33(); in setDeviceCoordinateSystem()
67 fLocalToDevice = ctm; in setGlobalCTM()
68 fLocalToDevice.normalizePerspective(); in setGlobalCTM()
70 fLocalToDevice.postConcat(fGlobalToDevice); in setGlobalCTM()
71 fLocalToDevice33 = fLocalToDevice.asM33(); in setGlobalCTM()
109 *localToMarker = globalToMarker * fDeviceToGlobal * fLocalToDevice; in getLocalToMarker()
DSkDevice.h189 fLocalToDevice = localToDevice; in setLocalToDevice()
190 fLocalToDevice33 = fLocalToDevice.asM33(); in setLocalToDevice()
/third_party/skia/src/gpu/v1/
DClipStack.cpp216 if (e.fLocalToDevice.isIdentity()) { in analytic_clip_fp()
229 devicePath.transform(e.fLocalToDevice); in analytic_clip_fp()
256 scissorBounds, e.fLocalToDevice, path); in clip_atlas_fp()
301 helper->drawShape(inverted, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask()
303 helper->drawShape(e.fShape, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask()
391 helper.drawShape(e.fShape, e.fLocalToDevice, op, e.fAA); in render_stencil_mask()
469 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
480 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
493 if (!mixedAA && fLocalToDevice == e.fLocalToDevice) { in contains()
508 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
[all …]
DClipStack.h38 SkMatrix fLocalToDevice; member
118 const SkMatrix& localToDevice() const { return fLocalToDevice; } in localToDevice()
DDevice.cpp284 if (e.fShape.isRect() && e.fLocalToDevice.isIdentity()) { in onAsRgnClip()
289 tmpPath.transform(e.fLocalToDevice); in onAsRgnClip()
/third_party/skia/tests/
DGrClipStackTest.cpp105 ElementsBuilder& localToDevice(const SkMatrix& m) { fLocalToDevice = m; return *this; } in localToDevice()
114 return this->rect(rect, fLocalToDevice, fAA, fOp); in rect()
117 return this->rect(rect, fLocalToDevice, aa, op); in rect()
125 return this->rrect(rrect, fLocalToDevice, fAA, fOp); in rrect()
128 return this->rrect(rrect, fLocalToDevice, aa, op); in rrect()
136 return this->path(path, fLocalToDevice, fAA, fOp); in path()
139 return this->path(path, fLocalToDevice, aa, op); in path()
158 SkMatrix fLocalToDevice = SkMatrix::I(); member in __anon14e25fe30111::ElementsBuilder
256 expectOptimal &= e.fLocalToDevice.isIdentity(); in getOptimalBounds()
257 elementBounds = GrClip::GetPixelIBounds(e.fLocalToDevice.mapRect(e.fShape.bounds()), in getOptimalBounds()
[all …]