Searched refs:AlphaVertex (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
H A DVertex.h102 struct AlphaVertex { struct in namespace:android::uirenderer
106 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) {
110 static inline void copyWithOffset(AlphaVertex* vertex, const AlphaVertex& src,
112 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha);
115 static inline void setColor(AlphaVertex* vertex, float alpha) {
118 }; // struct AlphaVertex
120 REQUIRE_COMPATIBLE_LAYOUT(AlphaVertex);
H A DAmbientShadow.cpp185 AlphaVertex* shadowVertices =
186 shadowVertexBuffer.alloc<AlphaVertex>(totalVertexCount);
215 AlphaVertex::set(&shadowVertices[vertexBufferIndex++],
238 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], outerVertex.x,
274 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], currentOuter.x,
283 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], currentInner.x,
299 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], centroid3d.x,
316 shadowVertexBuffer.computeBounds<AlphaVertex>();
H A DPathTessellator.cpp349 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(perimeter.size() * 3 + 2);
367 AlphaVertex::set(&buffer[currentIndex++],
371 AlphaVertex::set(&buffer[currentIndex++],
407 AlphaVertex* buffer, bool isFirst, Vector2 normal, int offset) {
440 AlphaVertex::set(&buffer[capIndex + 0],
444 AlphaVertex::set(&buffer[capIndex + 1],
452 AlphaVertex::set(&buffer[postCapIndex + 2],
456 AlphaVertex::set(&buffer[postCapIndex + 3],
477 AlphaVertex
[all...]
H A DSpotShadow.cpp933 AlphaVertex* shadowVertices =
934 shadowTriangleStrip.alloc<AlphaVertex>(totalVertexCount);
942 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], newPenumbra[i].x,
946 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], umbra[i].x, umbra[i].y,
986 AlphaVertex::set(&shadowVertices[vertexBufferIndex++],
993 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], centroid.x,
1011 shadowTriangleStrip.computeBounds<AlphaVertex>();
/frameworks/base/libs/hwui/renderstate/
H A DMeshState.h43 const GLsizei kAlphaVertexStride = sizeof(AlphaVertex);

Completed in 465 milliseconds