/frameworks/base/libs/hwui/ |
D | PathTessellator.cpp | 235 const Vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices() argument 237 const int allocSize = (vertices.size() + extra) * 2; in getStrokeVerticesFromUnclosedVertices() 243 const int last = vertices.size() - 1; in getStrokeVerticesFromUnclosedVertices() 245 - (vertices[0].position[0] - vertices[1].position[0]), in getStrokeVerticesFromUnclosedVertices() 246 vertices[0].position[1] - vertices[1].position[1]); in getStrokeVerticesFromUnclosedVertices() 248 - (vertices[last].position[0] - vertices[last - 1].position[0]), in getStrokeVerticesFromUnclosedVertices() 249 vertices[last].position[1] - vertices[last - 1].position[1]); in getStrokeVerticesFromUnclosedVertices() 266 vertices[0].position[0] + beginRadialOffset.x, in getStrokeVerticesFromUnclosedVertices() 267 vertices[0].position[1] + beginRadialOffset.y); in getStrokeVerticesFromUnclosedVertices() 273 vertices[last].position[0] + endRadialOffset.x, in getStrokeVerticesFromUnclosedVertices() [all …]
|
D | Caches.cpp | 395 void Caches::bindPositionVertexPointer(bool force, GLvoid* vertices, GLsizei stride) { in bindPositionVertexPointer() argument 396 if (force || vertices != mCurrentPositionPointer || stride != mCurrentPositionStride) { in bindPositionVertexPointer() 398 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindPositionVertexPointer() 399 mCurrentPositionPointer = vertices; in bindPositionVertexPointer() 404 void Caches::bindTexCoordsVertexPointer(bool force, GLvoid* vertices, GLsizei stride) { in bindTexCoordsVertexPointer() argument 405 if (force || vertices != mCurrentTexCoordsPointer || stride != mCurrentTexCoordsStride) { in bindTexCoordsVertexPointer() 407 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindTexCoordsVertexPointer() 408 mCurrentTexCoordsPointer = vertices; in bindTexCoordsVertexPointer()
|
D | Matrix.cpp | 421 float vertices[] = { in mapRect() local 431 float px = vertices[i]; in mapRect() 432 float py = vertices[i + 1]; in mapRect() 439 vertices[i] = x * z; in mapRect() 440 vertices[i + 1] = y * z; in mapRect() 443 r.left = r.right = vertices[0]; in mapRect() 444 r.top = r.bottom = vertices[1]; in mapRect() 447 x = vertices[i]; in mapRect() 448 y = vertices[i + 1]; in mapRect()
|
D | OpenGLRenderer.cpp | 1877 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLuint vbo) { in setupDrawMesh() argument 1879 if (!vertices) { in setupDrawMesh() 1885 mCaches.bindPositionVertexPointer(force, vertices); in setupDrawMesh() 1893 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLvoid* colors) { in setupDrawMesh() argument 1897 mCaches.bindPositionVertexPointer(force, vertices, stride); in setupDrawMesh() 1910 void OpenGLRenderer::setupDrawMeshIndices(GLvoid* vertices, GLvoid* texCoords) { in setupDrawMeshIndices() argument 1912 mCaches.bindPositionVertexPointer(force, vertices); in setupDrawMeshIndices() 1918 void OpenGLRenderer::setupDrawVertices(GLvoid* vertices) { in setupDrawVertices() argument 1920 mCaches.bindPositionVertexPointer(force, vertices, gVertexStride); in setupDrawVertices() 1991 status_t OpenGLRenderer::drawBitmaps(SkBitmap* bitmap, int bitmapCount, TextureVertex* vertices, in drawBitmaps() argument [all …]
|
D | OpenGLRenderer.h | 242 status_t drawBitmaps(SkBitmap* bitmap, int bitmapCount, TextureVertex* vertices, 250 float* vertices, int* colors, SkPaint* paint); 797 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, 803 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, 944 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0); 945 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLvoid* colors); 946 void setupDrawMeshIndices(GLvoid* vertices, GLvoid* texCoords); 947 void setupDrawVertices(GLvoid* vertices);
|
D | Caches.h | 192 void bindPositionVertexPointer(bool force, GLvoid* vertices, GLsizei stride = gMeshStride); 198 void bindTexCoordsVertexPointer(bool force, GLvoid* vertices, GLsizei stride = gMeshStride);
|
D | DisplayListRenderer.cpp | 304 float* vertices, int* colors, SkPaint* paint) { in drawBitmapMesh() argument 307 vertices = refBuffer<float>(vertices, count); in drawBitmapMesh() 312 vertices, colors, paint)); in drawBitmapMesh()
|
D | DisplayListOp.h | 749 TextureVertex vertices[6 * ops.size()]; in multiDraw() local 750 TextureVertex* vertex = &vertices[0]; in multiDraw() 769 return renderer.drawBitmaps(mBitmap, ops.size(), &vertices[0], bounds, mPaint); in multiDraw() 876 float* vertices, int* colors, SkPaint* paint) in DrawBitmapMeshOp() argument 877 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), in DrawBitmapMeshOp() 879 mVertices(vertices), mColors(colors) {} in DrawBitmapMeshOp()
|
D | DisplayListRenderer.h | 105 float* vertices, int* colors, SkPaint* paint);
|
/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/native/opengl/tests/linetex/ |
D | linetex.cpp | 84 const GLfloat vertices[4][2] = { in main() local 103 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/native/opengl/tests/fillrate/ |
D | fillrate.cpp | 93 const GLfloat vertices[4][2] = { in main() local 116 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 141 const GLfloat vertices[4][2] = { in main() local 176 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 151 const GLfloat vertices[] = { in Java_com_android_gljni_GLJNILib_step() local 166 glVertexPointer(3, GL_FLOAT, 0, vertices); in Java_com_android_gljni_GLJNILib_step()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 232 const GLfloat vertices[] = { in render() local 253 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | shapes.jd | 109 <p>Again, you should define the vertices in a counterclockwise order for both triangles that 112 OpenGL ES graphics pipeline how to draw these vertices. Here’s the code for this shape:</p> 127 private short drawOrder[] = { 0, 1, 2, 0, 2, 3 }; // order to draw vertices
|
D | draw.jd | 71 <li><em>Vertex Shader</em> - OpenGL ES graphics code for rendering the vertices of a shape.</li> 155 // Enable a handle to the triangle vertices 189 vertices have not been corrected for the proportions of the screen area where the {@link
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 341 const GLfloat vertices[] = { in render() local 357 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 408 jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, in android_view_GLES20Canvas_drawBitmapMesh() argument 413 jfloat* verticesArray = vertices ? env->GetFloatArrayElements(vertices, NULL) + offset : NULL; in android_view_GLES20Canvas_drawBitmapMesh() 418 if (vertices) env->ReleaseFloatArrayElements(vertices, verticesArray, 0); in android_view_GLES20Canvas_drawBitmapMesh()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 809 GLfloat vertices[][2] = { in doDebugFlashRegions() local 815 glVertexPointer(2, GL_FLOAT, 0, vertices); in doDebugFlashRegions() 1665 GLfloat vertices[][2] = { in drawWormhole() local 1671 glVertexPointer(2, GL_FLOAT, 0, vertices); in drawWormhole()
|
/frameworks/rs/scriptc/ |
D | rs_types.rsh | 444 * defined by the first three vertices with each additional
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTexture_test.cpp | 462 …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 463 glVertexPointer(2, GL_FLOAT, 0, vertices); in TEST_F()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | opengl.jd | 382 space. A set of three or more three-dimensional points (called vertices in OpenGL) have a front face
|