| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#include "PatternRenderer.h" |
| 2 |
|
|
|
|
|
| 3 |
|
|
|
|
using namespace Chrysalis; |
| 4 |
|
|
|
|
|
| 5 |
|
|
|
✗ |
PatternRenderer::PatternRenderer(std::unique_ptr<PatternTraceRenderer> traceRenderer, |
| 6 |
|
|
|
✗ |
std::unique_ptr<PatternShapeRenderer> shapeRenderer) |
| 7 |
|
|
0/11
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
|
✗ |
: traceRenderer_(std::move(traceRenderer)), shapeRenderer_(std::move(shapeRenderer)) {} |
| 8 |
|
|
|
|
|
| 9 |
|
|
|
✗ |
void PatternRenderer::initialize() const { |
| 10 |
|
|
0/12
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 11 not invoked.
|
✗ |
traceRenderer_->initialize(); |
| 11 |
|
|
0/14
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 11 not invoked.
✗ Call 12 not invoked.
✗ Call 13 not invoked.
|
✗ |
shapeRenderer_->initialize(); |
| 12 |
|
|
|
✗ |
} |
| 13 |
|
|
|
|
|
| 14 |
|
|
|
✗ |
void PatternRenderer::upload() const { |
| 15 |
|
|
0/9
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
|
✗ |
traceRenderer_->upload(); |
| 16 |
|
|
0/11
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
|
✗ |
shapeRenderer_->upload(); |
| 17 |
|
|
|
✗ |
} |
| 18 |
|
|
|
|
|
| 19 |
|
|
|
✗ |
void PatternRenderer::render() const { |
| 20 |
|
|
0/9
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
|
✗ |
traceRenderer_->render(); |
| 21 |
|
|
0/11
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
|
✗ |
shapeRenderer_->render(); |
| 22 |
|
|
|
✗ |
} |
| 23 |
|
|
|
|
|
| 24 |
|
|
|
✗ |
void PatternRenderer::scaleChanged(const float scale) const { |
| 25 |
|
|
0/8
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
|
✗ |
traceRenderer_->scaleChanged(scale); |
| 26 |
|
|
|
✗ |
} |
| 27 |
|
|
|
|
|
| 28 |
|
|
|
✗ |
const PatternTraceRenderer& PatternRenderer::traceRenderer() const { |
| 29 |
|
|
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
|
✗ |
return *traceRenderer_; |
| 30 |
|
|
|
|
} |
| 31 |
|
|
|
|
|