/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 19 #include "Glop.h" 29 static void expectFillEq(Glop::Fill& expectedFill, Glop::Fill& builtFill) { 37 Glop::Fill::Filter::Matrix& expectedMatrix = expectedFill.filter.matrix; 38 Glop::Fill::Filter::Matrix& builtMatrix = expectedFill.filter.matrix; 40 sizeof(Glop::Fill::Filter::Matrix::matrix))); 42 sizeof(Glop::Fill::Filter::Matrix::vector))); 55 static void expectBlendEq(Glop::Blend& expectedBlend, Glop::Blend& builtBlend) { 60 static void expectMeshEq(Glop::Mesh& expectedMesh, Glop::Mesh& builtMesh) 126 Glop glop; local [all...] |
BakedOpDispatcherTests.cpp | 40 std::function<void(const Glop& glop)> validator) 48 const ClipBase* clip, const Glop& glop) { 50 vbor->mValidator(glop); 52 std::function<void(const Glop& glop)> mValidator; 58 std::function<void(const Glop& glop)> glopVerifier, 67 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount](const Glop& glop) [all...] |
BakedOpRendererTests.cpp | 67 Glop glop; local 68 GlopBuilder(renderState, Caches::getInstance(), &glop) 75 renderer.renderGlop(nullptr, nullptr, glop);
|
/frameworks/base/libs/hwui/ |
Glop.h | 82 * Eventually, a Glop should be able to be drawn multiple times from 87 struct Glop { 88 PREVENT_COPY_AND_ASSIGN(Glop); 91 Glop() {} 148 // Canvas transform of Glop - not necessarily applied to geometry (see flags)
|
BakedOpRenderer.h | 27 struct Glop; 43 typedef void (*GlopReceiver)(BakedOpRenderer&, const Rect*, const ClipBase*, const Glop&); 78 void renderGlop(const BakedOpState& state, const Glop& glop) { 79 renderGlop(&state.computedState.clippedBounds, state.computedState.getClipIfNeeded(), glop); 83 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { 84 mGlopReceiver(*this, dirtyBounds, clip, glop); 105 const ClipBase* clip, const Glop& glop) { [all...] |
GlopBuilder.h | 19 #include "Glop.h" 53 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop); 117 static void dump(const Glop& glop); 138 Glop* mOutGlop;
|
BakedOpDispatcher.cpp | 22 #include "Glop.h" 74 Glop glop; local 75 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 84 renderer.renderGlop(nullptr, clip, glop); 175 Glop glop; local 176 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 185 renderer.renderGlop(nullptr, clip, glop); 212 Glop glop local 342 Glop glop; local 366 Glop glop; local 422 Glop glop; local 489 Glop glop; local 516 Glop glop; local 533 Glop glop; local 598 Glop glop; local 662 Glop glop; local 731 Glop glop; local 786 Glop glop; local 816 Glop glop; local 865 Glop glop; local [all...] |
BakedOpRenderer.cpp | 20 #include "Glop.h" 145 Glop glop; local 146 GlopBuilder(mRenderState, mCaches, &glop) 153 renderGlop(nullptr, &overdrawClip, glop); 209 Glop glop; local 210 GlopBuilder(mRenderState, mCaches, &glop) 217 mRenderState.render(glop, mRenderTarget.orthoMatrix, false); 226 Glop glop local [all...] |
GlopBuilder.cpp | 20 #include "Glop.h" 64 GlopBuilder::GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop) 566 void verify(const ProgramDescription& description, const Glop& glop) { 567 if (glop.fill.texture.texture != nullptr) { 572 ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) == 0 && 574 "Texture %p, hT%d, hET %d, attribFlags %x", glop.fill.texture.texture, 576 glop.mesh.vertices.attribFlags); 580 ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) != 0)), 582 description.hasExternalTexture, glop.mesh.vertices.attribFlags) [all...] |
OpenGLReadback.cpp | 216 Glop glop; local 217 GlopBuilder(renderState, caches, &glop) 226 renderState.render(glop, ortho, false);
|
FontRenderer.cpp | 25 #include "Glop.h" 65 Glop glop; local 66 GlopBuilder(renderer->renderState(), renderer->caches(), &glop) 75 renderer->renderGlop(nullptr, clip, glop);
|
/frameworks/base/libs/hwui/renderstate/ |
RenderState.cpp | 245 void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix, 247 const Glop::Mesh& mesh = glop.mesh; 248 const Glop::Mesh::Vertices& vertices = mesh.vertices; 249 const Glop::Mesh::Indices& indices = mesh.indices; 250 const Glop::Fill& fill = glop.fill; 263 fill.program->set(orthoMatrix, glop.transform.modelView, glop.transform.meshTransform() [all...] |
RenderState.h | 20 #include "Glop.h" 106 void render(const Glop& glop, const Matrix4& orthoMatrix, bool overrideDisableBlending);
|