/third_party/skia/src/pathops/ |
H A D | SkReduceOrder.cpp | 39 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 D | SkPathOpsCurve.cpp | 16 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 D | SkOpAngle.cpp | 577 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 D | SkBitmapProcState_matrixProcs.cpp | 17 * 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 D | SkBitmapProcState.cpp | 33 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 D | SkTextBlob.cpp | 334 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 D | SkDashPathEffect.cpp | 94 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 D | bbox.c | 38 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 D | PathOpsCubicReduceOrderTest.cpp | 26 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 D | PathOpsAngleIdeas.cpp | 478 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 D | ovals.cpp | 155 int maxX = fMatrices.count(); variable 169 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 171 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
H A D | bleed.cpp | 249 SkScalar maxX = 0; variable 252 canvas->translate(maxX, 0); 288 maxX = std::max(maxX, x);
|
H A D | roundrects.cpp | 158 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 D | vktConditionalDrawTests.cpp | 141 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 D | vktConditionalDrawTests.cpp | 141 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 D | Constants.cpp | 328 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 D | Constants.hpp | 128 dword maxX[16]; member
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | Constants.cpp | 321 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 D | Constants.hpp | 89 dword maxX[16]; member
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/ |
H A D | CopySplitTests.cpp | 150 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 D | Surface.hpp | 31 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 D | glcShaderLibraryCase.hpp | 140 bool checkPixels(tcu::Surface& surface, int minX, int maxX, int minY, int maxY);
|
H A D | glcShaderLibraryCase.cpp | 224 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 D | Context_gles_3_2_autogen.h | 68 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); \
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_morpho.c | 92 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()
|