Lines Matching defs:GlopBuilder
45 class GlopBuilder {
46 PREVENT_COPY_AND_ASSIGN(GlopBuilder);
48 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop);
50 GlopBuilder& setMeshTexturedIndexedVbo(GLuint vbo, GLsizei elementCount);
51 GlopBuilder& setMeshUnitQuad();
52 GlopBuilder& setMeshTexturedUnitQuad(const UvMapper* uvMapper);
53 GlopBuilder& setMeshTexturedUvQuad(const UvMapper* uvMapper, const Rect uvs);
54 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
55 GlopBuilder& setMeshIndexedQuads(Vertex* vertexData, int quadCount);
56 GlopBuilder& setMeshTexturedMesh(TextureVertex* vertexData, int elementCount); // TODO: delete
57 GlopBuilder& setMeshColoredTexturedMesh(ColorTextureVertex* vertexData, int elementCount); // TODO: use indexed quads
58 GlopBuilder& setMeshTexturedIndexedQuads(TextureVertex* vertexData, int elementCount); // TODO: take quadCount
59 GlopBuilder& setMeshPatchQuads(const Patch& patch);
61 GlopBuilder& setFillPaint(const SkPaint& paint, float alphaScale, bool shadowInterp = false); // TODO: avoid boolean with default
62 GlopBuilder& setFillTexturePaint(Texture& texture, const int textureFillFlags,
64 GlopBuilder& setFillPathTexturePaint(PathTexture& texture,
66 GlopBuilder& setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor,
68 GlopBuilder& setFillBlack();
69 GlopBuilder& setFillClear();
70 GlopBuilder& setFillLayer(Texture& texture, const SkColorFilter* colorFilter,
72 GlopBuilder& setFillTextureLayer(Layer& layer, float alpha);
76 GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform);
78 GlopBuilder& setTransform(const Snapshot& snapshot, const int transformFlags) {
81 GlopBuilder& setTransform(const Matrix4& canvas, const int transformFlags);
83 GlopBuilder& setModelViewMapUnitToRect(const Rect destination);
84 GlopBuilder& setModelViewMapUnitToRectSnap(const Rect destination);
85 GlopBuilder& setModelViewMapUnitToRectOptionalSnap(bool snap, const Rect& destination) {
92 GlopBuilder& setModelViewOffsetRect(float offsetX, float offsetY, const Rect source);
93 GlopBuilder& setModelViewOffsetRectSnap(float offsetX, float offsetY, const Rect source);
94 GlopBuilder& setModelViewOffsetRectOptionalSnap(bool snap,
102 GlopBuilder& setModelViewIdentityEmptyBounds() {
107 GlopBuilder& setRoundRectClipState(const RoundRectClipState* roundRectClipState);