Searched defs:glop (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp99 std::unique_ptr<Glop> glop(new Glop());
100 glop->blend = { GL_ZERO, GL_ZERO };
101 glop->mesh.elementCount = 4;
102 glop->mesh.primitiveMode = GL_TRIANGLE_STRIP;
103 glop->mesh.indices.indices = nullptr;
104 glop->mesh.indices.bufferObject = GL_ZERO;
105 glop->mesh.vertices = {
110 glop->transform.modelView.loadIdentity();
111 glop->fill.colorEnabled = true;
112 glop
126 Glop glop; local
[all...]
H A DBakedOpDispatcherTests.cpp39 ValidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validator)
46 const ClipBase* clip, const Glop& glop) {
49 vbor->mValidator(glop);
51 std::function<void(const Glop& glop)> mValidator;
57 std::function<void(const Glop& glop)> glopVerifier, int expectedGlopCount = 1) {
65 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount] (const Glop& glop) {
66 ASSERT_LE(glopCount++, expectedGlopCount) << expectedGlopCount << "glop(s) expected";
67 glopVerifier(glop);
91 auto textureGlopVerifier = [] (const Glop& glop) {
92 // validate glop produce
45 ValidatingGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
[all...]
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.cpp145 Glop glop; local
146 GlopBuilder(mRenderState, mCaches, &glop)
153 renderGlop(nullptr, &overdrawClip, glop);
210 Glop glop; local
211 GlopBuilder(mRenderState, mCaches, &glop)
218 mRenderState.render(glop, mRenderTarget.orthoMatrix);
227 Glop glop; local
228 GlopBuilder(mRenderState, mCaches, &glop)
235 mRenderState.render(glop, mRenderTarget.orthoMatrix);
345 const Glop& glop) {
344 renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
[all...]
H A DBakedOpRenderer.h80 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 DOpenGLReadback.cpp218 Glop glop; local
219 GlopBuilder(renderState, caches, &glop)
228 renderState.render(glop, ortho);
H A DGlopBuilder.cpp571 void verify(const ProgramDescription& description, const Glop& glop) { argument
572 if (glop.fill.texture.texture != nullptr) {
577 || ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) == 0
580 glop.fill.texture.texture,
582 glop.mesh.vertices.attribFlags);
586 || ((glop.mesh.vertices.attribFlags & VertexAttribFlags::TextureCoord) != 0)),
589 glop.mesh.vertices.attribFlags);
592 if ((glop.mesh.vertices.attribFlags & VertexAttribFlags::Alpha)
593 && glop.mesh.vertices.bufferObject) {
597 if (description.hasTextureTransform != (glop
658 dump(const Glop& glop) argument
[all...]
H A DBakedOpDispatcher.cpp74 Glop glop; local
75 GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
84 renderer.renderGlop(nullptr, clip, glop);
178 Glop glop; local
179 GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
188 renderer.renderGlop(nullptr, clip, glop);
215 Glop glop; local
216 GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
251 renderer.renderGlop(&shadowBounds, clipState, glop);
348 Glop glop; local
373 Glop glop; local
427 Glop glop; local
493 Glop glop; local
518 Glop glop; local
534 Glop glop; local
595 Glop glop; local
655 Glop glop; local
720 Glop glop; local
772 Glop glop; local
800 Glop glop; local
845 Glop glop; local
[all...]
H A DFontRenderer.cpp66 Glop glop; local
67 GlopBuilder(renderer->renderState(), renderer->caches(), &glop)
76 renderer->renderGlop(nullptr, clip, glop);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp260 void RenderState::render(const Glop& glop, const Matrix4& orthoMatrix) { argument
261 const Glop::Mesh& mesh = glop.mesh;
264 const Glop::Fill& fill = glop.fill;
278 glop.transform.modelView,
279 glop.transform.meshTransform(),
280 glop.transform.transformFlags & TransformFlags::OffsetByFudgeFactor);
295 if (glop.roundRectClipState) {
297 const RoundRectClipState* state = glop.roundRectClipState;
409 blend().setFactors(glop.blend.src, glop
[all...]

Completed in 131 milliseconds