/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpRendererTests.cpp | 67 Glop glop; local 68 GlopBuilder(renderState, Caches::getInstance(), &glop) 75 renderer.renderGlop(nullptr, nullptr, glop);
|
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 = {renderState.meshState().getUnitQuadVBO(), 110 glop->transform.modelView.loadIdentity(); 111 glop->fill.colorEnabled = true; 112 glop 126 Glop glop; local [all...] |
H A D | 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) { 68 ASSERT_LE(glopCount++, expectedGlopCount) << expectedGlopCount << "glop(s) expected"; 69 glopVerifier(glop); 93 auto textureGlopVerifier = [](const Glop& glop) { 94 // validate glop produce 47 ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 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 227 GlopBuilder(mRenderState, mCaches, &glop) 234 mRenderState.render(glop, mRenderTarget.orthoMatrix, false); 345 const Glop& glop) { 344 renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument [all...] |
H A D | BakedOpRenderer.h | 78 void renderGlop(const BakedOpState& state, const Glop& glop) { argument 79 renderGlop(&state.computedState.clippedBounds, state.computedState.getClipIfNeeded(), glop); 83 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { argument 84 mGlopReceiver(*this, dirtyBounds, clip, glop); 105 const ClipBase* clip, const Glop& glop) { 106 renderer.renderGlopImpl(dirtyBounds, clip, glop); 108 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop); 104 DefaultGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
|
H A D | OpenGLReadback.cpp | 216 Glop glop; local 217 GlopBuilder(renderState, caches, &glop) 226 renderState.render(glop, ortho, false);
|
H A D | GlopBuilder.cpp | 566 void verify(const ProgramDescription& description, const Glop& glop) { argument 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); 585 if ((glop.mesh.vertices.attribFlags & VertexAttribFlags::Alpha) && 586 glop.mesh.vertices.bufferObject) { 590 if (description.hasTextureTransform != (glop 650 dump(const Glop& glop) argument [all...] |
H A D | BakedOpDispatcher.cpp | 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 213 GlopBuilder(renderer.renderState(), renderer.caches(), &glop) 247 renderer.renderGlop(&shadowBounds, clipState, glop); 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...] |
H A D | FontRenderer.cpp | 65 Glop glop; local 66 GlopBuilder(renderer->renderState(), renderer->caches(), &glop) 75 renderer->renderGlop(nullptr, clip, glop);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 245 void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix, argument 247 const Glop::Mesh& mesh = glop.mesh; 250 const Glop::Fill& fill = glop.fill; 263 fill.program->set(orthoMatrix, glop.transform.modelView, glop.transform.meshTransform(), 264 glop.transform.transformFlags & TransformFlags::OffsetByFudgeFactor); 279 if (glop.roundRectClipState) { 281 const RoundRectClipState* state = glop.roundRectClipState; 403 blend().setFactors(glop.blend.src, glop [all...] |