Home
last modified time | relevance | path

Searched refs:fOrigin (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/src/gpu/
DGrSurfaceProxyView.h23 : fProxy(std::move(proxy)), fOrigin(origin), fSwizzle(swizzle) {} in GrSurfaceProxyView()
27 : fProxy(std::move(proxy)), fOrigin(kTopLeft_GrSurfaceOrigin) {} in GrSurfaceProxyView()
39 fOrigin == view.fOrigin &&
79 GrSurfaceOrigin origin() const { return fOrigin; } in origin()
85 return {fProxy, fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle()
89 return {std::move(fProxy), fOrigin, GrSwizzle::Concat(fSwizzle, swizzle)}; in makeSwizzle()
136 GrSurfaceOrigin fOrigin = kTopLeft_GrSurfaceOrigin; variable
DGrCopyRenderTask.cpp47 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask()
71 fOrigin, in onMakeClosed()
88 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute()
90 if (fOrigin == kBottomLeft_GrSurfaceOrigin) { in onExecute()
DGrOpsRenderPass.h142 GrOpsRenderPass() : fOrigin(kTopLeft_GrSurfaceOrigin), fRenderTarget(nullptr) {} in GrOpsRenderPass()
145 : fOrigin(origin) in GrOpsRenderPass()
153 fOrigin = origin; in set()
156 GrSurfaceOrigin fOrigin; variable
DGrProgramInfo.h31 , fOrigin(targetView.origin()) in GrProgramInfo()
64 GrSurfaceOrigin origin() const { return fOrigin; } in origin()
106 GrSurfaceOrigin fOrigin; variable
/third_party/skia/src/core/
DSkSurfaceCharacterization.cpp52 fOrigin == other.fOrigin && in operator ==()
76 fImageInfo.makeWH(width, height), fBackendFormat, fOrigin, in createResized()
91 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, fUsesGLFBO0, in createColorSpace()
106 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, fUsesGLFBO0, in createBackendFormat()
125 fOrigin, fSampleCnt, fIsTextureable, fIsMipMapped, in createFBO0()
DSkBitmapDevice.cpp59 SkIPoint fOrigin; member in SkDrawTiler
111 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler()
117 fOrigin.set(0, 0); in SkDrawTiler()
151 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw()
152 fOrigin.fX = fSrcBounds.fLeft; in stepAndSetupTileDraw()
153 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw()
155 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw()
158 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw()
159 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw()
161 SkIRect bounds = SkIRect::MakeXYWH(fOrigin.x(), fOrigin.y(), kMaxDim, kMaxDim); in stepAndSetupTileDraw()
[all …]
DSkYUVAInfo.cpp311 , fOrigin(origin) in SkYUVAInfo()
361 return {fDimensions, fPlaneConfig, subsampling, fYUVColorSpace, fOrigin, fSitingX, fSitingY}; in makeSubsampling()
365 return {dimensions, fPlaneConfig, fSubsampling, fYUVColorSpace, fOrigin, fSitingX, fSitingY}; in makeDimensions()
375 fOrigin == that.fOrigin; in operator ==()
DSkImageFilterTypes.h516 FilterResult() : fImage(nullptr), fOrigin(SkIPoint::Make(0, 0)) {} in FilterResult()
520 , fOrigin(origin) {} in FilterResult()
523 , fOrigin{{0, 0}} {} in FilterResult()
531 return LayerSpace<SkIRect>(SkIRect::MakeXYWH(fOrigin.x(), fOrigin.y(), in layerBounds()
536 const LayerSpace<SkIPoint>& layerOrigin() const { return fOrigin; } in layerOrigin()
556 *offset = SkIPoint(fOrigin); in imageAndOffset()
566 LayerSpace<SkIPoint> fOrigin; variable
DSkGlyphRun.h102 SkPoint origin() const { return fOrigin; } in origin()
119 const SkPoint fOrigin = {0, 0}; variable
/third_party/skia/gm/
Dparticles.cpp36 , fOrigin(origin)
76 canvas->translate(fOrigin.fX, fOrigin.fY); in onDraw()
85 const SkPoint fOrigin; member in ParticlesGM
Dlazytiling.cpp174 : fOrigin(origin) in LazyTilingGM()
183 return SkStringPrintf("lazytiling_%s", fOrigin == kTopLeft_GrSurfaceOrigin ? "tl" : "bl"); in onShortName()
198 fOrigin); in onGpuSetup()
200 fView = create_view(dContext, bm, fOrigin); in onGpuSetup()
263 GrSurfaceOrigin fOrigin; member in skiagm::LazyTilingGM
/third_party/skia/src/utils/
DSkCamera.cpp29 fOrigin = {0, 0, 0}; in reset()
40 auto [x,y,z,_] = m.map(fOrigin.x, fOrigin.y, fOrigin.z, 1); in transform()
41 dst->fOrigin = {x, y, z}; in transform()
122 SkV3 diff = quilt.fOrigin - fLocation; in patchToMatrix()
/third_party/skia/include/core/
DSkSurfaceCharacterization.h46 , fOrigin(kBottomLeft_GrSurfaceOrigin) in SkSurfaceCharacterization()
97 GrSurfaceOrigin origin() const { return fOrigin; } in origin()
146 , fOrigin(origin) in SkSurfaceCharacterization()
184 fOrigin = origin; in set()
202 GrSurfaceOrigin fOrigin; variable
DSkYUVAInfo.h175 SkEncodedOrigin origin() const { return fOrigin; } in origin()
178 return SkEncodedOriginToMatrix(fOrigin, this->width(), this->height()); in originMatrix()
189 return PlaneDimensions(fDimensions, fPlaneConfig, fSubsampling, fOrigin, planeDimensions); in planeDimensions()
243 SkEncodedOrigin fOrigin = kTopLeft_SkEncodedOrigin; variable
/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp195 set_scissor_rects(fGpu, fRenderTarget, fOrigin, fCurrentPipelineBounds); in onBindPipeline()
208 set_scissor_rects(fGpu, fRenderTarget, fOrigin, combinedScissorRect); in onSetScissorRect()
314 D3D12_RECT clearRect = scissor_to_d3d_clear_rect(scissor, fRenderTarget, fOrigin); in onClear()
335 D3D12_RECT clearRect = scissor_to_d3d_clear_rect(scissor, fRenderTarget, fOrigin); in onClearStencilClip()
346 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in inlineUpload()
362 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in submit()
/third_party/skia/src/ports/
DSkImageGeneratorCG.cpp39 const SkEncodedOrigin fOrigin; member in __anon15a7d5db0111::ImageGeneratorCG
112 , fOrigin(origin) in ImageGeneratorCG()
156 return SkPixmapPriv::Orient(dst, fOrigin, decode); in onGetPixels()
/third_party/skia/modules/skplaintexteditor/src/
Deditor.cpp76 line.fOrigin.y(), in getPosition()
78 j + 1 < fLines.size() ? fLines[j + 1].fOrigin.y() : INT_MAX}; in getPosition()
81 r.offset(line.fOrigin); in getPosition()
87 SkPoint pt = to_point(xy - line.fOrigin); in getPosition()
94 approximatePosition = {xy.x() <= line.fOrigin.x() ? 0 : line.fText.size(), j}; in getPosition()
135 return offset(pos, cLine.fOrigin); in getLocation()
445 c->drawRect(offset(l.fCursorPos[pos.fTextByteIndex], l.fOrigin), selection); in paint()
455 c->drawTextBlob(line.fBlob.get(), line.fOrigin.x(), line.fOrigin.y(), foreground); in paint()
505 line.fOrigin = {0, y}; in reshapeAll()
/third_party/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp189 fOrigin, in beginRenderPass()
333 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in submit()
452 } else if (kBottomLeft_GrSurfaceOrigin != fOrigin) { in onClearStencilClip()
500 } else if (kBottomLeft_GrSurfaceOrigin != fOrigin) { in onClear()
602 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in inlineUpload()
646 SkASSERT(programInfo.origin() == fOrigin); in onBindPipeline()
657 fGpu, currentCB, colorAttachment->dimensions(), fOrigin, in onBindPipeline()
675 fOrigin, combinedScissorRect); in onSetScissorRect()
846 fGpu->endRenderPass(fRenderTarget, fOrigin, fBounds); in onExecuteDrawable()
/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp40 return GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in dmsaaLoadStoreBounds()
43 return GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), fContentBounds); in dmsaaLoadStoreBounds()
61 fGpu->beginCommandBuffer(glRT, fUseMultisampleFBO, fContentBounds, fOrigin, in onBegin()
87 fGpu->flushScissorRect(scissor, fRenderTarget->height(), fOrigin); in onSetScissorRect()
425 fGpu->clear(scissor, color, fRenderTarget, fUseMultisampleFBO, fOrigin); in onClear()
429 fGpu->clearStencilClip(scissor, insideStencilMask, fRenderTarget, fUseMultisampleFBO, fOrigin); in onClearStencilClip()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_gain_map.h43 dng_point_real64 fOrigin; variable
81 return fOrigin; in Origin()
Ddng_resample.h77 int32 fOrigin;
95 return fCoords->Buffer_int32 () + (index - fOrigin); in Coords()
Ddng_gain_map.cpp260 , fOrigin (origin) in dng_gain_map()
312 stream.Put_real64 (fOrigin.v); in PutStream()
313 stream.Put_real64 (fOrigin.h); in PutStream()
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp314 rec.fOrigin = frag.fPos; in addFragment()
647 return make_box(rec.fOrigin, rec.fAdvance, rec.fAscent); in fragmentAnchorPoint()
654 return make_box(first_span_fragment.fOrigin, in fragmentAnchorPoint()
672 return ap - SkV2 { rec.fOrigin.fX, rec.fOrigin.fY }; in fragmentAnchorPoint()
678 props.position.x + rec.fOrigin.fX + anchor_point.x, in fragmentMatrix()
679 props.position.y + rec.fOrigin.fY + anchor_point.y, in fragmentMatrix()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp67 fGlyphs[i].fOrigin = datum.fOrigin; in TestSVGTypeface()
117 TestSVGTypeface::Glyph::Glyph() : fOrigin{0, 0}, fAdvance(0) {} in Glyph()
208 SkRect newBounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, in generateMetrics()
209 -glyphData.fOrigin.fY, in generateMetrics()
245 canvas.translate(glyphData.fOrigin.fX, -glyphData.fOrigin.fY); in generateImage()
605 int lsb = fGlyphs[i].fOrigin.fX; in exportTtxCommon()
622 int32_t lsb = fGlyphs[i].fOrigin.fX + (*glyfInfo)[i].fLayers[j].fBounds.fLeft; in exportTtxCommon()
929 SkRect bounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, in exportTtxSbix()
930 -glyphData.fOrigin.fY, in exportTtxSbix()
1369 SkRect bounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, in exportTtxColr()
[all …]
DTestSVGTypeface.h47 SkPoint fOrigin; // y-down member
136 SkPoint fOrigin; member

12