Searched defs:indices (Results 201 - 225 of 319) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/utils/debugger/
H A DSkDebugCanvas.cpp571 SkXfermode*, const uint16_t indices[], int indexCount,
574 texs, colors, NULL, indices, indexCount, paint));
569 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkDrawCommand.cpp818 const uint16_t indices[], int indexCount,
849 memcpy(fIndices, indices, indexCount * sizeof(uint16_t));
815 SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfermode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp401 std::vector<deUint16> indices; local
408 indices.push_back(i*4);
409 indices.push_back(i*4 + 1);
410 indices.push_back(i*4 + 2);
411 indices.push_back(i*4 + 2);
412 indices.push_back(i*4 + 3);
413 indices.push_back(i*4);
461 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, (GLsizei)indices.size(), GL_UNSIGNED_SHORT, &(indices[0])));
601 static const GLushort indices[] local
746 static const GLushort indices[] = { local
1035 static const GLushort indices[] = { local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fDrawTests.cpp566 this->addChild(new IndexGroup(m_context, "indices", "Index tests", m_method));
707 const deUint16 indices[] = local
748 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW);
H A Des3fShaderBuiltinVarTests.cpp335 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; local
344 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(indices), &indices[0]));
432 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; local
439 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(indices), &indices[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);
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
959 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, numVertices, rr::DrawIndices(indices))));
1000 vector<deUint16> indices (m_position
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fDrawTests.cpp695 this->addChild(new IndexGroup(m_context, "indices", "Index tests", m_method));
838 const deUint16 indices[] = local
882 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW);
1237 << " uint indices[];\n"
1321 buf << " // indices\n"
1327 << " indices[(y * gridSize + x) * 6u + 0u] = ((y+0u) * (gridSize+1u) + (x+0u)) * 2u + color;\n"
1328 << " indices[(y * gridSize + x) * 6u + 1u] = ((y+1u) * (gridSize+1u) + (x+0u)) * 2u + color;\n"
1329 << " indices[(y * gridSize + x) * 6u + 2u] = ((y+1u) * (gridSize+1u) + (x+1u)) * 2u + color;\n"
1330 << " indices[(
[all...]
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp84 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; local
92 gl.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]);
98 void drawPrimitives (const glw::Functions& gl, deUint32 program, const deUint32 type, const vector<float>& vertices, const vector<deUint16>& indices) argument
108 gl.drawElements(type, GLsizei(indices.size()), GL_UNSIGNED_SHORT, &indices[0]);
360 vector<deUint16> indices (indexCount*m_primitiveCount);
378 indices[primNdx*indexCount + ndx] = baseIndices[ndx] + primNdx*vertexCount;
385 case TRIANGLE: drawPrimitives(gl, program, GL_TRIANGLES, positions, indices); break;
386 case LINE: drawPrimitives(gl, program, GL_LINES, positions, indices); brea
[all...]
H A DglsTextureBufferCase.cpp109 // Fill indices with nice quad
111 const deUint8 indices[] = local
119 for (int i = 0; i < DE_LENGTH_OF_ARRAY(indices); i++)
121 const deUint8 index = indices[i];
135 const deUint8 indices[] = local
154 for (int i = (int)offset; i < DE_LENGTH_OF_ARRAY(indices) && i < (int)(offset + size); i++)
155 coords[i-offset] = indices[i];
/external/icu/icu4c/source/test/letest/
H A Dletest.cpp60 le_int32 *indices = NULL; local
70 indices = NEW_ARRAY(le_int32, glyphCount + 10);
108 engine->getCharIndices(indices, status);
111 log_err("Calling getCharIndices(indices, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
122 engine->getCharIndices(indices, 1024, status);
125 log_err("Calling getCharIndices(indices, 1024, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
143 DELETE_ARRAY(indices);
246 le_int32 biasedIndices[6], indices[6], glyph; local
267 engine->getCharIndices(indices, status);
271 log_err("Could not get glyph, indices an
611 UnicodeString text, glyphs, indices, positions; local
[all...]
/external/llvm/lib/IR/
H A DConstantsContext.h326 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
331 SmallVector<unsigned, 4> indices; member in struct:llvm::ExprMapKeyType
337 this->indices == that.indices;
341 indices) <
343 that.subclassoptionaldata, that.indices);
448 V.indices, Ty);
450 return new ExtractValueConstantExpr(V.operands[0], V.indices, Ty);
/external/lzma/CPP/7zip/Archive/
H A DXzHandler.cpp451 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems, argument
457 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_vbuf.c904 const void *indices; local
909 indices = (uint8_t*)ib->user_buffer +
912 indices = pipe_buffer_map_range(pipe, ib->buffer,
920 const unsigned *ui_indices = (const unsigned*)indices;
942 const unsigned short *us_indices = (const unsigned short*)indices;
964 const unsigned char *ub_indices = (const unsigned char*)indices;
1037 /* Primitive restart doesn't work when unrolling indices.
1039 /* Use some heuristic to see if unrolling indices improves
1090 printf("unrolling indices: start_vertex = %i, num_vertices = %i\n",
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_render.c146 * - index_offset: the value that must be manually subtracted from indices
455 DBG(r300, DBG_DRAW, "r300: Indexbuf of %u indices, max %u\n",
460 /* If start is odd, render the first triangle with indices embedded
616 /* Fallback for misaligned ushort indices. */
1039 const ushort* indices,
1067 * indices than it can fit in CS. */
1084 OUT_CS(indices[i+1] << 16 | indices[i]);
1087 OUT_CS(indices[short_count-1]);
1091 /* OK now subtract the emitted indices an
1038 r300_render_draw_elements(struct vbuf_render* render, const ushort* indices, uint count) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
H A Dsm4.h257 } indices[3]; member in struct:sm4_op
261 return !indices[i].reg.get() && indices[i].disp >= 0 && (int64_t)(int32_t)indices[i].disp == indices[i].disp;
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.cpp104 triangle_list_indices<> indices; local
130 indices.flip = face > 0;
154 indices.poly(teeth * segs + k, j, teeth * segs + nextk);
157 indices.poly(teeth * segs + nextj * divs, j, nextj);
161 indices.base += teeth * segs * (1 + divs);
165 indices.flip = true;
197 indices.poly(0, 1, 3, 2);
198 indices.base += 4;
204 indices.flip = true;
215 indices
[all...]
/external/mesa3d/src/glx/
H A Dindirect_vertex_array.c72 const GLvoid * indices);
74 const GLvoid * indices);
721 const GLvoid * indices)
758 index = (unsigned) (((GLuint *) indices)[i]);
761 index = (unsigned) (((GLushort *) indices)[i]);
764 index = (unsigned) (((GLubyte *) indices)[i]);
788 const GLvoid * indices)
818 const GLuint *ui_ptr = (const GLuint *) indices + req_element;
827 const GLushort *us_ptr = (const GLushort *) indices + req_element;
836 const GLubyte *ub_ptr = (const GLubyte *) indices
720 emit_DrawElements_none(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) argument
787 emit_DrawElements_old(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) argument
989 __indirect_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) argument
1010 __indirect_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) argument
1062 __indirect_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dvarray.c1117 GLenum type, const GLvoid * const * indices,
1130 CALL_DrawElements(ctx->Exec, ( m, count[i], type, indices[i] ));
1116 _mesa_MultiModeDrawElementsIBM( const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride ) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_save_api.c962 const GLvoid * indices)
968 (void) indices;
975 GLsizei count, GLenum type, const GLvoid * indices)
983 (void) indices;
990 const GLvoid * indices, GLint basevertex)
996 (void) indices;
1008 const GLvoid * indices, GLint basevertex)
1016 (void) indices;
1035 const GLvoid **indices, GLsizei primcount)
1041 (void) indices;
961 _save_DrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) argument
974 _save_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) argument
989 _save_DrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex) argument
1003 _save_DrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex) argument
1034 _save_MultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount) argument
1048 _save_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex) argument
1219 _save_OBE_DrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) argument
1266 _save_OBE_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) argument
1285 _save_OBE_MultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount) argument
1292 CALL_DrawElements(GET_DISPATCH(), (mode, count[i], type, indices[i])); local
1299 _save_OBE_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex) argument
1310 indices[i], local
[all...]
/external/skia/src/gpu/
H A DGrDrawTarget.cpp173 void** indices) {
177 SkASSERT(NULL != indices);
181 acquired = this->onReserveIndexSpace(indexCount, indices);
186 } else if (NULL != indices) {
187 *indices = NULL;
196 void** indices) {
208 if (!this->reserveIndexSpace(indexCount, indices)) {
172 reserveIndexSpace(int indexCount, void** indices) argument
193 reserveVertexAndIndexSpace(int vertexCount, int indexCount, void** vertices, void** indices) argument
H A DGrDrawTarget.h121 * There are three types of "sources" of geometry (vertices and indices) for
123 * indices and vertices can use different source types. Once a source is
167 * Reserves space for vertices and/or indices. Zero can be specifed as
169 * space for only indices or only vertices. If zero is specifed for
174 * and indices pointers will point to the space created.
180 * The pointers to the space allocated for vertices and indices remain valid
187 * @param indexCount the number of indices to reserve space for. Can be 0.
190 * @param indices will point to reserved index space if indexCount is
196 void** indices);
199 * Provides hints to caller about the number of vertices and indices
620 void* indices() const { SkASSERT(this->succeeded()); return fIndices; } function in class:GrDrawTarget::AutoReleaseGeometry
[all...]
H A DGrInOrderDrawBuffer.cpp796 bool GrInOrderDrawBuffer::onReserveIndexSpace(int indexCount, void** indices) { argument
799 SkASSERT(NULL != indices);
802 *indices = fIndexPool.makeSpace(indexCount,
805 return NULL != *indices;
/external/skia/src/utils/
H A DSkDumpCanvas.cpp438 const uint16_t indices[], int indexCount,
435 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/utils/debugger/
H A DSkDebugCanvas.cpp574 SkXfermode*, const uint16_t indices[], int indexCount,
577 texs, colors, NULL, indices, indexCount, paint));
572 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkDrawCommand.cpp761 const uint16_t indices[], int indexCount,
792 memcpy(fIndices, indices, indexCount * sizeof(uint16_t));
758 SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfermode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model.cc884 std::vector<int> indices = GetIndicesForCommand(context_index); local
885 for (size_t i = 0; i < indices.size(); ++i) {
886 WebContents* tab = GetWebContentsAt(indices[i]);
902 std::vector<int> indices = GetIndicesForCommand(context_index); local
903 for (size_t i = 0; i < indices.size(); ++i) {
904 if (delegate_->CanDuplicateContentsAt(indices[i]))
915 std::vector<int> indices = GetIndicesForCommand(context_index); local
916 for (size_t i = 0; i < indices.size(); ++i) {
917 if (!IsAppTab(indices[i]))
924 std::vector<int> indices local
960 std::vector<int> indices = GetIndicesForCommand(context_index); local
975 std::vector<int> indices = GetIndicesForCommand(context_index); local
1021 std::vector<int> indices = GetIndicesForCommand(context_index); local
1040 const std::vector<int>& indices = GetIndicesForCommand(context_index); local
1063 std::vector<int> indices; local
1099 std::vector<int> indices; local
1108 std::vector<int> indices = GetIndicesForCommand(index); local
1159 GetIndicesWithSameDomain(int index, std::vector<int>* indices) argument
1172 GetIndicesWithSameOpener(int index, std::vector<int>* indices) argument
1193 std::vector<int> indices; local
1208 InternalCloseTabs(const std::vector<int>& indices, uint32 close_types) argument
[all...]

Completed in 1206 milliseconds

1234567891011>>