/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
Sphere.java | 101 short[] indexBuffer = new short[max(mNumIndices)]; 110 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]); 115 indexBuffer[index++] = (short) (i * iMax + j); 116 indexBuffer[index++] = (short) (i1 * iMax + j); 117 indexBuffer[index++] = (short) (i1 * iMax + j1); 118 indexBuffer[index++] = (short) (i * iMax + j); 119 indexBuffer[index++] = (short) (i1 * iMax + j1); 120 indexBuffer[index++] = (short) (i * iMax + j1); 123 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
IndexBuffer11.h | 7 // IndexBuffer11.h: Defines the D3D11 IndexBuffer implementation. 12 #include "libGLESv2/renderer/IndexBuffer.h" 18 class IndexBuffer11 : public IndexBuffer 26 static IndexBuffer11 *makeIndexBuffer11(IndexBuffer *indexBuffer);
|
IndexBuffer9.h | 7 // Indexffer9.h: Defines the D3D9 IndexBuffer implementation. 12 #include "libGLESv2/renderer/IndexBuffer.h" 18 class IndexBuffer9 : public IndexBuffer 26 static IndexBuffer9 *makeIndexBuffer9(IndexBuffer *indexBuffer);
|
IndexDataManager.h | 29 class IndexBuffer; 40 IndexBuffer *indexBuffer;
|
IndexDataManager.cpp | 17 #include "libGLESv2/renderer/IndexBuffer.h" 161 IndexBufferInterface *indexBuffer = streamingBuffer; 168 indexBuffer = streamingBuffer; 182 indexBuffer = staticBuffer; 200 indexBuffer = staticBuffer; 210 if (!indexBuffer) 224 if (!indexBuffer->reserveBufferSpace(bufferSizeRequired, type)) 231 if (!indexBuffer->mapBuffer(bufferSizeRequired, &output, &streamOffset)) 239 if (!indexBuffer->unmapBuffer()) 256 translated->indexBuffer = indexBuffer->getIndexBuffer() [all...] |
IndexBuffer11.cpp | 8 // IndexBuffer11.cpp: Defines the D3D11 IndexBuffer implementation. 68 IndexBuffer11 *IndexBuffer11::makeIndexBuffer11(IndexBuffer *indexBuffer) 70 ASSERT(HAS_DYNAMIC_TYPE(IndexBuffer11*, indexBuffer)); 71 return static_cast<IndexBuffer11*>(indexBuffer);
|
IndexBuffer9.cpp | 8 // Indexffer9.cpp: Defines the D3D9 IndexBuffer implementation. 89 IndexBuffer9 *IndexBuffer9::makeIndexBuffer9(IndexBuffer *indexBuffer) 91 ASSERT(HAS_DYNAMIC_TYPE(IndexBuffer9*, indexBuffer)); 92 return static_cast<IndexBuffer9*>(indexBuffer);
|
Renderer11.cpp | [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_draw.h | 70 struct pipe_resource *indexBuffer,
|
svga_draw_private.h | 157 struct pipe_resource *indexBuffer,
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_draw.h | 70 struct pipe_resource *indexBuffer,
|
svga_draw_private.h | 157 struct pipe_resource *indexBuffer,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_render.c | 437 struct pipe_resource* indexBuffer, 504 OUT_CS_RELOC(r300_resource(indexBuffer)); 597 struct pipe_resource *indexBuffer = r300->index_buffer.buffer; 599 struct pipe_resource* orgIndexBuffer = indexBuffer; 613 r300_translate_index_buffer(r300, &r300->index_buffer, &indexBuffer, 617 if (indexSize == 2 && (start & 1) && indexBuffer) { 618 /* If we got here, then orgIndexBuffer == indexBuffer. */ 630 r300_upload_index_buffer(r300, &indexBuffer, indexSize, &start, 636 r300_upload_index_buffer(r300, &indexBuffer, indexSize, 644 PREP_INDEXED, indexBuffer, 19, buffer_offset, info->index_bias [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_render.c | 437 struct pipe_resource* indexBuffer, 504 OUT_CS_RELOC(r300_resource(indexBuffer)); 597 struct pipe_resource *indexBuffer = r300->index_buffer.buffer; 599 struct pipe_resource* orgIndexBuffer = indexBuffer; 613 r300_translate_index_buffer(r300, &r300->index_buffer, &indexBuffer, 617 if (indexSize == 2 && (start & 1) && indexBuffer) { 618 /* If we got here, then orgIndexBuffer == indexBuffer. */ 630 r300_upload_index_buffer(r300, &indexBuffer, indexSize, &start, 636 r300_upload_index_buffer(r300, &indexBuffer, indexSize, 644 PREP_INDEXED, indexBuffer, 19, buffer_offset, info->index_bias [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
TangentBinormalGenerator.java | 42 import com.jme3.scene.mesh.IndexBuffer; 183 IndexBuffer indexBuffer = mesh.getIndexBuffer(); 194 for (int i = 0; i < indexBuffer.size() / 3; i++) { 196 index[j] = indexBuffer.get(i * 3 + j); 214 IndexBuffer indexBuffer = mesh.getIndexBuffer(); 220 index[0] = indexBuffer.get(0); 221 index[1] = indexBuffer.get(1); 229 for (int i = 2; i < indexBuffer.size(); i++) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 475 IntBuffer indexBuffer = indexBuffers[geomIndex];
476 if (indexBuffer == null) {
484 indexBuffer = BufferUtils.createIntBuffer(((bevelCurveEdgesAmount << 1) * curvePoints.length - bevelCurveEdgesAmount << 1) * 3);
485 indexBuffers[geomIndex] = indexBuffer;
490 indexBuffer.put(index + pointOffset);
491 indexBuffer.put(index + pointOffset + 1);
492 indexBuffer.put(verts.length + index + pointOffset);
493 indexBuffer.put(verts.length + index + pointOffset);
494 indexBuffer.put(index + pointOffset + 1);
495 indexBuffer.put(verts.length + index + pointOffset + 1); [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLVertexArray.h | 171 GrGLAttribArrayState* bindWithIndexBuffer(const GrGLIndexBuffer* indexBuffer);
|
/external/skia/src/gpu/gl/ |
GrGLVertexArray.h | 171 GrGLAttribArrayState* bindWithIndexBuffer(const GrGLIndexBuffer* indexBuffer);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 99 int uvBuffer, int indexBuffer, int indexCount);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 99 int uvBuffer, int indexBuffer, int indexCount);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 97 int uvBuffer, int indexBuffer, int indexCount);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrAARectRenderer.cpp | 469 GrIndexBuffer* indexBuffer = this->aaFillRectIndexBuffer(gpu); 470 if (NULL == indexBuffer) { 563 target->setIndexSourceToBuffer(indexBuffer); 813 GrIndexBuffer* indexBuffer = this->aaStrokeRectIndexBuffer(gpu, miterStroke); 814 if (NULL == indexBuffer) { [all...] |
GrOvalRenderer.cpp | [all...] |
/external/skia/src/gpu/ |
GrAARectRenderer.cpp | 469 GrIndexBuffer* indexBuffer = this->aaFillRectIndexBuffer(gpu); 470 if (NULL == indexBuffer) { 563 target->setIndexSourceToBuffer(indexBuffer); 813 GrIndexBuffer* indexBuffer = this->aaStrokeRectIndexBuffer(gpu, miterStroke); 814 if (NULL == indexBuffer) { [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_fixup.cpp | 625 GLvoid *indexBuffer; 629 context->getBuffer(bufferId, &indexBuffer, &eaBufferSize); 631 indexBuffer = indices; 638 findMinAndMaxIndices(indexBuffer, count, type, &minIndex, &maxIndex); [all...] |