/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLVertex.java | 56 public void put(IntBuffer vertexBuffer, IntBuffer colorBuffer) { 57 vertexBuffer.put(toFixed(x)); 58 vertexBuffer.put(toFixed(y)); 59 vertexBuffer.put(toFixed(z)); 73 public void update(IntBuffer vertexBuffer, M4 transform) { 75 vertexBuffer.position(index * 3); 78 vertexBuffer.put(toFixed(x)); 79 vertexBuffer.put(toFixed(y)); 80 vertexBuffer.put(toFixed(z)); 84 vertexBuffer.put(toFixed(temp.x)) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
VertexDataManager.cpp | 17 #include "libGLESv2/renderer/VertexBuffer.h" 110 VertexBufferInterface *vertexBuffer = staticBuffer ? staticBuffer : static_cast<VertexBufferInterface*>(mStreamingBuffer); 112 if (!directStoragePossible(vertexBuffer, attribs[i])) 153 VertexBufferInterface *vertexBuffer = staticBuffer ? staticBuffer : static_cast<VertexBufferInterface*>(mStreamingBuffer); 156 bool directStorage = directStoragePossible(vertexBuffer, attribs[i]); 203 translated[i].vertexBuffer = vertexBuffer->getVertexBuffer(); 204 translated[i].serial = directStorage ? storage->getSerial() : vertexBuffer->getSerial(); 240 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getVertexBuffer();
|
VertexDataManager.h | 26 class VertexBuffer; 37 VertexBuffer *vertexBuffer;
|
InputLayoutCache.cpp | 98 VertexBuffer11 *vertexBuffer = VertexBuffer11::makeVertexBuffer11(attributes[i].vertexBuffer); 110 ilKey.elements[ilKey.elementCount].Format = attributes[i].attribute->mArrayEnabled ? vertexBuffer->getDXGIFormat(*attributes[i].attribute) : DXGI_FORMAT_R32G32B32A32_FLOAT; 117 vertexBuffers[i] = bufferStorage ? bufferStorage->getBuffer() : vertexBuffer->getBuffer(); 118 vertexBufferSerials[i] = bufferStorage ? bufferStorage->getSerial() : vertexBuffer->getSerial();
|
VertexBuffer9.h | 7 // VertexBuffer9.h: Defines the D3D9 VertexBuffer implementation. 12 #include "libGLESv2/renderer/VertexBuffer.h" 18 class VertexBuffer9 : public VertexBuffer 26 static VertexBuffer9 *makeVertexBuffer9(VertexBuffer *vertexBuffer);
|
VertexDeclarationCache.cpp | 125 VertexBuffer9 *vertexBuffer = VertexBuffer9::makeVertexBuffer9(attributes[i].vertexBuffer); 131 device->SetStreamSource(stream, vertexBuffer->getBuffer(), attributes[i].offset, attributes[i].stride); 139 element->Type = attributes[i].attribute->mArrayEnabled ? vertexBuffer->getDeclType(*attributes[i].attribute) : D3DDECLTYPE_FLOAT4;
|
VertexBuffer9.cpp | 8 // VertexBuffer9.cpp: Defines the D3D9 VertexBuffer implementation. 78 VertexBuffer9 *VertexBuffer9::makeVertexBuffer9(VertexBuffer *vertexBuffer) 80 ASSERT(HAS_DYNAMIC_TYPE(VertexBuffer9*, vertexBuffer)); 81 return static_cast<VertexBuffer9*>(vertexBuffer);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshContext.java | 5 import com.jme3.scene.VertexBuffer;
23 private Map<Geometry, VertexBuffer> uvCoordinates = new HashMap<Geometry, VertexBuffer>();
88 * @param vertexBuffer
91 public void addUVCoordinates(Geometry geometry, VertexBuffer vertexBuffer) {
92 uvCoordinates.put(geometry, vertexBuffer);
102 public VertexBuffer getUVCoordinates(Geometry geometry) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
TangentBinormalGenerator.java | 39 import com.jme3.scene.VertexBuffer.Format; 40 import com.jme3.scene.VertexBuffer.Type; 41 import com.jme3.scene.VertexBuffer.Usage; 164 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); 166 VertexBuffer bindTangents = new VertexBuffer(Type.BindPoseTangent); 184 FloatBuffer vertexBuffer = (FloatBuffer) mesh.getBuffer(Type.Position).getData(); 192 VertexData[] vertices = initVertexData(vertexBuffer.capacity() / 3); 197 populateFromBuffer(v[j], vertexBuffer, index[j]); 215 FloatBuffer vertexBuffer = (FloatBuffer) mesh.getBuffer(Type.Position).getData() [all...] |
/frameworks/base/libs/hwui/ |
PathTessellator.h | 29 class VertexBuffer { 31 VertexBuffer(): 37 ~VertexBuffer() { 44 multiple regions within a single VertexBuffer, such as with PathTessellator::tesselateLines() 66 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { 108 const mat4 *transform, VertexBuffer& vertexBuffer); 111 const mat4* transform, SkRect& bounds, VertexBuffer& vertexBuffer); 114 const mat4* transform, SkRect& bounds, VertexBuffer& vertexBuffer) [all...] |
PathTessellator.cpp | 25 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 30 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 164 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { 165 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); 182 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a 189 VertexBuffer& vertexBuffer) { 190 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); 242 * Fills a vertexBuffer with non-alpha vertices similar to getStrokeVerticesFromPerimeter, except [all...] |
OpenGLRenderer.cpp | [all...] |
OpenGLRenderer.h | 108 class VertexBuffer; 770 * @param vertexBuffer The VertexBuffer to be drawn 772 * @param useOffset Offset the vertexBuffer (used in drawing non-AA lines) 774 status_t drawVertexBuffer(const VertexBuffer& vertexBuffer, SkPaint* paint, [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
TriStrip.java | 297 public static void remapArrays(float[] vertexBuffer, int vertexSize, int[] indices) {
298 int[] remapped = remapIndices(indices, vertexBuffer.length / vertexSize);
299 float[] bufferCopy = vertexBuffer.clone();
304 vertexBuffer[to + j] = bufferCopy[from + j];
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 318 private final FloatBuffer vertexBuffer; 365 vertexBuffer = bb.asFloatBuffer(); 366 vertexBuffer.put(squareCoords); 367 vertexBuffer.position(0); 398 vertexStride, vertexBuffer);
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
GenImage.java | 126 private final FloatBuffer vertexBuffer; 212 vertexBuffer = createFloatBuffer(triangleCoords); 242 GLES20.glVertexAttribPointer(posA, 3, GLES20.GL_FLOAT, false, 12, vertexBuffer);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrInOrderDrawBuffer.cpp | 264 const GrVertexBuffer* vertexBuffer = poolState.fPoolVertexBuffer; 269 draw->fVertexBuffer != vertexBuffer ||
|
/external/skia/src/gpu/ |
GrInOrderDrawBuffer.cpp | 264 const GrVertexBuffer* vertexBuffer = poolState.fPoolVertexBuffer; 269 draw->fVertexBuffer != vertexBuffer ||
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL.cpp | [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGL.cpp | [all...] |