Searched defs:quad (Results 1 - 25 of 235) sorted by relevance

12345678910

/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DFloatQuadTestHelpers.h41 inline void PrintTo(const FloatQuad& quad, ::std::ostream* os) argument
45 << std::setprecision(4) << "(" << quad.p1().x() << "f, " << quad.p1().y() << "f),"
46 << std::setprecision(4) << "(" << quad.p2().x() << "f, " << quad.p2().y() << "f),"
47 << std::setprecision(4) << "(" << quad.p3().x() << "f, " << quad.p3().y() << "f),"
48 << std::setprecision(4) << "(" << quad.p4().x() << "f, " << quad.p4().y() << "f))";
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_quad_pipe.c35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad) argument
37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
53 sp->quad.first = sp->quad.blend;
56 insert_stage_at_head( sp, sp->quad.shade );
57 insert_stage_at_head( sp, sp->quad.depth_test );
60 insert_stage_at_head( sp, sp->quad
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_pipe.c35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad) argument
37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
53 sp->quad.first = sp->quad.blend;
56 insert_stage_at_head( sp, sp->quad.shade );
57 insert_stage_at_head( sp, sp->quad.depth_test );
60 insert_stage_at_head( sp, sp->quad
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DQuadraticUtilities.h29 inline void set_abc(const double* quad, double& a, double& b, double& c) { argument
30 a = quad[0]; // a = A
31 b = 2 * quad[2]; // b = 2*B
32 c = quad[4]; // c = C
H A DQuadraticLineSegments.cpp11 void hodograph(const Quadratic& quad, _Line& hodo) { argument
12 hodo[0].x = 2 * (quad[1].x - quad[0].x);
13 hodo[0].y = 2 * (quad[1].y - quad[0].y);
14 hodo[1].x = 2 * (quad[2].x - quad[1].x);
15 hodo[1].y = 2 * (quad[2].y - quad[1].y);
19 void secondHodograph(const Quadratic& quad, _Poin argument
28 subDivisions(const Quadratic& quad) argument
[all...]
H A DQuadraticParameterization_TestUtility.cpp6 bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point) { argument
7 QuadImplicitForm q(quad);
H A DQuadraticBounds.cpp11 double leftMostT(const Quadratic& quad, double startT, double endT) { argument
13 if (findExtrema(quad[0].x, quad[1].x, quad[2].x, &leftT)
18 xy_at_t(quad, startT, startPt.x, startPt.y);
20 xy_at_t(quad, endT, endPt.x, endPt.y);
24 void _Rect::setBounds(const Quadratic& quad) { argument
25 set(quad[0]);
26 add(quad[2]);
29 if (!between(quad[
42 setRawBounds(const Quadratic& quad) argument
[all...]
H A DTestUtilities.cpp12 void quad_to_cubic(const Quadratic& quad, Cubic& cubic) { argument
13 cubic[0] = quad[0];
14 cubic[1].x = quad[0].x / 3 + quad[1].x * 2 / 3;
15 cubic[1].y = quad[0].y / 3 + quad[1].y * 2 / 3;
16 cubic[2].x = quad[2].x / 3 + quad[1].x * 2 / 3;
17 cubic[2].y = quad[2].y / 3 + quad[
[all...]
/external/skia/experimental/Intersection/
H A DQuadraticUtilities.h29 inline void set_abc(const double* quad, double& a, double& b, double& c) { argument
30 a = quad[0]; // a = A
31 b = 2 * quad[2]; // b = 2*B
32 c = quad[4]; // c = C
H A DQuadraticLineSegments.cpp11 void hodograph(const Quadratic& quad, _Line& hodo) { argument
12 hodo[0].x = 2 * (quad[1].x - quad[0].x);
13 hodo[0].y = 2 * (quad[1].y - quad[0].y);
14 hodo[1].x = 2 * (quad[2].x - quad[1].x);
15 hodo[1].y = 2 * (quad[2].y - quad[1].y);
19 void secondHodograph(const Quadratic& quad, _Poin argument
28 subDivisions(const Quadratic& quad) argument
[all...]
H A DQuadraticParameterization_TestUtility.cpp6 bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point) { argument
7 QuadImplicitForm q(quad);
/external/chromium_org/cc/base/
H A Dfloat_quad_unittest.cc33 gfx::QuadF quad = local
36 EXPECT_TRUE(quad.IsRectilinear()) << "case " << i;
54 gfx::QuadF quad = local
57 EXPECT_FALSE(quad.IsRectilinear()) << "case " << i;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_matrix_filter.h39 struct pipe_vertex_buffer quad; member in struct:vl_matrix_filter
H A Dvl_median_filter.h47 struct pipe_vertex_buffer quad; member in struct:vl_median_filter
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsBounds.cpp27 SkDQuad quad; local
28 quad.set(a);
30 dRect.setBounds(quad);
H A DSkPathOpsRect.cpp17 void SkDRect::setBounds(const SkDQuad& quad) { argument
18 set(quad[0]);
19 add(quad[2]);
22 if (!between(quad[0].fX, quad[1].fX, quad[2].fX)) {
23 roots = SkDQuad::FindExtrema(quad[0].fX, quad[1].fX, quad[2].fX, tValues);
25 if (!between(quad[
33 setRawBounds(const SkDQuad& quad) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_matrix_filter.h39 struct pipe_vertex_buffer quad; member in struct:vl_matrix_filter
/external/skia/src/pathops/
H A DSkPathOpsBounds.cpp27 SkDQuad quad; local
28 quad.set(a);
30 dRect.setBounds(quad);
/external/chromium_org/cc/quads/
H A Dcheckerboard_draw_quad.cc41 const DrawQuad* quad) {
42 DCHECK(quad->material == DrawQuad::CHECKERBOARD);
43 return static_cast<const CheckerboardDrawQuad*>(quad);
40 MaterialCast( const DrawQuad* quad) argument
H A Dsurface_draw_quad.cc41 const SurfaceDrawQuad* SurfaceDrawQuad::MaterialCast(const DrawQuad* quad) { argument
42 DCHECK_EQ(quad->material, DrawQuad::SURFACE_CONTENT);
43 return static_cast<const SurfaceDrawQuad*>(quad);
/external/chromium_org/cc/resources/
H A Dlayer_quad.cc22 LayerQuad::LayerQuad(const gfx::QuadF& quad) { argument
24 left_ = Edge(quad.p4(), quad.p1());
25 right_ = Edge(quad.p2(), quad.p3());
26 top_ = Edge(quad.p1(), quad.p2());
27 bottom_ = Edge(quad.p3(), quad.p4());
29 float sign = quad
[all...]
/external/chromium_org/content/common/
H A Dcc_messages_perftest.cc70 PictureDrawQuad* quad = local
72 quad->shared_quad_state = render_pass->shared_quad_state_list.back();
87 PictureDrawQuad* quad = local
89 quad->shared_quad_state = render_pass->shared_quad_state_list.back();
104 PictureDrawQuad* quad = local
106 quad->shared_quad_state = render_pass->shared_quad_state_list.back();
121 PictureDrawQuad* quad = local
123 quad->shared_quad_state = render_pass->shared_quad_state_list.back();
141 PictureDrawQuad* quad = local
143 quad
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DHitTestingTransformState.h45 static PassRefPtr<HitTestingTransformState> create(const FloatPoint& p, const FloatQuad& quad, const FloatQuad& area) argument
47 return adoptRef(new HitTestingTransformState(p, quad, area));
72 HitTestingTransformState(const FloatPoint& p, const FloatQuad& quad, const FloatQuad& area) argument
74 , m_lastPlanarQuad(quad)
/external/chromium_org/third_party/skia/tests/
H A DPathOpsDQuadTest.cpp41 const SkDQuad& quad = tests[index]; local
42 SkASSERT(ValidQuad(quad));
43 bool result = quad.pointInHull(inPoint[index]);
48 result = quad.pointInHull(outPoint[index]);
H A DPathOpsDRectTest.cpp62 const SkDQuad& quad = quadTests[index]; local
63 SkASSERT(ValidQuad(quad));
64 rect.setRawBounds(quad);
65 REPORTER_ASSERT(reporter, rect.fLeft == SkTMin(quad[0].fX,
66 SkTMin(quad[1].fX, quad[2].fX)));
67 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(quad[0].fY,
68 SkTMin(quad[1].fY, quad[2].fY)));
69 REPORTER_ASSERT(reporter, rect.fRight == SkTMax(quad[
[all...]

Completed in 599 milliseconds

12345678910