/frameworks/native/opengl/tests/angeles/ |
demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 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, 2, 0) [all...] |
/external/libxcam/xcore/interface/ |
stitcher.cpp | 601 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices, 604 vertices.reserve (2 * (res_width + 1) * (res_height + 1)); 630 vertices.push_back (PointFloat3(world_pos0.x / _config.a, world_pos0.y / _config.b, world_pos0.z / _config.c)); 638 vertices.push_back (PointFloat3(world_pos1.x / _config.a, world_pos1.y / _config.b, world_pos1.z / _config.c)); 649 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices, 652 return get_stitch_image_vertex_model (vertices, texture_points, indeices, res_width, res_height, (float)_bowl_img_height); 657 VertexMap &vertices, PointMap &texture_points, IndexVector &indeices, 663 return get_stitch_image_vertex_model (vertices, texture_points, indeices, res_width, res_height, ground_image_height);
|
/external/skia/gm/ |
gamut.cpp | 103 SkPoint vertices[4] = { variable 109 canvas->drawVertices(SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 4, vertices, 114 return "Vertices";
|
/external/skia/src/gpu/ |
GrOpFlushState.cpp | 188 void GrOpFlushState::putBackVertices(int vertices, size_t vertexStride) { 189 fVertexPool.putBack(vertices * vertexStride);
|
/external/skqp/gm/ |
gamut.cpp | 102 SkPoint vertices[4] = { variable 108 canvas->drawVertices(SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 4, vertices, 113 return "Vertices";
|
/external/skqp/src/gpu/ |
GrOpFlushState.cpp | 184 void GrOpFlushState::putBackVertices(int vertices, size_t vertexStride) { 185 fVertexPool.putBack(vertices * vertexStride);
|
/frameworks/base/libs/hwui/ |
PatchCache.cpp | 163 * Sets the mesh's offsets and copies its associated vertices into 205 newMesh->vertices.get()); 236 if (newMesh->vertices) {
|
/frameworks/native/opengl/tests/filter/ |
filter.cpp | 145 const GLfloat vertices[4][2] = { 181 glVertexPointer(2, GL_FLOAT, 0, vertices);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 156 const GLfloat vertices[] = { local 171 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 229 const GLfloat vertices[] = {
local 250 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/external/deqp/modules/gles31/functional/ |
es31fShaderHelperInvocationTests.cpp | 169 vector<Vec2> vertices; local 172 genVertices(primType, numPrimitives, rnd, &vertices); 174 vertexArrays.push_back(glu::va::Float("a_position", 2, (int)vertices.size(), 0, (const float*)&vertices[0])); 197 glu::PrimitiveList(getGluPrimitiveType(primType), (int)vertices.size()));
|
es31fProgramInterfaceDefinition.cpp | 556 void Program::setGeometryNumOutputVertices (deUint32 vertices) 558 m_geoNumOutputVertices = vertices; 566 void Program::setTessellationNumOutputPatchVertices (deUint32 vertices) 568 m_tessNumOutputVertices = vertices;
|
/external/skia/tests/ |
OnFlushCallbackTest.cpp | 126 void* vertices = target->makeVertexSpace(vertexStride, 4, &vertexBuffer, &firstVertex); variable 127 if (!vertices) { 128 SkDebugf("Vertices could not be allocated for GrAtlasedOp.\n"); 141 SkPoint* position = (SkPoint*) vertices; 146 GrColor* color = (GrColor*)((intptr_t)vertices + kColorOffset); 154 SkPoint* coords = (SkPoint*)((intptr_t) vertices + kLocalOffset);
|
/external/skia/tools/gpu/atlastext/ |
GLTestAtlasTextRenderer.cpp | 30 void drawSDFGlyphs(void* targetHandle, void* textureHandle, const SDFVertex vertices[], 335 const SDFVertex vertices[], int quadCnt) { 363 callgl(VertexAttribPointer, 0, 3, GR_GL_FLOAT, GR_GL_FALSE, sizeof(SDFVertex), vertices); 366 reinterpret_cast<const char*>(vertices) + colorOffset); 369 reinterpret_cast<const char*>(vertices) + texOffset);
|
/external/skqp/tests/ |
OnFlushCallbackTest.cpp | 124 void* vertices = target->makeVertexSpace(vertexStride, 4, &vertexBuffer, &firstVertex); variable 125 if (!vertices) { 126 SkDebugf("Vertices could not be allocated for GrAtlasedOp.\n"); 139 SkPoint* position = (SkPoint*) vertices; 144 GrColor* color = (GrColor*)((intptr_t)vertices + kColorOffset); 152 SkPoint* coords = (SkPoint*)((intptr_t) vertices + kLocalOffset);
|
/external/skqp/tools/gpu/atlastext/ |
GLTestAtlasTextRenderer.cpp | 30 void drawSDFGlyphs(void* targetHandle, void* textureHandle, const SDFVertex vertices[], 335 const SDFVertex vertices[], int quadCnt) { 363 callgl(VertexAttribPointer, 0, 3, GR_GL_FLOAT, GR_GL_FALSE, sizeof(SDFVertex), vertices); 366 reinterpret_cast<const char*>(vertices) + colorOffset); 369 reinterpret_cast<const char*>(vertices) + texOffset);
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
linkValidate.cpp | 124 if (vertices == TQualifier::layoutNotSet) 125 vertices = unit.vertices; 126 else if (vertices != unit.vertices) { 130 error(infoSink, "Contradictory layout vertices values"); 461 if (vertices == TQualifier::layoutNotSet) 462 error(infoSink, "At least one shader must specify an output layout(vertices=...)"); 483 if (vertices == TQualifier::layoutNotSet [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 96 * x (numSlices x 1) much of vertices 401 FloatBuffer vertices = mSpheres[i].getVertices(); local 402 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, vertices.limit() 403 * Sphere.FLOAT_SIZE, vertices, GLES20.GL_STATIC_DRAW);
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
esextcTessellationShaderPrimitiveCoverage.cpp | 63 "layout(vertices = 4) out;\n" 110 "layout(vertices = 3) out;\n" 520 /* Set up an array of vertices that will be fed into vertex shader */ 521 glw::GLfloat vertices[6 /* vertices */ * m_n_components /* components */] = { local 535 gl.bufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW); 565 * @param n_patch_vertices number of input vertices for a single patch (must 567 * @param n_draw_call_vertices number of input vertices for a reference draw call
|
/external/mesa3d/src/gallium/tests/graw/ |
fs-test.c | 60 static struct vertex vertices[] = variable in typeref:struct:vertex 179 sizeof(vertices), 180 vertices);
|
gs-test.c | 65 static struct vertex vertices[] = variable in typeref:struct:vertex 247 sizeof(vertices), 248 vertices);
|
/external/skqp/src/gpu/ops/ |
GrLatticeOp.cpp | 113 void* vertices = helper.init(target, vertexStride, indexBuffer.get(), kVertsPerRect, variable 115 if (!vertices || !indexBuffer) { 116 SkDebugf("Could not allocate vertices\n"); 120 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationInvarianceTests.cpp | 262 << "layout(vertices = 1) out;\n" 681 // If this fails then we didn't read all vertices from shader and test must be changed to allow more. 706 * Test that the set of vertices along an outer edge of a quad or triangle 712 * primitives, the vertices generated for that outer edge. Repeat with 714 * the edge's vertices between different programs. 731 Vec3Set firstOuterEdgeVertices; // Vertices of the outer edge of the first patch of the first program's draw call; used for comparison with other patches. 746 return tcu::TestStatus::fail("Invalid set of vertices"); 748 // Check the vertices of each patch. 760 // We're interested in just the vertices on the current outer edge. 769 // Compare the vertices to those of the first patch (unless this is the first patch) [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cIndirectParametersTests.cpp | 345 const GLfloat vertices[] = { -1.0f, -1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, local 349 { 4, 2, 0, 0 }, //4 vertices, 2 instanceCount, 0 first, 0 baseInstance 350 { 4, 1, 2, 0 } //4 vertices, 1 instanceCount, 2 first, 0 baseInstance 369 gl.bufferData(GL_ARRAY_BUFFER, 24 * sizeof(GLfloat), vertices, GL_STATIC_DRAW); 526 const GLfloat vertices[] = { -1.0f, -1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, local 552 gl.bufferData(GL_ARRAY_BUFFER, 24 * sizeof(GLfloat), vertices, GL_STATIC_DRAW);
|
/external/skia/src/core/ |
SkDraw.h | 71 const SkPoint vertices[], const SkPoint textures[],
|