OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TextureVertex
(Results
1 - 14
of
14
) sorted by null
/frameworks/base/libs/hwui/
Patch.h
34
struct
TextureVertex
;
51
std::unique_ptr<
TextureVertex
[]> vertices;
61
void generateRow(const int32_t* xDivs, uint32_t xCount,
TextureVertex
*& vertex,
64
void generateQuad(
TextureVertex
*& vertex, float x1, float y1, float x2, float y2,
Vertex.h
63
struct
TextureVertex
{
67
static inline void set(
TextureVertex
* vertex, float x, float y, float u, float v) {
71
static inline void setUV(
TextureVertex
* vertex, float u, float v) {
75
}; // struct
TextureVertex
77
REQUIRE_COMPATIBLE_LAYOUT(
TextureVertex
);
Patch.cpp
35
return verticesCount * sizeof(
TextureVertex
);
60
vertices.reset(new
TextureVertex
[maxVertices]);
61
TextureVertex
* vertex = vertices.get();
141
std::unique_ptr<
TextureVertex
[]> reducedVertices(new
TextureVertex
[verticesCount]);
142
memcpy(reducedVertices.get(), vertices.get(), verticesCount * sizeof(
TextureVertex
));
147
void Patch::generateRow(const int32_t* xDivs, uint32_t xCount,
TextureVertex
*& vertex,
187
void Patch::generateQuad(
TextureVertex
*& vertex, float x1, float y1, float x2, float y2,
214
TextureVertex
::set(vertex++, x1, y1, u1, v1);
215
TextureVertex
::set(vertex++, x2, y1, u2, v1)
[
all
...]
Caches.h
128
TextureVertex
* getRegionMesh();
194
std::unique_ptr<
TextureVertex
[]> mRegionMesh;
Glop.h
113
TextureVertex
mappedVertices[4];
Caches.cpp
264
TextureVertex
* Caches::getRegionMesh() {
267
mRegionMesh.reset(new
TextureVertex
[kMaxNumberOfQuads * 4]);
GlopBuilder.h
61
GlopBuilder& setMeshTexturedIndexedQuads(
TextureVertex
* vertexData, int elementCount); // TODO: take quadCount
BakedOpDispatcher.cpp
39
static void storeTexturedRect(
TextureVertex
* vertices, const Rect& bounds) {
56
TextureVertex
vertices[opList.count * 4];
59
TextureVertex
* rectVerts = &vertices[i * 4];
111
TextureVertex
vertices[totalVertices];
112
TextureVertex
* vertex = &vertices[0];
139
TextureVertex
* opVertices = opMesh->vertices.get();
141
TextureVertex
::set(vertex++,
[
all
...]
GlopBuilder.cpp
57
static void setUnitQuadTextureCoords(Rect uvs,
TextureVertex
* quadVertex) {
131
const
TextureVertex
*
textureVertex
= mOutGlop->mesh.mappedVertices;
137
&
textureVertex
[0].x, &
textureVertex
[0].u, nullptr,
157
GlopBuilder& GlopBuilder::setMeshTexturedIndexedQuads(
TextureVertex
* vertexData, int elementCount) {
/frameworks/base/libs/hwui/font/
CacheTexture.h
145
TextureVertex
* mesh() const {
165
TextureVertex
* mesh = mMesh + mCurrentQuad * 4;
166
TextureVertex
::set(mesh++, x2, y2, u2, v2);
167
TextureVertex
::set(mesh++, x3, y3, u3, v3);
168
TextureVertex
::set(mesh++, x1, y1, u1, v1);
169
TextureVertex
::set(mesh++, x4, y4, u4, v4);
193
TextureVertex
* mMesh = nullptr;
CacheTexture.cpp
174
mMesh = new
TextureVertex
[mMaxQuadCount * 4];
/frameworks/base/libs/hwui/renderstate/
MeshState.h
35
const
TextureVertex
kUnitQuadVertices[] = {
44
const GLsizei kTextureVertexStride = sizeof(
TextureVertex
);
OffscreenBufferPool.cpp
80
FatVector<
TextureVertex
, 64> meshVector(count * 4); // uses heap if more than 64 vertices needed
81
TextureVertex
* mesh = &meshVector[0];
90
TextureVertex
::set(mesh++, r->left, r->top, u1, v1);
91
TextureVertex
::set(mesh++, r->right, r->top, u2, v1);
92
TextureVertex
::set(mesh++, r->left, r->bottom, u1, v2);
93
TextureVertex
::set(mesh++, r->right, r->bottom, u2, v2);
97
sizeof(
TextureVertex
) * count * 4,
/frameworks/base/libs/hwui/tests/unit/
GlopBuilderTests.cpp
75
TextureVertex
& expectedVertex = expectedMesh.mappedVertices[i];
76
TextureVertex
& builtVertex = builtMesh.mappedVertices[i];
Completed in 227 milliseconds