/external/skia/src/pathops/ |
SkDCubicToQuads.cpp | 36 SkDQuad quad; local 37 quad[0] = fPts[0]; 40 quad[1].fX = (fromC1.fX + fromC2.fX) / 2; 41 quad[1].fY = (fromC1.fY + fromC2.fY) / 2; 42 quad[2] = fPts[3]; 43 return quad;
|
SkPathOpsQuad.h | 82 static void SetABC(const double* quad, double* a, double* b, double* c); 85 SkDQuad quad; local 86 quad.set(a); 87 return quad.subDivide(t1, t2); 92 SkDQuad quad; local 93 quad.set(pts); 94 return quad.subDivide(a, c, t1, t2);
|
SkReduceOrder.cpp | 16 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { 17 reduction[0] = reduction[1] = quad[0]; 25 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { 26 reduction[0] = quad[0]; 27 reduction[1] = quad[2]; 31 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { 32 reduction[0] = quad[0]; 33 reduction[1] = quad[2]; 37 static int check_linear(const SkDQuad& quad, 39 if (!quad.isLinear(0, 2)) 244 SkDQuad quad; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_matrix_filter.h | 39 struct pipe_vertex_buffer quad; member in struct:vl_matrix_filter
|
vl_median_filter.h | 47 struct pipe_vertex_buffer quad; member in struct:vl_median_filter
|
vl_vertex_buffers.c | 33 /* vertices for a quad covering a block */ 41 struct pipe_vertex_buffer quad; local 50 quad.stride = sizeof(struct vertex2f); 51 quad.buffer_offset = 0; 52 quad.buffer = pipe_buffer_create 59 quad.user_buffer = NULL; 61 if(!quad.buffer) 62 return quad; 68 quad.buffer, 80 return quad; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
FloatTextureTest.java | 38 Mesh quad, screenQuad; field in class:FloatTextureTest 118 quad.render(fbshader, GL20.GL_TRIANGLES); 126 quad.render(fbshader, GL20.GL_TRIANGLES); 141 if (quad != null) return; 142 quad = new Mesh(true, 4, 6, new VertexAttribute(Usage.Position, 3, "a_position"), new VertexAttribute(Usage.ColorUnpacked, 4, 145 quad.setVertices(new float[] {-1, -1, 0, 1, 1, 1, 1, 0, 1, 1, -1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, -1, 1, 0, 147 quad.setIndices(new short[] {0, 1, 2, 2, 3, 0});
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_stipple.c | 3 * quad polygon stipple stage 29 struct quad_header *quad = quads[q]; local 31 const int col0 = quad->input.x0 % 32; 32 const int y0 = quad->input.y0; 37 /* turn off quad mask bits that fail the stipple test */ 39 quad->inout.mask &= ~MASK_TOP_LEFT; 42 quad->inout.mask &= ~MASK_TOP_RIGHT; 45 quad->inout.mask &= ~MASK_BOTTOM_LEFT; 48 quad->inout.mask &= ~MASK_BOTTOM_RIGHT; 50 if (quad->inout.mask [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.cpp | 38 mesh* quad; member in struct:d3d11tex 47 quad = create_tex_quad(dev, g_vs, sizeof(g_vs)); 109 quad->bind_and_draw(ctx);
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_triemit.h | 38 static __inline void TAG(quad)( CTX_ARG, function 62 static __inline void TAG(quad)( CTX_ARG, function
|
/external/skia/tests/ |
PathOpsDRectTest.cpp | 31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { 32 rect->set(quad[0]); 33 rect->add(quad[1]); 34 rect->add(quad[2]); 48 const SkDQuad& quad = quadTests[index]; local 49 SkASSERT(ValidQuad(quad)); 50 setRawBounds(quad, &rect); 51 rect2.setBounds(quad);
|
PathOpsCubicQuadIntersectionTest.cpp | 17 SkDQuad quad; member in struct:quadCubic 58 const SkDQuad& quad = quadCubicTests[index].quad; local 59 SkASSERT(ValidQuad(quad)); 63 int order2 = reduce2.reduce(quad); 69 SkDebugf("[%d] quad order=%d\n", iIndex, order2); 73 int roots = i.intersect(cubic, quad); 78 SkDPoint xy2 = quad.ptAtT(tt2);
|
PathOpsQuadReduceOrderTest.cpp | 22 const SkDQuad& quad = testSet[index]; local 24 SkDEBUGCODE(int result = ) reducer.reduce(quad); 50 const SkDQuad& quad = quadraticLines[index]; local 51 order = reducer.reduce(quad); 53 SkDebugf("[%d] line quad order=%d\n", (int) index, order); 57 const SkDQuad& quad = quadraticModEpsilonLines[index]; local 58 order = reducer.reduce(quad); 60 SkDebugf("[%d] line mod quad order=%d\n", (int) index, order);
|
StrokerTest.cpp | 147 SkDebugf("\n%s quad=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[2], 162 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); 219 SkPoint quad[3]; local 220 quad[0].fX = r.nextRangeF(0, 500); 221 quad[0].fY = r.nextRangeF(0, 500); 224 quad[1].fX = r.nextRangeF(0, 500); 225 quad[1].fY = r.nextRangeF(0, 500); 226 } while (quad[0].distanceToSqd(quad[1]) < halfSquared); 228 quad[2].fX = r.nextRangeF(0, 500) 329 SkPoint quad[3]; local [all...] |
PathOpsCubicReduceOrderTest.cpp | 173 const SkDQuad& quad = quadraticPoints[index]; local 174 SkASSERT(ValidQuad(quad)); 175 SkDCubic cubic = quad.debugToCubic(); 178 SkDebugf("[%d] point quad order=%d\n", static_cast<int>(index), order); 183 const SkDQuad& quad = quadraticLines[index]; local 184 SkASSERT(ValidQuad(quad)); 185 SkDCubic cubic = quad.debugToCubic(); 188 SkDebugf("[%d] line quad order=%d\n", static_cast<int>(index), order); 193 const SkDQuad& quad = quadraticModEpsilonLines[index]; local 194 SkASSERT(ValidQuad(quad)); [all...] |
PathOpsQuadLineIntersectionTest.cpp | 16 SkDQuad quad; member in struct:lineQuad 21 // quad line results 31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, 42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); 52 intersections.intersect(quad, line); 59 SkDQuad quad; member in struct:oneLineQuad 82 const SkDQuad& quad = oneOffs[index].quad; local 83 SkASSERT(ValidQuad(quad)); 109 const SkDQuad& quad = lineQuadTests[index].quad; local [all...] |
PathOpsQuadLineIntersectionThreadedTest.cpp | 14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, 25 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 33 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); 35 intersections.intersect(quad, line); 41 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, 46 str += sprintf(str, " path.moveTo(%1.9g, %1.9g);\n", quad[0].fX, quad[0].fY); 47 str += sprintf(str, " path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", quad[1].fX, 48 quad[1].fY, quad[2].fX, quad[2].fY) 83 SkDQuad quad = {{{(double) ax, (double) ay}, {(double) bx, (double) by}, local [all...] |
/frameworks/base/libs/hwui/renderstate/ |
MeshState.cpp | 41 uint16_t quad = i * 4; local 43 regionIndices[index ] = quad; // top-left 44 regionIndices[index + 1] = quad + 1; // top-right 45 regionIndices[index + 2] = quad + 2; // bottom-left 46 regionIndices[index + 3] = quad + 2; // bottom-left 47 regionIndices[index + 4] = quad + 1; // top-right 48 regionIndices[index + 5] = quad + 3; // bottom-right
|
/external/deqp/modules/glshared/ |
glsInteractionTestUtil.hpp | 117 gls::FragmentOpUtil::IntegerQuad quad; member in struct:deqp::gls::InteractionTestUtil::RenderCommand 122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight);
|
glsFragOpInteractionCase.cpp | 167 struct Quad 175 Quad quad; member in struct:deqp::gls::__anon9881::RenderCommand 182 static Quad getRandomQuad (de::Random& rnd, int targetW, int targetH) 202 Quad quad; local 204 quad.posA = tcu::IVec2(flipX ? (x+width-1) : x, flipY ? (y+height-1) : y); 205 quad.posB = tcu::IVec2(flipX ? x : (x+width-1), flipY ? y : (y+height-1)); 207 return quad; 219 command.quad = getRandomQuad(rnd, targetW, targetH) [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RotateFilter.java | 28 import android.filterfw.geometry.Quad; 148 Quad quad = new Quad(x0, x1, x2, x3); local 149 ((ShaderProgram) mProgram).setTargetRegion(quad);
|
StraightenFilter.java | 28 import android.filterfw.geometry.Quad; 146 Quad quad = new Quad(p0, p1, p2, p3); local 147 ((ShaderProgram) mProgram).setSourceRegion(quad);
|
/external/deqp/modules/gles2/functional/ |
es2fDitheringTests.cpp | 53 using gls::FragmentOpUtil::Quad; 251 Quad quad; local 265 quad.color[0] = quadClr0; 266 quad.color[1] = isVerticallyIncreasing ? quadClr1 : quadClr0; 267 quad.color[2] = isVerticallyIncreasing ? quadClr0 : quadClr1; 268 quad.color[3] = quadClr1; 270 m_renderer->render(quad); 367 Quad quad; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fDitheringTests.cpp | 53 using gls::FragmentOpUtil::Quad; 251 Quad quad; local 265 quad.color[0] = quadClr0; 266 quad.color[1] = isVerticallyIncreasing ? quadClr1 : quadClr0; 267 quad.color[2] = isVerticallyIncreasing ? quadClr0 : quadClr1; 268 quad.color[3] = quadClr1; 270 m_renderer->render(quad); 365 Quad quad; local [all...] |
/external/icu/icu4c/source/i18n/ |
indiancal.cpp | 161 double wjd, depoch, quadricent, dqc, cent, dcent, quad, dquad, yindex, yearday, leapadj; local 169 quad = uprv_floor(dcent / 1461); 172 year = (int32_t)((quadricent * 400) + (cent * 100) + (quad * 4) + yindex);
|