Home
last modified time | relevance | path

Searched refs:corners (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fMultisampleTests.cpp678 Vec2 corners[4] = in iterate() local
696 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
697 corners[(1+quadNdx) % 4] + center, in iterate()
698 corners[(2+quadNdx) % 4] + center, in iterate()
703 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
704 corners[(2+quadNdx) % 4] + center, in iterate()
705 corners[(0+quadNdx) % 4] + center, in iterate()
710 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
711 corners[(2+quadNdx) % 4] + center, in iterate()
712 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fMultisampleTests.cpp840 Vec2 corners[4] = in iterate() local
858 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
859 corners[(1+quadNdx) % 4] + center, in iterate()
860 corners[(2+quadNdx) % 4] + center, in iterate()
865 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
866 corners[(2+quadNdx) % 4] + center, in iterate()
867 corners[(0+quadNdx) % 4] + center, in iterate()
872 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
873 corners[(2+quadNdx) % 4] + center, in iterate()
874 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/third_party/skia/docs/examples/
DRect_toQuad.cpp8 SkPoint corners[4]; in draw() local
9 rect.toQuad(corners); in draw()
12 for (auto corner : corners) { in draw()
DRRect_dump_2.cpp10 const SkPoint corners[] = { in draw() local
17 copy.setRectRadii(bounds, corners); in draw()
DRRect_dumpHex.cpp13 const SkPoint corners[] = { in draw() local
20 copy.setRectRadii(bounds, corners); in draw()
DRRect_setRectRadii.cpp16 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
17 rrect.setRectRadii({20, 20, 100, 100}, corners); in draw()
DRRect_Corner.cpp10 SkVector corners[] = {{25, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
11 rrect.setRectRadii({30, 10, 100, 60}, corners); in draw()
/third_party/skia/src/core/
DSkGlyphRunPainter.cpp149 SkPoint corners[4]; in drawForBitmapDevice() local
155 runMatrix.mapRectToQuad(corners, rect); in drawForBitmapDevice()
157 SkScalar scale = (corners[1] - corners[0]).length() / rect.width(); in drawForBitmapDevice()
160 scale = (corners[2] - corners[1]).length() / rect.height(); in drawForBitmapDevice()
163 scale = (corners[3] - corners[2]).length() / rect.width(); in drawForBitmapDevice()
166 scale = (corners[0] - corners[3]).length() / rect.height(); in drawForBitmapDevice()
/third_party/skia/gm/
Dbleed.cpp238 SkPoint corners[] = {{0, 0}, {0, kBottom}, {kWidth, kBottom}, {kWidth, 0}}; in onDraw() local
239 matrices.back().mapPoints(corners, 4); in onDraw()
240 m.setTranslate(std::max({corners[0].fX, corners[1].fX, corners[2].fX, corners[3].fX}), in onDraw()
241 (corners[0].fY + corners[1].fY + corners[2].fY + corners[3].fY) / 4); in onDraw()
Dpatch.cpp50 SkPoint corners[4] = { bottom[0], bottom[3], top[0], top[3] }; in draw_control_points() local
64 canvas->drawPoints(SkCanvas::kPoints_PointMode, 4, corners, paint); in draw_control_points()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingShaderBindingTableTests.cpp222 std::vector<tcu::Vec3> corners; in initBottomAccelerationStructures() local
228 corners.push_back(tcu::Vec3((float)x, (float)y, 0.0f)); in initBottomAccelerationStructures()
232 rnd.shuffle(begin(corners), end(corners)); in initBottomAccelerationStructures()
240 for (size_t cornerNdx = 0; cornerNdx < corners.size(); cornerNdx += HIT_GEOMETRY_COUNT) in initBottomAccelerationStructures()
243 …size_t geometryCount = std::min(corners.size() - cornerNdx, size_t(HIT_GEOMETRY_COU… in initBottomAccelerationStructures()
248 geometry->addVertex(corners[idx] + v0); in initBottomAccelerationStructures()
249 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures()
250 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures()
251 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures()
252 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures()
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c836 FT_Vector corners[4]; in tt_face_get_color_glyph_clipbox() local
895 corners[0].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
896 corners[1].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
897 corners[2].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
898 corners[3].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
900 corners[0].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
901 corners[1].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
902 corners[2].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
903 corners[3].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
908 FT_Vector_Transform( &corners[j], in tt_face_get_color_glyph_clipbox()
[all …]
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRasterizer.cpp321 } corners[] = in doesLineSegmentExitDiamond() local
330 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(corners); ++ndx) in doesLineSegmentExitDiamond()
332 const tcu::Vector<deInt64,2> p = diamondCenter + corners[ndx].dp; in doesLineSegmentExitDiamond()
341 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT) in doesLineSegmentExitDiamond()
345 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUARTER && in doesLineSegmentExitDiamond()
350 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUARTER && in doesLineSegmentExitDiamond()
356 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
358 const bool startIsInside = corners[ndx].pointInclusive || p != line.m_v0; in doesLineSegmentExitDiamond()
359 const bool endIsOutside = !corners[ndx].pointInclusive || p != line.m_v1; in doesLineSegmentExitDiamond()
369 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION || in doesLineSegmentExitDiamond()
[all …]
/third_party/rust/crates/cxx/book/diagram/
Doverview.tex22 \node[draw, rounded corners=5, inner xsep=30pt, inner ysep=2pt]
24 \node[draw, rounded corners, inner xsep=10pt, inner ysep=6pt, text depth=1pt]
26 \node[draw, rounded corners, inner xsep=10pt, inner ysep=6pt, text depth=1pt]
/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp64 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage()
67 shape.addPoly(corners, 4, true); in get_area_coverage()
94 SkPoint e0 = corners[i]; in get_area_coverage()
95 SkPoint e1 = corners[(i + 1) % 4]; in get_area_coverage()
117 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage()
126 SkScalar d = signed_distance(corners[i], outsetLines[j * 2], outsetLines[j * 2 + 1]); in get_edge_dist_coverage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.h60 explicit constexpr RectangleImpl(const T corners[4]) in RectangleImpl()
61 : x(corners[0]), in RectangleImpl()
62 y(corners[1]), in RectangleImpl()
63 width(corners[2] - corners[0]), in RectangleImpl()
64 height(corners[3] - corners[1]) in RectangleImpl()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstcameracalibrate.cpp669 std::vector < cv::Point3f > &corners, gint patternType /*= CHESSBOARD*/ ) in camera_calibrate_calc_corners()
671 corners.clear (); in camera_calibrate_calc_corners()
678 corners.push_back (cv::Point3f (j * squareSize, i * squareSize, 0)); in camera_calibrate_calc_corners()
683 corners.push_back (cv::Point3f ((2 * j + i % 2) * squareSize, in camera_calibrate_calc_corners()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp291 const deUint16 corners[4] = in test() local
302 gridIndices.push_back(corners[(k+0 + i + (2-j%3)) % 3]); in test()
304 gridIndices.push_back(corners[(k+2 + i + (2-j%3) + secondTriangleVertexIndexOffset) % 3 + 1]); in test()
DvktTessellationUtil.cpp577 const tcu::Vec3 corners[3] = in generateReferenceTriangleTessCoords() local
588 tessCoords.push_back((1.0f - f)*corners[j] + f*corners[(j+1)%3]); in generateReferenceTriangleTessCoords()
/third_party/vk-gl-cts/framework/common/
DtcuRasterizationVerifier.cpp527 const tcu::Vec2 corners[4] = in calcSingleSampleLineInterpolationRangeWithWeightEquation() local
538 weightEquation(pa, wa, pb, wb, corners[0]), in calcSingleSampleLineInterpolationRangeWithWeightEquation()
539 weightEquation(pa, wa, pb, wb, corners[1]), in calcSingleSampleLineInterpolationRangeWithWeightEquation()
540 weightEquation(pa, wa, pb, wb, corners[2]), in calcSingleSampleLineInterpolationRangeWithWeightEquation()
541 weightEquation(pa, wa, pb, wb, corners[3]), in calcSingleSampleLineInterpolationRangeWithWeightEquation()
578 const tcu::Vec2 corners[4] = in interpolate() local
587 …cene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[0]), in interpolate()
588 …cene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[1]), in interpolate()
589 …cene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[2]), in interpolate()
590 …cene.triangles[primitiveNdx].positions[1], scene.triangles[primitiveNdx].positions[2], corners[3]), in interpolate()
[all …]
/third_party/vk-gl-cts/android/cts/master/src/
Dvk-waivers.txt7 # The affected GPU's are unable to correctly filter CEM corners with F32 textures, this
11 # the corners of the cubemap.
/third_party/skia/site/docs/user/api/
Dskpaint_overview.md145 - SkCornerPathEffect: a path effect that can turn sharp corners into various
146 treatments (e.g. rounded corners).
/third_party/openGLES/extensions/NV/
DNV_draw_vulkan_image.txt48 to the corners of the rectangle. For each fragment produced by the
204 contents of the Vulkan image <vkImage>. The four corners of this
224 coordinates associated with the four corners of the rectangle are:
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_draw_vulkan_image.txt48 to the corners of the rectangle. For each fragment produced by the
204 contents of the Vulkan image <vkImage>. The four corners of this
224 coordinates associated with the four corners of the rectangle are:
/third_party/skia/site/docs/user/sample/
Dpdf.md17 There are several corners of Skia's public API that SkPDF currently does not

12345