/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 194 float vertices[len * quadCoords]; in drawString() local 218 vertices[off + 0] = vertLeft; in drawString() 219 vertices[off + 1] = vertBottom; in drawString() 220 vertices[off + 2] = vertRight; in drawString() 221 vertices[off + 3] = vertBottom; in drawString() 222 vertices[off + 4] = vertLeft; in drawString() 223 vertices[off + 5] = vertTop; in drawString() 224 vertices[off + 6] = vertLeft; in drawString() 225 vertices[off + 7] = vertTop; in drawString() 226 vertices[off + 8] = vertRight; in drawString() [all …]
|
D | Program.h | 62 const float* vertices, const float* texes, size_t count) const; 72 const float* vertices, const float* texes, bool invert) const;
|
D | Program.cpp | 230 const float* vertices, const float* texes, size_t count) const { in drawTriangles() argument 235 err = beforeDraw(texName, texMatrix, vertices, texes, false); in drawTriangles() 244 const float* vertices, const float* texes, bool invert) const { in beforeDraw() argument 261 glVertexAttribPointer(maPositionLoc, 2, GL_FLOAT, GL_FALSE, 0, vertices); in beforeDraw()
|
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/ |
D | Circle.cpp | 31 std::vector<GLfloat> vertices = std::vector<GLfloat>(2 * segments + 2); in initializeVertices() local 34 vertices[(i + 1) * 2] = cos(dTheta * i); in initializeVertices() 35 vertices[(i + 1) * 2 + 1] = sin(dTheta * i); in initializeVertices() 37 return vertices; in initializeVertices() 198 static auto vertices = initializeVertices(segments); in getVertices() local 201 vertices = initializeVertices(segments); in getVertices() 204 return vertices; in getVertices()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | Cube.java | 33 int vertices[] = { in Cube() local 72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube() 75 mVertexBuffer.put(vertices); in Cube()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 4294 float[] vertices = new float[vertexCount * 2]; 4295 int[] colors = new int[vertices.length]; 4296 computeChromaticityMesh(vertices, colors); 4298 if (mUcs) xyYToUv(vertices); 4299 for (int i = 0; i < vertices.length; i += 2) { 4300 vertices[i] *= width; 4301 vertices[i + 1] = height - vertices[i + 1] * height; 4324 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, 4330 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, 4335 canvas.drawVertices(Canvas.VertexMode.TRIANGLES, vertices.length, vertices, 0, [all …]
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, in newGLObject() argument 123 result->count = vertices; in newGLObject() 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject() 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject() 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject() 207 const long vertices = triangleCount * 3; in createSuperShape() local 213 result = newGLObject(vertices, 3, 1); in createSuperShape() 351 const long vertices = triangleCount * 3; in createGroundPlane() local 356 result = newGLObject(vertices, 2, 0); in createGroundPlane()
|
/frameworks/base/libs/hwui/ |
D | Matrix.cpp | 477 float vertices[] = {r.left, r.top, r.right, r.top, r.right, r.bottom, r.left, r.bottom}; in mapRect() local 482 float px = vertices[i]; in mapRect() 483 float py = vertices[i + 1]; in mapRect() 490 vertices[i] = x * z; in mapRect() 491 vertices[i + 1] = y * z; in mapRect() 494 r.left = r.right = vertices[0]; in mapRect() 495 r.top = r.bottom = vertices[1]; in mapRect() 498 x = vertices[i]; in mapRect() 499 y = vertices[i + 1]; in mapRect()
|
D | RecordingCanvas.cpp | 434 : vertices(sk_ref_sp(const_cast<SkVertices*>(v))), boneCount(bc), mode(m), paint(p) {} in DrawVertices() 435 sk_sp<SkVertices> vertices; member 440 c->drawVertices(vertices, pod<SkVertices::Bone>(this), boneCount, mode, paint); in draw() 655 void DisplayListData::drawVertices(const SkVertices* vertices, const SkVertices::Bone bones[], in drawVertices() argument 657 void* pod = this->push<DrawVertices>(boneCount * sizeof(SkVertices::Bone), vertices, boneCount, in drawVertices() 966 void RecordingCanvas::onDrawVerticesObject(const SkVertices* vertices, in onDrawVerticesObject() argument 969 fDL->drawVertices(vertices, bones, boneCount, mode, paint); in onDrawVerticesObject()
|
D | SkiaCanvas.cpp | 540 void SkiaCanvas::drawVertices(const SkVertices* vertices, SkBlendMode mode, const SkPaint& paint) { in drawVertices() argument 541 mCanvas->drawVertices(vertices, mode, *filterPaint(paint)); in drawVertices() 569 const float* vertices, const int* colors, const SkPaint* paint) { in drawBitmapMesh() argument 577 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh()
|
D | SkiaCanvas.h | 130 const float* vertices, const int* colors,
|
/frameworks/native/opengl/tests/linetex/ |
D | linetex.cpp | 85 const GLfloat vertices[4][2] = { in main() local 104 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/ |
D | Scene.cpp | 238 …std::vector<GLfloat> vertices = std::vector<GLfloat>( num_vert * 9); // 3 pos + 3 colour + 3 normal in initializeVertices() local 244 GLfloat* v = vertices.data(); in initializeVertices() 255 return vertices; in initializeVertices() 311 static std::vector<GLfloat> vertices; in getVertices() local 314 vertices = initializeVertices(workload); in getVertices() 317 return vertices; in getVertices()
|
/frameworks/native/libs/gui/tests/ |
D | MultiTextureConsumer_test.cpp | 114 …GLfloat vertices[][2] = { {i*16.0f, 0}, {(i+1)*16.0f, 0}, {(i+1)*16.0f, 16.0f}, {i*16.0f, 16.0f} }; in TEST_F() local 115 glVertexPointer(2, GL_FLOAT, 0, vertices); in TEST_F()
|
/frameworks/native/opengl/tests/fillrate/ |
D | fillrate.cpp | 96 const GLfloat vertices[4][2] = { in main() local 119 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 145 const GLfloat vertices[4][2] = { in main() local 181 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 156 const GLfloat vertices[] = { in Java_com_android_gljni_GLJNILib_step() local 171 glVertexPointer(3, GL_FLOAT, 0, vertices); in Java_com_android_gljni_GLJNILib_step()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 229 const GLfloat vertices[] = { in render() local 250 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 370 const GLfloat vertices[] = { in render() local 386 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 261 const float* vertices, const int* colors, const SkPaint* paint) = 0;
|
/frameworks/rs/script_api/include/ |
D | rs_graphics.rsh | 155 …ll be rendered as a connected triangle strip defined by the first three vertices with each additio…
|
/frameworks/native/vulkan/api/ |
D | vulkan.api | 4141 …u32 stride /// Distance between vertices in… 4569 … maxTessellationPatchSize /// max patch size (vertices) 4580 … maxGeometryOutputVertices /// max num of vertices that can be emitt… 4581 …etryTotalOutputComponents /// max total num of components (all vertices) written in geome…
|