Home
last modified time | relevance | path

Searched refs:minY (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/skia/src/pathops/
DSkReduceOrder.cpp39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
56 int index, minX, maxX, minY, maxY; in reduce() local
58 minX = maxX = minY = maxY = 0; in reduce()
64 if (quad[minY].fY > quad[index].fY) { in reduce()
65 minY = index; in reduce()
78 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
93 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
152 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
189 int index, minX, maxX, minY, maxY; in reduce() local
191 minX = maxX = minY = maxY = 0; in reduce()
[all …]
DSkPathOpsCurve.cpp24 double minY = fCubic.fPts[0].fY; in nearPoint() local
25 double maxY = minY; in nearPoint()
27 minY = std::min(minY, fCubic.fPts[index].fY); in nearPoint()
30 if (!AlmostBetweenUlps(minY, xy.fY, maxY)) { in nearPoint()
48 double largest = std::max(std::max(maxX, maxY), -std::min(minX, minY)); in nearPoint()
DSkOpAngle.cpp577 double minX, minY, maxX, maxY; in endsIntersect() local
578 minX = minY = SK_ScalarInfinity; in endsIntersect()
584 minY = std::min(minY, curve[idx2].fY); in endsIntersect()
588 double maxWidth = std::max(maxX - minX, maxY - minY); in endsIntersect()
662 double minX, minY, maxX, maxY; in endToSide() local
663 minX = minY = SK_ScalarInfinity; in endToSide()
669 minY = std::min(minY, curve[idx2].fY); in endToSide()
673 double maxWidth = std::max(maxX - minX, maxY - minY); in endToSide()
/third_party/skia/src/effects/
DSkDashPathEffect.cpp126 SkScalar minY = pts[0].fY; in cull_line() local
131 swap(minY, maxY); in cull_line()
134 SkASSERT(minY < maxY); in cull_line()
135 if (maxY <= bounds.fTop || minY >= bounds.fBottom) { in cull_line()
143 if (minY < bounds.fTop) { in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
150 SkASSERT(maxY > minY); in cull_line()
153 swap(minY, maxY); in cull_line()
155 pts[0].fY = minY; in cull_line()
/third_party/mesa3d/src/mesa/main/
Dbbox.c37 GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, in _mesa_PrimitiveBoundingBox() argument
43 ctx->PrimitiveBoundingBox[1] = minY; in _mesa_PrimitiveBoundingBox()
/third_party/skia/tests/
DPathOpsCubicReduceOrderTest.cpp26 int index, minX, maxX, minY, maxY;
27 minX = maxX = minY = maxY = 0;
32 if (cubic[minY].fY > cubic[index].fY) {
33 minY = index;
43 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
DPathOpsAngleIdeas.cpp478 double minX, minY, maxX, maxY; in testQuadAngles() local
479 minX = minY = SK_ScalarInfinity; in testQuadAngles()
488 minY = std::min(std::min(std::min(minY, origin.fY), q[1].fY), q[2].fY); in testQuadAngles()
491 maxWidth = std::max(maxWidth, std::max(maxX - minX, maxY - minY)); in testQuadAngles()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DConstants.cpp325 …const dword minY[16] = {0x00000000, 0x00000010, 0x00001000, 0x00001010, 0x00100000, 0x00100010, 0x… in Constants() local
333 memcpy(&this->minY, &minY, sizeof(minY)); in Constants()
DConstants.hpp93 dword minY[16]; member
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DConstants.cpp332 …const dword minY[16] = { 0x00000000, 0x00000010, 0x00001000, 0x00001010, 0x00100000, 0x00100010, 0… in Constants() local
340 memcpy(&this->minY, &minY, sizeof(minY)); in Constants()
DConstants.hpp132 dword minY[16]; member
/third_party/node/deps/v8/tools/turbolizer/src/
Dgraph-view.ts956 let minY; variable
965 minY = minY ? Math.min(minY, n.y) : n.y;
971 view.viewGraphRegion(minX - NODE_INPUT_WIDTH, minY - 60,
976 viewGraphRegion(minX, minY, maxX, maxY) {
979 const dy = maxY - minY; constant
981 const y = (minY + maxY) / 2;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalDrawTests.cpp146 const float minY = minX + static_cast<float>(drawIdx) * drawStep; local
147 const float maxY = minY + drawStep;
150 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
153 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
155 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawTests.cpp146 const float minY = minX + static_cast<float>(drawIdx) * drawStep; local
147 const float maxY = minY + drawStep;
150 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
153 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
155 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV…
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_ES3_2_compatibility.txt70 void PrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW,
132 void PrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW,
135 where <minX>, <minY>, <minZ>, and <minW> specify the minimum clip space
143 <minX>, <minY>, <minZ>, <minW>, and gl_BoundingBox[1] is used instead of
169 volume vertices formed from minX and minY respectively, and the max_wc rule
/third_party/openGLES/extensions/ARB/
DARB_ES3_2_compatibility.txt80 void PrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW,
142 void PrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW,
145 where <minX>, <minY>, <minZ>, and <minW> specify the minimum clip space
153 <minX>, <minY>, <minZ>, <minW>, and gl_BoundingBox[1] is used instead of
179 volume vertices formed from minX and minY respectively, and the max_wc rule
/third_party/skia/third_party/externals/freetype/src/raster/
Dftraster.c483 Long minY, maxY; member
1415 x, y, ras.minY, ras.maxY ) ) in Line_To()
1421 x, y, ras.minY, ras.maxY ) ) in Line_To()
1540 ras.minY, ras.maxY ) ) in Conic_To()
1545 ras.minY, ras.maxY ) ) in Conic_To()
1687 ras.minY, ras.maxY ) ) in Cubic_To()
1692 ras.minY, ras.maxY ) ) in Cubic_To()
2008 ras.lastY >= ras.minY && in Convert_Glyph()
2696 max_Y = (Short)TRUNC( ras.minY ); in Draw_Sweep()
3026 ras.minY = (Long)y_min * ras.precision; in Render_Single_Pass()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp148 uint32_t minY = copySplit.copies[0].textureOffset.y; in ValidateTextureBounds() local
158 minY = std::min(minY, copy.textureOffset.y); in ValidateTextureBounds()
166 ASSERT_EQ(minY, textureSpec.y); in ValidateTextureBounds()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSurface.hpp31 void clip(T minX, T minY, T maxX, T maxY) in clip()
34 y0 = clamp(y0, minY, maxY); in clip()
36 y1 = clamp(y1, minY, maxY); in clip()
/third_party/ffmpeg/libavfilter/
Dvf_morpho.c93 int minY; member
326 Ty->min_r != SE->minY || in alloc_lut_if_necessary()
334 Ty->min_r = SE->minY; in alloc_lut_if_necessary()
524 chords->minY = FFMIN(chords->minY, c.y); in insert_chord_set()
551 chords->minY = INT16_MAX; in init_chordset()
848 s->SE[p].minY == INT16_MAX || in do_morpho()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp224 bool ShaderCase::checkPixels(Surface& surface, int minX, int maxX, int minY, int maxY) in checkPixels() argument
231 DE_ASSERT((maxX > minX) && (maxY > minY)); in checkPixels()
233 for (int y = minY; y <= maxY; y++) in checkPixels()
477 int minY = deCeilFloatToInt32(((-quadSize / w) * 0.5f + 0.5f) * (float)height + 1.0f); in execute() local
482 if (!checkPixels(surface, minX, maxX, minY, maxY)) in execute()
DglcShaderLibraryCase.hpp140 bool checkPixels(tcu::Surface& surface, int minX, int maxX, int minY, int maxY);
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_primitive_bounding_box.txt90 void PrimitiveBoundingBoxOES(float minX, float minY, float minZ, float minW,
149 void PrimitiveBoundingBoxOES(float minX, float minY, float minZ, float minW,
152 where <minX>, <minY>, <minZ>, and <minW> specify the minimum clip space
160 <minX>, <minY>, <minZ>, <minW>, and gl_BoundingBoxOES[1] is used instead of
186 volume vertices formed from minX and minY respectively, and the max_wc rule
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_primitive_bounding_box.txt87 void PrimitiveBoundingBoxEXT(float minX, float minY, float minZ, float minW,
146 void PrimitiveBoundingBoxEXT(float minX, float minY, float minZ, float minW,
149 where <minX>, <minY>, <minZ>, and <minW> specify the minimum clip space
157 <minX>, <minY>, <minZ>, <minW>, and gl_BoundingBoxEXT[1] is used instead of
183 volume vertices formed from minX and minY respectively, and the max_wc rule
/third_party/openGLES/extensions/EXT/
DEXT_primitive_bounding_box.txt87 void PrimitiveBoundingBoxEXT(float minX, float minY, float minZ, float minW,
146 void PrimitiveBoundingBoxEXT(float minX, float minY, float minZ, float minW,
149 where <minX>, <minY>, <minZ>, and <minW> specify the minimum clip space
157 <minX>, <minY>, <minZ>, <minW>, and gl_BoundingBoxEXT[1] is used instead of
183 volume vertices formed from minX and minY respectively, and the max_wc rule

1234