Home
last modified time | relevance | path

Searched refs:shadowVertexBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DAmbientShadow.cpp180 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { in createAmbientShadow() argument
181 shadowVertexBuffer.setMode(VertexBuffer::kIndices); in createAmbientShadow()
198 shadowVertexBuffer.alloc<AlphaVertex>(totalVertexCount); in createAmbientShadow()
200 uint16_t* indexBuffer = shadowVertexBuffer.allocIndices<uint16_t>(totalIndexCount); in createAmbientShadow()
326 shadowVertexBuffer.updateVertexCount(vertexBufferIndex); in createAmbientShadow()
327 shadowVertexBuffer.updateIndexCount(indexBufferIndex); in createAmbientShadow()
DShadowTessellator.cpp35 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { in tessellateAmbientShadow() argument
60 shadowVertexBuffer); in tessellateAmbientShadow()
66 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { in tessellateSpotShadow() argument
108 casterPolygon, casterVertexCount, casterCentroid, shadowVertexBuffer); in tessellateSpotShadow()
111 if(shadowVertexBuffer.getVertexCount() <= 0) { in tessellateSpotShadow()
112 ALOGD("Spot shadow generation failed %d", shadowVertexBuffer.getVertexCount()); in tessellateSpotShadow()
DShadowTessellator.h72 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer);
77 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
DAmbientShadow.h36 float geomFactor, VertexBuffer& shadowVertexBuffer);