/frameworks/base/libs/hwui/ |
AmbientShadow.h | 27 class VertexBuffer; 36 float geomFactor, VertexBuffer& shadowVertexBuffer);
|
ShadowTessellator.h | 29 class VertexBuffer; 74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); 79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
TessellationCache.h | 23 #include "VertexBuffer.h" 43 class VertexBuffer; 51 typedef Pair<VertexBuffer*, VertexBuffer*> vertexBuffer_pair_t; 120 VertexBuffer ambientBuffer; 121 VertexBuffer spotBuffer; 160 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint, 173 typedef VertexBuffer* (*Tessellator)(const Description&); 196 sp<TaskProcessor<VertexBuffer*> > mProcessor; 224 VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer) [all...] |
PathTessellator.h | 23 #include "VertexBuffer.h" 67 * Populates a VertexBuffer with a tessellated approximation of the input convex path, as a single 75 * @param vertexBuffer The output buffer 78 const mat4& transform, VertexBuffer& vertexBuffer); 81 * Populates a VertexBuffer with a tessellated approximation of points as a single triangle 89 * @param vertexBuffer The output buffer 92 const mat4& transform, VertexBuffer& vertexBuffer); 95 * Populates a VertexBuffer with a tessellated approximation of lines as a single triangl [all...] |
SpotShadow.h | 26 class VertexBuffer; 32 const Vector3& polyCentroid, VertexBuffer& retstrips); 61 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
|
TessellationCache.cpp | 123 class TessellationCache::TessellationTask : public Task<VertexBuffer*> { 136 class TessellationCache::TessellationProcessor : public TaskProcessor<VertexBuffer*> { 139 : TaskProcessor<VertexBuffer*>(&caches.tasks) {} 142 virtual void onProcess(const sp<Task<VertexBuffer*> >& task) override { 145 VertexBuffer* buffer = t->tessellator(t->description); 152 explicit Buffer(const sp<Task<VertexBuffer*> >& task) 167 const VertexBuffer* getVertexBuffer() { 180 sp<Task<VertexBuffer*> > mTask; 181 VertexBuffer* mBuffer; 211 VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer) [all...] |
VertexBuffer.h | 25 class VertexBuffer { 33 VertexBuffer() 47 ~VertexBuffer() { 55 eventually allocate multiple regions within a single VertexBuffer, such as 92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) {
|
PathTessellator.cpp | 22 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 27 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 184 VertexBuffer& vertexBuffer) { 185 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); 202 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a 209 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { 210 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); 260 * Fills a vertexBuffer with non-alpha vertices similar to getStrokeVerticesFromPerimeter, except [all...] |
GlopBuilder.h | 37 class VertexBuffer; 58 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
|
ShadowTessellator.cpp | 34 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { 64 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) {
|
AmbientShadow.cpp | 57 #include "VertexBuffer.h" 168 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { 169 shadowVertexBuffer.setMeshFeatureFlags(VertexBuffer::kAlpha | VertexBuffer::kIndices); 324 ALOGD("vertexBuffer i %d, (%f, %f %f)", i, shadowVertices[i].x, shadowVertices[i].y,
|
BakedOpDispatcher.cpp | 29 #include "VertexBuffer.h" 341 const VertexBuffer& vertexBuffer, float translateX, float translateY, 343 if (CC_LIKELY(vertexBuffer.getVertexCount())) { 351 .setMeshVertexBuffer(vertexBuffer) 354 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) 362 VertexBuffer vertexBuffer; 364 PathTessellator::tessellatePath(path, &paint, state.computedState.transform, vertexBuffer); 365 renderVertexBuffer(renderer, state, vertexBuffer, 0.0f, 0.0f, paint, 0) [all...] |
GlopBuilder.cpp | 30 #include "VertexBuffer.h" 185 GlopBuilder& GlopBuilder::setMeshVertexBuffer(const VertexBuffer& vertexBuffer) { 188 const VertexBuffer::MeshFeatureFlags flags = vertexBuffer.getMeshFeatureFlags(); 190 bool alphaVertex = flags & VertexBuffer::kAlpha; 191 bool indices = flags & VertexBuffer::kIndices; 194 mOutGlop->mesh.indices = { 0, vertexBuffer.getIndices() }; 198 vertexBuffer.getBuffer(), nullptr, nullptr, 201 ? vertexBuffer.getIndexCount() : vertexBuffer.getVertexCount() [all...] |
SpotShadow.cpp | 52 #include "VertexBuffer.h" 377 VertexBuffer& shadowTriangleStrip) { [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
ShadowBench.cpp | 22 #include "VertexBuffer.h" 73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { 87 VertexBuffer ambient; 88 VertexBuffer spot; 104 std::unique_ptr<VertexBuffer> ambient(new VertexBuffer); 105 std::unique_ptr<VertexBuffer> spot(new VertexBuffer);
|
/external/swiftshader/src/OpenGL/libGL/ |
VertexDataManager.h | 41 sw::Resource *vertexBuffer; 44 class VertexBuffer 47 VertexBuffer(unsigned int size); 48 virtual ~VertexBuffer(); 58 class ConstantVertexBuffer : public VertexBuffer 65 class StreamingVertexBuffer : public VertexBuffer 92 unsigned int writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute);
|
VertexDataManager.cpp | 59 unsigned int VertexDataManager::writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute) 69 if(vertexBuffer) 71 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 109 vertexBuffer->unmap(); 161 translated[i].vertexBuffer = staticBuffer; 174 translated[i].vertexBuffer = mStreamingBuffer->getResource(); 204 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); 217 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) 230 VertexBuffer::~VertexBuffer( [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
VertexDataManager.h | 38 sw::Resource *vertexBuffer; 41 class VertexBuffer 44 VertexBuffer(unsigned int size); 45 virtual ~VertexBuffer(); 55 class ConstantVertexBuffer : public VertexBuffer 62 class StreamingVertexBuffer : public VertexBuffer 89 unsigned int writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute);
|
VertexDataManager.cpp | 60 unsigned int VertexDataManager::writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute) 70 if(vertexBuffer) 72 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 110 vertexBuffer->unmap(); 156 translated[i].vertexBuffer = staticBuffer; 169 translated[i].vertexBuffer = mStreamingBuffer->getResource(); 199 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); 211 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) 224 VertexBuffer::~VertexBuffer( [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
VertexDataManager.h | 38 sw::Resource *vertexBuffer; 41 class VertexBuffer 44 VertexBuffer(unsigned int size); 45 virtual ~VertexBuffer(); 55 class ConstantVertexBuffer : public VertexBuffer 62 class StreamingVertexBuffer : public VertexBuffer 89 unsigned int writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute);
|
VertexDataManager.cpp | 59 unsigned int VertexDataManager::writeAttributeData(StreamingVertexBuffer *vertexBuffer, GLint start, GLsizei count, const VertexAttribute &attribute) 69 if(vertexBuffer) 71 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 107 vertexBuffer->unmap(); 167 translated[i].vertexBuffer = staticBuffer; 180 translated[i].vertexBuffer = mStreamingBuffer->getResource(); 213 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); 226 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) 239 VertexBuffer::~VertexBuffer( [all...] |
/external/deqp/framework/opengl/ |
gluDrawUtil.cpp | 102 class VertexBuffer : public Buffer 113 VertexBuffer (const RenderContext& context, int numBindings, const VertexArrayBinding* bindings, Type type = TYPE_PLANAR); 114 ~VertexBuffer (void); 119 VertexBuffer (const VertexBuffer& other); 120 VertexBuffer& operator= (const VertexBuffer& other); 337 // VertexBuffer 339 VertexBuffer::VertexBuffer (const RenderContext& context, int numBindings, const VertexArrayBinding* bindings, Type type [all...] |