/frameworks/base/opengl/tests/linetex/ |
H A D | linetex.cpp | 84 const GLfloat vertices[4][2] = { local 103 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 93 const GLfloat vertices[4][2] = { local 116 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 340 float vertices[] = { local 350 float px = vertices[i]; 351 float py = vertices[i + 1]; 358 vertices[i] = x * z; 359 vertices[i + 1] = y * z; 362 r.left = r.right = vertices[0]; 363 r.top = r.bottom = vertices[1]; 366 x = vertices[i]; 367 y = vertices[i + 1];
|
H A D | DisplayListRenderer.cpp | 367 float* vertices = getFloats(verticesCount); local 711 float* vertices = getFloats(verticesCount); local 717 renderer.drawBitmapMesh(bitmap, meshWidth, meshHeight, vertices, colors, paint); 1109 float* vertices, int* colors, SkPaint* paint) { 1114 addFloats(vertices, (meshWidth + 1) * (meshHeight + 1) * 2); 1108 drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, float* vertices, int* colors, SkPaint* paint) argument
|
H A D | OpenGLRenderer.cpp | 1227 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLuint vbo) { argument 1228 if (!vertices) { 1234 gMeshStride, vertices); 1240 void OpenGLRenderer::setupDrawVertices(GLvoid* vertices) { argument 1243 gVertexStride, vertices); 1257 void OpenGLRenderer::setupDrawAALine(GLvoid* vertices, GLvoid* widthCoords, argument 1261 gAAVertexStride, vertices); 1389 float* vertices, int* colors, SkPaint* paint) { 1391 if (!vertices || mSnapshot->isIgnored()) { 1441 TextureVertex::set(vertex++, vertices[a 1388 drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, float* vertices, int* colors, SkPaint* paint) argument 1748 Vertex* vertices = &lines[0]; local 2467 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument [all...] |
/frameworks/base/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 151 const GLfloat vertices[] = { local 166 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/frameworks/base/opengl/tests/tritex/ |
H A D | tritex.cpp | 232 const GLfloat vertices[] = {
local 253 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/frameworks/base/services/surfaceflinger/ |
H A D | LayerBase.cpp | 293 const GLshort vertices[][2] = { { 0, 0 }, { fbWidth, 0 }, local 295 glVertexPointer(2, GL_SHORT, 0, vertices);
|
/frameworks/base/opengl/tests/angeles/ |
H A D | demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, argument 123 result->count = vertices; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * 207 const long vertices = triangleCount * 3; local 213 result = newGLObject(vertices, 3, 1); 338 // Set number of vertices in object to the actual amount created. 351 const long vertices = triangleCount * 3; local 356 result = newGLObject(vertices, [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 364 jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, 369 jfloat* verticesArray = vertices ? env->GetFloatArrayElements(vertices, NULL) + offset : NULL; 374 if (vertices) env->ReleaseFloatArrayElements(vertices, verticesArray, 0); 362 android_view_GLES20Canvas_drawBitmapMesh(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, jintArray colors, jint colorOffset, SkPaint* paint) argument
|