Searched refs:positions (Results 76 - 100 of 219) sorted by relevance

123456789

/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp89 static void rectsToTriangles (const vector<IVec4>& rects, int width, int height, vector<Vec2>& positions, vector<deUint16>& indices) argument
94 positions.resize(rects.size()*4);
109 positions[rectNdx*4 + 0] = Vec2(x0, y0);
110 positions[rectNdx*4 + 1] = Vec2(x1, y0);
111 positions[rectNdx*4 + 2] = Vec2(x0, y1);
112 positions[rectNdx*4 + 3] = Vec2(x1, y1);
139 vector<Vec2> positions; local
154 rectsToTriangles(rects, width, height, positions, indices);
157 const glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[
222 const float positions[] = local
287 const float positions[] = local
353 const float positions[] = local
[all...]
/external/skia/src/core/
H A DSkVertices.cpp108 SkPoint* SkVertices::Builder::positions() { function in class:SkVertices::Builder
109 return fVertices ? const_cast<SkPoint*>(fVertices->positions()) : nullptr;
138 sk_careful_memcpy(builder.positions(), pos, sizes.fVSize);
222 reader.read(builder.positions(), sizes.fVSize);
/external/skqp/src/core/
H A DSkVertices.cpp108 SkPoint* SkVertices::Builder::positions() { function in class:SkVertices::Builder
109 return fVertices ? const_cast<SkPoint*>(fVertices->positions()) : nullptr;
138 sk_careful_memcpy(builder.positions(), pos, sizes.fVSize);
222 reader.read(builder.positions(), sizes.fVSize);
/external/harfbuzz_ng/src/
H A Dhb-coretext.cc1155 /* Setup positions.
1161 const CGPoint* positions = USE_PTR ? CTRunGetPositionsPtr (run) : nullptr; local
1162 if (!positions) {
1165 positions = position_buf;
1170 hb_position_t x_offset = (positions[0].x - advances_so_far) * x_mult;
1175 advance = positions[j + 1].x - positions[j].x;
1177 advance = run_advance - (positions[j].x - positions[0].x);
1180 info->var2.i32 = positions[
[all...]
/external/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.cpp59 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument
78 dx[out] = (le_int32) (positions[g * 2 + 2] - positions[g * 2]);
79 ps[out * 2] = positions[g * 2];
80 ps[out * 2 + 1] = positions[g * 2 + 1];
H A DGDIFontInstance.h41 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
H A Dparagraph.cpp253 const float *positions = visualRun->getPositions(); local
255 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
/external/skqp/src/gpu/text/
H A DGrAtlasTextBlob.cpp71 const SkRect& positions,
77 if (positions.isEmpty()) {
110 subRun->joinGlyphBounds(positions);
120 *reinterpret_cast<SkPoint3*>(vertex) = {positions.fLeft, positions.fTop, 1.f};
125 *reinterpret_cast<SkPoint3*>(vertex) = {positions.fLeft, positions.fBottom, 1.f};
130 *reinterpret_cast<SkPoint3*>(vertex) = {positions.fRight, positions.fTop, 1.f};
135 *reinterpret_cast<SkPoint3*>(vertex) = {positions
70 appendGlyph(int runIndex, const SkRect& positions, GrColor color, GrAtlasTextStrike* strike, GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph, SkScalar x, SkScalar y, SkScalar scale, bool treatAsBMP) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_surface.c705 /* We can't actually query the device to learn the sample positions.
745 const float (*positions)[2];
749 positions = pos4;
752 positions = pos8;
755 positions = pos16;
758 positions = pos1;
761 pos_out[0] = positions[sample_index][0];
762 pos_out[1] = positions[sample_index][1];
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureTestUtil.cpp947 float positions[] = local
954 renderQuad(result, positions, texUnit, texCoord, params, maxAnisotropy);
958 const float* positions,
977 positions[0]*wCoord.x(), positions[1]*wCoord.x(), positions[2], positions[3]*wCoord.x(),
978 positions[4]*wCoord.y(), positions[5]*wCoord.y(), positions[
957 renderQuad(tcu::Surface& result, const float* positions, int texUnit, const float* texCoord, const glu::TextureTestUtil::ReferenceParams& params, const float maxAnisotropy) argument
[all...]
/external/skqp/src/gpu/ops/
H A DGrLatticeOp.cpp134 SkPoint* positions = reinterpret_cast<SkPoint*>(verts); variable
135 SkPointPriv::SetRectTriStrip(positions, dstR.fLeft, dstR.fTop, dstR.fRight,
155 SkPoint* positions = reinterpret_cast<SkPoint*>(patchVerts); variable
156 SkMatrixPriv::MapPointsWithStride(patch.fViewMatrix, positions, vertexStride,
/external/deqp/modules/gles2/functional/
H A Des2fShaderFragDataTests.cpp154 const float positions[] = local
173 glu::va::Float("a_position", 2, 4, 0, &positions[0]),
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp364 vector<float> positions (4*vertexCount*m_primitiveCount);
376 positions[ndx+0] = (basePositions[vertNdx*2 + 0]*scale + dx)*primitiveArea.z() + primitiveArea.x();
377 positions[ndx+1] = (basePositions[vertNdx*2 + 1]*scale + dy)*primitiveArea.w() + primitiveArea.y();
378 positions[ndx+2] = 0.2f;
379 positions[ndx+3] = 1.0f;
390 case TRIANGLE: drawPrimitives(gl, program, GL_TRIANGLES, positions, indices); break;
391 case LINE: drawPrimitives(gl, program, GL_LINES, positions, indices); break;
392 case POINT: drawPrimitives(gl, program, GL_POINTS, positions, indices); break;
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DSplitter.java178 positions:
183 continue positions;
/external/ply/ply/ply/
H A Dcpp.py330 # must be enclosed in parenthesis. Returns a tuple (tokencount,args,positions)
332 # and positions is a list of integers containing the starting index of each
344 positions = []
355 positions.append(i+1)
372 positions.append(i)
373 return i+1,args,positions
377 positions.append(i+1)
513 tokcount,args,positions = self.collect_args(tokens[j:])
528 args[len(m.arglist)-1] = tokens[j+positions[len(m.arglist)-1]:j+tokcount-1]
813 tokcount, args, positions
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DTiledVertexGrid.java119 final float[][] positions = { p0, p1, p2, p3 };
122 grid.set(tileX, tileY, positions, uvs);
/external/skia/src/atlastext/
H A DSkAtlasTextTarget.cpp121 void SkInternalAtlasTextTarget::drawText(const SkGlyphID glyphs[], const SkPoint positions[], argument
140 const SkScalar* pos = &positions->fX;
/external/skqp/src/atlastext/
H A DSkAtlasTextTarget.cpp121 void SkInternalAtlasTextTarget::drawText(const SkGlyphID glyphs[], const SkPoint positions[], argument
140 const SkScalar* pos = &positions->fX;
/external/harfbuzz_ng/test/api/
H A Dtest-buffer.c301 hb_glyph_position_t *positions; local
303 /* Without shaping, positions should all be zero */
306 positions = hb_buffer_get_glyph_positions (b, &len2);
309 g_assert_cmpint (0, ==, positions[i].x_advance);
310 g_assert_cmpint (0, ==, positions[i].y_advance);
311 g_assert_cmpint (0, ==, positions[i].x_offset);
312 g_assert_cmpint (0, ==, positions[i].y_offset);
313 g_assert_cmpint (0, ==, positions[i].var.i32);
643 /* illegal code positions */
/external/v8/src/compiler/
H A Dgraph-visualizer.cc119 const SourcePositionTable* positions)
123 positions_(positions),
248 JSONGraphNodeWriter(os, &tmp_zone, &ad.graph, ad.positions).Print();
262 const SourcePositionTable* positions,
414 const SourcePositionTable* positions,
504 if (positions != nullptr) {
505 SourcePosition position = positions->GetSourcePosition(node);
118 JSONGraphNodeWriter(std::ostream& os, Zone* zone, const Graph* graph, const SourcePositionTable* positions) argument
412 PrintSchedule(const char* phase, const Schedule* schedule, const SourcePositionTable* positions, const InstructionSequence* instructions) argument
/external/deqp/modules/gles3/functional/
H A Des3fShaderBuiltinVarTests.cpp328 const float positions[] = local
338 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
425 const float positions[] = local
434 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
643 const float positions[] = local
653 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
708 void renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors);
821 // Compute positions.
932 void VertexIDCase::renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors) argument
944 attribs[0].pointer = positions;
[all...]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dobject_detector.h150 virtual void Detect(const std::vector<BoundingSquare>& positions,
H A Dobject_tracker.cc605 std::vector<BoundingSquare> positions; local
612 positions.push_back(GetCenteredSquare(
628 &positions);
636 detector_->Detect(positions, &detections);
/external/v8/src/inspector/
H A Dv8-debugger-agent-impl.cc449 // Ranges array contains positions in script where blackbox state is changed.
820 std::vector<std::pair<int, int>> positions; local
821 positions.reserve(inPositions->length());
828 positions.push_back(
832 for (size_t i = 1; i < positions.size(); ++i) {
833 if (positions[i - 1].first < positions[i].first) continue;
834 if (positions[i - 1].first == positions[i].first &&
835 positions[
[all...]
/external/deqp/modules/egl/
H A DteglRenderTests.cpp120 vector<Vec4> positions; member in struct:deqp::egl::__anon4903::DrawPrimitiveOp
169 drawOp.positions.resize(drawOp.count*3);
179 tcu::Vec4& position = drawOp.positions[triNdx*3 + coordNdx];
197 tcu::Vec4& p0 = drawOp.positions[triNdx*3 + 0];
198 tcu::Vec4& p1 = drawOp.positions[triNdx*3 + 1];
199 tcu::Vec4& p2 = drawOp.positions[triNdx*3 + 2];
464 attributes[0].pointer = &drawOp->positions[0];
615 gl.vertexAttribPointer(gles2Program.getPositionLoc(), 4, GL_FLOAT, GL_FALSE, 0, &drawOp.positions[0]);

Completed in 2784 milliseconds

123456789