Lines Matching defs:quad
164 // \note No depth here - don't use clears for setting depth values; use quad rendering instead. Cleared depths are in [0, 1] to begin with,
201 gls::FragmentOpUtil::IntegerQuad quad;
387 dst.quad.posA = IVec2(isFrontFacing ? src.rect.left : (src.rect.left+src.rect.width-1), src.rect.bottom);
388 dst.quad.posB = IVec2(isFrontFacing ? (src.rect.left+src.rect.width-1) : src.rect.left, src.rect.bottom+src.rect.height-1);
390 std::fill(DE_ARRAY_BEGIN(dst.quad.color), DE_ARRAY_END(dst.quad.color), src.color);
391 std::fill(DE_ARRAY_BEGIN(dst.quad.depth), DE_ARRAY_END(dst.quad.depth), ((far-near)/2.0f) * src.params.depth + (near+far)/2.0f);
468 gls::FragmentOpUtil::Quad quad;
471 quad.posA = Vec2(isFrontFacing ? -1.0f : 1.0f, -1.0f);
472 quad.posB = Vec2(isFrontFacing ? 1.0f : -1.0f, 1.0f);
474 std::fill(DE_ARRAY_BEGIN(quad.color), DE_ARRAY_END(quad.color), command.color);
475 std::fill(DE_ARRAY_BEGIN(quad.depth), DE_ARRAY_END(quad.depth), command.params.depth);
477 renderer.render(quad);
679 cmd->quad, cmd->state);
685 refTestCmd.quad, refTestCmd.state);
692 cmd->quad, cmd->state);