Home
last modified time | relevance | path

Searched refs:minX (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/flutter/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()
61 if (quad[minX].fX > quad[index].fX) { in reduce()
62 minX = index; in reduce()
75 if (AlmostEqualUlps(quad[index].fX, quad[minX].fX)) { 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.cpp15 double minX = fCubic.fPts[0].fX; in nearPoint() local
16 double maxX = minX; in nearPoint()
18 minX = SkTMin(minX, fCubic.fPts[index].fX); in nearPoint()
21 if (!AlmostBetweenUlps(minX, xy.fX, maxX)) { in nearPoint()
48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY)); in nearPoint()
DSkOpAngle.cpp577 double minX, minY, maxX, maxY; in endsIntersect() local
578 minX = minY = SK_ScalarInfinity; in endsIntersect()
583 minX = SkTMin(minX, curve[idx2].fX); in endsIntersect()
588 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endsIntersect()
662 double minX, minY, maxX, maxY; in endToSide() local
663 minX = minY = SK_ScalarInfinity; in endToSide()
668 minX = SkTMin(minX, curve[idx2].fX); in endToSide()
673 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endToSide()
/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()
61 if (quad[minX].fX > quad[index].fX) { in reduce()
62 minX = index; in reduce()
75 if (AlmostEqualUlps(quad[index].fX, quad[minX].fX)) { 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.cpp15 double minX = fCubic.fPts[0].fX; in nearPoint() local
16 double maxX = minX; in nearPoint()
18 minX = std::min(minX, fCubic.fPts[index].fX); in nearPoint()
21 if (!AlmostBetweenUlps(minX, xy.fX, maxX)) { 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()
583 minX = std::min(minX, curve[idx2].fX); 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()
668 minX = std::min(minX, curve[idx2].fX); in endToSide()
673 double maxWidth = std::max(maxX - minX, maxY - minY); in endToSide()
/third_party/flutter/skia/src/effects/
DSkDashPathEffect.cpp93 SkScalar minX = pts[0].fX; in cull_line() local
98 swap(minX, maxX); in cull_line()
101 SkASSERT(minX < maxX); in cull_line()
102 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
110 if (minX < bounds.fLeft) { in cull_line()
111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
117 SkASSERT(maxX > minX); in cull_line()
120 swap(minX, maxX); in cull_line()
122 pts[0].fX = minX; in cull_line()
/third_party/skia/src/effects/
DSkDashPathEffect.cpp93 SkScalar minX = pts[0].fX; in cull_line() local
98 swap(minX, maxX); in cull_line()
101 SkASSERT(minX < maxX); in cull_line()
102 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
110 if (minX < bounds.fLeft) { in cull_line()
111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
117 SkASSERT(maxX > minX); in cull_line()
120 swap(minX, maxX); in cull_line()
122 pts[0].fX = minX; in cull_line()
/third_party/mesa3d/src/mesa/main/
Dbbox.c37 GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, in _mesa_PrimitiveBoundingBox() argument
42 ctx->PrimitiveBoundingBox[0] = minX; in _mesa_PrimitiveBoundingBox()
/third_party/skia/tests/
DPathOpsCubicReduceOrderTest.cpp26 int index, minX, maxX, minY, maxY;
27 minX = maxX = minY = maxY = 0;
29 if (cubic[minX].fX > cubic[index].fX) {
30 minX = index;
42 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
/third_party/flutter/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 int index, minX, maxX, minY, maxY;
25 minX = maxX = minY = maxY = 0;
27 if (cubic[minX].fX > cubic[index].fX) {
28 minX = index;
40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
DBlurTest.cpp612 for (int minX = 0; minX < (int)SK_ARRAY_COUNT(testLocs); ++minX) { in DEF_TEST() local
613 for (int maxX = minX+1; maxX < (int)SK_ARRAY_COUNT(testLocs); ++maxX) { in DEF_TEST()
614 SkRect occluder = SkRect::MakeLTRB(testLocs[minX], testLocs[minY], in DEF_TEST()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DConstants.cpp324 …const dword minX[16] = {0x00000000, 0x00000008, 0x00000800, 0x00000808, 0x00080000, 0x00080008, 0x… in Constants() local
332 memcpy(&this->minX, &minX, sizeof(minX)); in Constants()
DConstants.hpp92 dword minX[16]; member
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DConstants.cpp331 …const dword minX[16] = { 0x00000000, 0x00000008, 0x00000800, 0x00000808, 0x00080000, 0x00080008, 0… in Constants() local
339 memcpy(&this->minX, &minX, sizeof(minX)); in Constants()
DConstants.hpp131 dword minX[16]; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawTests.cpp121 const float minX = -0.3f; in ConditionalDraw() local
127 const float minY = minX + static_cast<float>(drawIdx) * drawStep; in ConditionalDraw()
130 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()
131 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()
134 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()
/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/flutter/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp83 uint32_t minX = copySplit.copies[0].textureOffset.x; in ValidateTextureBounds() local
92 minX = std::min(minX, copy.textureOffset.x); in ValidateTextureBounds()
100 ASSERT_EQ(minX, textureSpec.x); in ValidateTextureBounds()
/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/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp147 uint32_t minX = copySplit.copies[0].textureOffset.x; in ValidateTextureBounds() local
157 minX = std::min(minX, copy.textureOffset.x); in ValidateTextureBounds()
165 ASSERT_EQ(minX, textureSpec.x); 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()
33 x0 = clamp(x0, minX, maxX); in clip()
35 x1 = clamp(x1, minX, maxX); in clip()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcanvas.dart1767 double minX = 0.0, maxX = 0.0, minY = 0.0, maxY = 0.0;
1774 curX = minX = maxX = cmd.x;
1779 curX = minX = maxX = cmd.x;
1804 minX = maxX = rotatedX;
1809 minX = math.min(minX, rotatedX);
1816 minX = math.min(minX, rotatedX);
1823 minX = math.min(minX, rotatedX);
1840 minX = math.min(x1, x2);
1865 minX = math.min(minX, extremaX);
1884 minX = math.min(minX, extrema2X);
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibraryCase.hpp140 bool checkPixels(tcu::Surface& surface, int minX, int maxX, int minY, int maxY);
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()
235 for (int x = minX; x <= maxX; x++) in checkPixels()
479 int minX = deCeilFloatToInt32(((-quadSize / w) * 0.5f + 0.5f) * (float)width + 1.0f); in execute() local
482 if (!checkPixels(surface, minX, maxX, minY, maxY)) in execute()

12345