mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Painter: Time inspectors
git-svn-id: svn://ultimatepp.org/upp/trunk@14547 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d8b023f48b
commit
b6a82ecca4
2 changed files with 2 additions and 1 deletions
|
|
@ -201,6 +201,7 @@ struct PainterImageSpan : SpanSource, PainterImageSpanData {
|
|||
|
||||
virtual void Get(RGBA *span, int x, int y, unsigned len)
|
||||
{
|
||||
PAINTER_TIMING("ImageSpan::Get");
|
||||
interpolator.Begin(x, y, len);
|
||||
fixed = hstyle && vstyle;
|
||||
if(hstyle + vstyle == 0 && fast) {
|
||||
|
|
@ -237,7 +238,6 @@ struct PainterImageSpan : SpanSource, PainterImageSpanData {
|
|||
else {
|
||||
RGBAV v;
|
||||
v.Set(0);
|
||||
// v.Set(256 * 256 / 2);
|
||||
h.x &= 255;
|
||||
h.y &= 255;
|
||||
Point u = -h + 256;
|
||||
|
|
|
|||
|
|
@ -313,6 +313,7 @@ Buffer<ClippingLine> BufferPainter::RenderPath(double width, Event<One<SpanSourc
|
|||
if(width != ONPATH) {
|
||||
int n = rasterizer.MaxY() - rasterizer.MinY();
|
||||
if(n >= 0) {
|
||||
PAINTER_TIMING("RenderPath2 Fill");
|
||||
if(doco && n > 6) {
|
||||
CoWork co;
|
||||
co * [&] { fill(&co); };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue