Home
last modified time | relevance | path

Searched refs:maxX (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/skia/src/pathops/
H A DSkReduceOrder.cpp39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear()
56 int index, minX, maxX, minY, maxY; in reduce() local
58 minX = maxX = minY = maxY = 0; in reduce()
67 if (quad[maxX].fX < quad[index].fX) { in reduce()
68 maxX = index; 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()
189 int index, minX, maxX, minY, maxY; in reduce() local
191 minX = maxX = minY = maxY = 0; in reduce()
200 if (cubic[maxX] in reduce()
38 check_linear(const SkDQuad& quad, int minX, int maxX, int minY, int maxY, SkDQuad& reduction) check_linear() argument
151 check_linear(const SkDCubic& cubic, int minX, int maxX, int minY, int maxY, SkDCubic& reduction) check_linear() argument
[all...]
H A DSkPathOpsCurve.cpp16 double maxX = minX; in nearPoint() local
19 maxX = std::max(maxX, 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()
H A DSkOpAngle.cpp577 double minX, minY, maxX, maxY; in endsIntersect() local
579 maxX = maxY = -SK_ScalarInfinity; in endsIntersect()
585 maxX = std::max(maxX, 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
664 maxX = maxY = -SK_ScalarInfinity; in endToSide()
670 maxX = std::max(maxX, curve[idx2].fX); in endToSide()
673 double maxWidth = std::max(maxX in endToSide()
[all...]
/third_party/skia/src/core/
H A DSkBitmapProcState_matrixProcs.cpp17 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
87 const unsigned maxX = s.fPixmap.width() - 1; in nofilter_scale() local
88 if (0 == maxX) { in nofilter_scale()
100 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in nofilter_scale()
108 *xy++ = pack_two_shorts(tilex(SkFractionalIntToFixed(fx ), maxX), in nofilter_scale()
109 tilex(SkFractionalIntToFixed(fx + dx), maxX)); in nofilter_scale()
115 *xx++ = tilex(SkFractionalIntToFixed(fx), maxX); in nofilter_scale()
131 int maxX = s.fPixmap.width () - 1, in nofilter_affine() local
136 | (tilex(SkFractionalIntToFixed(fx), maxX) ); in nofilter_affine()
170 const unsigned maxX in filter_scale() local
216 unsigned maxX = s.fPixmap.width () - 1, filter_affine() local
[all...]
H A DSkBitmapProcState.cpp33 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
46 // Check if we're safely inside [0...maxX] so no need to clamp each computed index. in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
48 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
49 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
65 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
71 dst[i] = src[SkTPin<int>(SkFractionalIntToInt(fx), 0, maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
304 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local
323 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc()
324 int n = std::min(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
334 sk_memset32(colors, row[maxX], coun in Clamp_S32_D32_nofilter_trans_shaderproc()
[all...]
H A DSkTextBlob.cpp334 SkScalar maxX = *glyphPos; in ConservativeRunBounds() local
338 maxX = std::max(x, maxX); in ConservativeRunBounds()
341 bounds.setLTRB(minX, 0, maxX, 0); in ConservativeRunBounds()
/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp94 SkScalar maxX = pts[1].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()
113 if (maxX > bounds.fRight) { in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
117 SkASSERT(maxX > minX); in cull_line()
120 swap(minX, maxX); in cull_line()
123 pts[1].fX = maxX; in cull_line()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dbbox.c38 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) in _mesa_PrimitiveBoundingBox()
46 ctx->PrimitiveBoundingBox[4] = maxX; in _mesa_PrimitiveBoundingBox()
36 _mesa_PrimitiveBoundingBox( GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) _mesa_PrimitiveBoundingBox() argument
/third_party/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp26 int index, minX, maxX, minY, maxY;
27 minX = maxX = minY = maxY = 0;
35 if (cubic[maxX].fX < cubic[index].fX) {
36 maxX = index;
42 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
H A DPathOpsAngleIdeas.cpp478 double minX, minY, maxX, maxY; in testQuadAngles()
480 maxX = maxY = -SK_ScalarInfinity; in testQuadAngles()
489 maxX = std::max(std::max(std::max(maxX, origin.fX), q[1].fX), q[2].fX); in testQuadAngles()
491 maxWidth = std::max(maxWidth, std::max(maxX - minX, maxY - minY)); in testQuadAngles()
/third_party/skia/gm/
H A Dovals.cpp155 int maxX = fMatrices.count(); variable
169 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
171 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
H A Dbleed.cpp249 SkScalar maxX = 0; variable
252 canvas->translate(maxX, 0);
288 maxX = std::max(maxX, x);
H A Droundrects.cpp158 int maxX = fMatrices.count(); variable
172 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
174 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDrawTests.cpp141 const float maxX = 0.3f; local
151 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
154 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
155 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalDrawTests.cpp141 const float maxX = 0.3f; local
151 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
154 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
155 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0));
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DConstants.cpp328 const dword maxX[16] = { 0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0x00010100, 0x00010101, 0x01000000, 0x01000001, 0x01000100, 0x01000101, 0x01010000, 0x01010001, 0x01010100, 0x01010101 }; in Constants() local
336 memcpy(&this->maxX, &maxX, sizeof(maxX)); in Constants()
H A DConstants.hpp128 dword maxX[16]; member
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DConstants.cpp321 const dword maxX[16] = {0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0x00010100, 0x00010101, 0x01000000, 0x01000001, 0x01000100, 0x01000101, 0x01010000, 0x01010001, 0x01010100, 0x01010101}; in Constants() local
329 memcpy(&this->maxX, &maxX, sizeof(maxX)); in Constants()
H A DConstants.hpp89 dword maxX[16]; member
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
H A DCopySplitTests.cpp150 uint32_t maxX = copySplit.copies[0].textureOffset.x + copySplit.copies[0].copySize.width; in ValidateTextureBounds() local
160 maxX = std::max(maxX, copy.textureOffset.x + copy.copySize.width); in ValidateTextureBounds()
168 ASSERT_EQ(maxX, textureSpec.x + textureSpec.width); in ValidateTextureBounds()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A 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/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderLibraryCase.hpp140 bool checkPixels(tcu::Surface& surface, int minX, int maxX, int minY, int maxY);
H A 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()
480 int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * (float)width - 0.5f); in execute() local
482 if (!checkPixels(surface, minX, maxX, minY, maxY)) in execute()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DContext_gles_3_2_autogen.h68 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); \
/third_party/ffmpeg/libavfilter/
H A Dvf_morpho.c92 int maxX; member
522 chords->maxX = FFMAX(chords->maxX, c.x); in insert_chord_set()
550 chords->maxX = INT16_MIN; in init_chordset()
849 s->SE[p].maxX == INT16_MIN || in do_morpho()

Completed in 23 milliseconds

1234