Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrixProvider.h17 : fLocalToDevice(localToDevice) in SkMatrixProvider()
21 : fLocalToDevice(localToDevice) in SkMatrixProvider()
29 const SkM44& localToDevice44() const { return fLocalToDevice; } in localToDevice44()
38 SkM44 fLocalToDevice; variable
DSkDevice.cpp52 fLocalToDevice = localToDevice; in setDeviceCoordinateSystem()
53 fLocalToDevice.normalizePerspective(); in setDeviceCoordinateSystem()
57 fLocalToDevice.postTranslate(-bufferOriginX, -bufferOriginY); in setDeviceCoordinateSystem()
59 fLocalToDevice33 = fLocalToDevice.asM33(); in setDeviceCoordinateSystem()
63 fLocalToDevice = ctm; in setGlobalCTM()
64 fLocalToDevice.normalizePerspective(); in setGlobalCTM()
67 fLocalToDevice.postConcat(SkM44(fGlobalToDevice)); in setGlobalCTM()
69 fLocalToDevice33 = fLocalToDevice.asM33(); in setGlobalCTM()
104 *localToMarker = globalToMarker * SkM44(fDeviceToGlobal) * fLocalToDevice; in getLocalToMarker()
DSkDevice.h194 fLocalToDevice = localToDevice; in setLocalToDevice()
195 fLocalToDevice33 = fLocalToDevice.asM33(); in setLocalToDevice()
/external/skia/src/gpu/
DGrClipStack.cpp215 if (e.fLocalToDevice.isIdentity()) { in analytic_clip_fp()
228 devicePath.transform(e.fLocalToDevice); in analytic_clip_fp()
249 devicePath->transform(e.fLocalToDevice); in clip_atlas_fp()
316 helper->drawShape(inverted, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask()
318 helper->drawShape(e.fShape, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask()
401 helper.drawShape(e.fShape, e.fLocalToDevice, op, e.fAA); in render_stencil_mask()
477 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
488 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
501 if (!mixedAA && fLocalToDevice == e.fLocalToDevice) { in contains()
516 return shape_contains_rect(fShape, fLocalToDevice, fDeviceToLocal, in contains()
[all …]
DGrClipStack.h35 SkMatrix fLocalToDevice; member
116 const SkMatrix& localToDevice() const { return fLocalToDevice; } in localToDevice()
DSkGpuDevice.cpp285 if (e.fShape.isRect() && e.fLocalToDevice.isIdentity()) {
290 tmpPath.transform(e.fLocalToDevice);
/external/skia/tests/
DGrClipStackTest.cpp100 ElementsBuilder& localToDevice(const SkMatrix& m) { fLocalToDevice = m; return *this; } in localToDevice()
109 return this->rect(rect, fLocalToDevice, fAA, fOp); in rect()
112 return this->rect(rect, fLocalToDevice, aa, op); in rect()
120 return this->rrect(rrect, fLocalToDevice, fAA, fOp); in rrect()
123 return this->rrect(rrect, fLocalToDevice, aa, op); in rrect()
131 return this->path(path, fLocalToDevice, fAA, fOp); in path()
134 return this->path(path, fLocalToDevice, aa, op); in path()
153 SkMatrix fLocalToDevice = SkMatrix::I(); member in __anon593ab8390111::ElementsBuilder
249 expectOptimal &= e.fLocalToDevice.isIdentity(); in getOptimalBounds()
250 elementBounds = GrClip::GetPixelIBounds(e.fLocalToDevice.mapRect(e.fShape.bounds()), in getOptimalBounds()
[all …]