/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpDispatcherTests.cpp | 38 ValidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validator) 45 const ClipBase* clip, const Glop& glop) { 48 vbor->mValidator(glop); 50 std::function<void(const Glop& glop)> mValidator; 56 std::function<void(const Glop& glop)> glopVerifier, int expectedGlopCount = 1) { 64 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount] (const Glop& glop) { 65 ASSERT_LE(glopCount++, expectedGlopCount) << expectedGlopCount << "glop(s) expected"; 66 glopVerifier(glop); 92 auto textureGlopVerifier = [] (const Glop& glop) { 93 // validate glop produce 44 ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument [all...] |
H A D | GlopBuilderTests.cpp | 98 std::unique_ptr<Glop> glop(new Glop()); 99 glop->blend = { GL_ZERO, GL_ZERO }; 100 glop->mesh.elementCount = 4; 101 glop->mesh.primitiveMode = GL_TRIANGLE_STRIP; 102 glop->mesh.indices.indices = nullptr; 103 glop->mesh.indices.bufferObject = GL_ZERO; 104 glop->mesh.vertices = { 109 glop->transform.modelView.loadIdentity(); 110 glop->fill.colorEnabled = true; 111 glop 125 Glop glop; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.h | 80 void renderGlop(const BakedOpState& state, const Glop& glop) { argument 83 glop); 87 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { argument 88 mGlopReceiver(*this, dirtyBounds, clip, glop); 107 const ClipBase* clip, const Glop& glop) { 108 renderer.renderGlopImpl(dirtyBounds, clip, glop); 110 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop); 106 DefaultGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
|
H A D | BakedOpDispatcher.cpp | 78 Glop glop; local 79 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 88 renderer.renderGlop(nullptr, clip, glop); 184 Glop glop; local 185 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 194 renderer.renderGlop(nullptr, clip, glop); 221 Glop glop; local 222 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 257 renderer.renderGlop(&shadowBounds, clipState, glop); 354 Glop glop; local 379 Glop glop; local 433 Glop glop; local 507 Glop glop; local 532 Glop glop; local 548 Glop glop; local 610 Glop glop; local 670 Glop glop; local 735 Glop glop; local 783 Glop glop; local 811 Glop glop; local 856 Glop glop; local [all...] |
H A D | BakedOpRenderer.cpp | 145 Glop glop; local 146 GlopBuilder(mRenderState, mCaches, &glop) 153 renderGlop(nullptr, &overdrawClip, glop); 214 Glop glop; local 215 GlopBuilder(mRenderState, mCaches, &glop) 222 mRenderState.render(glop, mRenderTarget.orthoMatrix); 231 Glop glop; local 232 GlopBuilder(mRenderState, mCaches, &glop) 239 mRenderState.render(glop, mRenderTarget.orthoMatrix); 349 const Glop& glop) { 348 renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument [all...] |
H A D | OpenGLRenderer.cpp | 788 Glop glop; local 789 GlopBuilder(mRenderState, mCaches, &glop) 796 renderGlop(glop); 800 Glop glop; local 801 GlopBuilder(mRenderState, mCaches, &glop) 809 renderGlop(glop); 821 Glop glop; local 822 GlopBuilder(mRenderState, mCaches, &glop) 829 renderGlop(glop); 962 Glop glop; local 1082 Glop glop; local 1268 Glop glop; local 1395 renderGlop(const Glop& glop, GlopRenderType type) argument 1477 Glop glop; local 1500 Glop glop; local 1590 Glop glop; local 1619 Glop glop; local 1646 Glop glop; local 1676 Glop glop; local 1697 Glop glop; local 1983 Glop glop; local 2274 Glop glop; local 2332 Glop glop; local 2420 Glop glop; local 2435 Glop glop; local [all...] |
H A D | GlopBuilder.cpp | 599 void verify(const ProgramDescription& description, const Glop& glop) { argument 600 if (glop.fill.texture.texture != nullptr) { 605 || ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) == 0 608 glop.fill.texture.texture, 610 glop.mesh.vertices.attribFlags); 614 || ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) != 0)), 617 glop.mesh.vertices.attribFlags); 620 if ((glop.mesh.vertices.attribFlags & VertexAttribFlags::Alpha) 621 && glop.mesh.vertices.bufferObject) { 625 if (description.hasTextureTransform != (glop 684 dump(const Glop& glop) argument [all...] |
H A D | Readback.cpp | 166 Glop glop; local 167 GlopBuilder(renderState, caches, &glop) 176 renderState.render(glop, ortho);
|
H A D | GlopBuilder.h | 111 static void dump(const Glop& glop);
|
H A D | FontRenderer.cpp | 69 Glop glop; local 71 GlopBuilder(renderer->renderState(), renderer->caches(), &glop) 79 renderer->renderGlop(nullptr, clip, glop); 81 GlopBuilder(renderer->mRenderState, renderer->mCaches, &glop) 88 renderer->renderGlop(glop);
|
H A D | OpenGLRenderer.h | 467 void renderGlop(const Glop& glop, GlopRenderType type = GlopRenderType::Standard);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 238 void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix) { argument 239 const Glop::Mesh& mesh = glop.mesh; 242 const Glop::Fill& fill = glop.fill; 256 glop.transform.modelView, 257 glop.transform.meshTransform(), 258 glop.transform.transformFlags & TransformFlags::OffsetByFudgeFactor); 273 if (glop.roundRectClipState) { 275 const RoundRectClipState* state = glop.roundRectClipState; 353 blend().setFactors(glop.blend.src, glop [all...] |
H A D | RenderState.h | 93 void render(const Glop& glop, const Matrix4& orthoMatrix);
|