Updated Performance Tips (markdown)

Hajime Hoshi 2019-03-07 16:42:46 +09:00
parent 90027edd82
commit 8cdf1c0e84

@ -7,7 +7,8 @@ One drawing function like `DrawImage` or `Fill` is usually treated as one (inter
* All the functions are `DrawImage` or `DrawTriangles` * All the functions are `DrawImage` or `DrawTriangles`
* All the render targets are same (`A` in `A.DrawImage(B, op)`) * All the render targets are same (`A` in `A.DrawImage(B, op)`)
* Either all ColorM element values are same or all the ColorM have only diagonal ('scale') elements * Either all ColorM element values are same or all the ColorM have only diagonal ('scale') elements
* If only `(*ColorM).Scale` is applied to a ColorM, the ColorM has only diagonal elements. The other ColorM functions might modify the other elements.* All the composite modes are same * If only `(*ColorM).Scale` is applied to a ColorM, the ColorM has only diagonal elements. The other ColorM functions might modify the other elements.
* All the composite modes are same
* All the filter values are same * All the filter values are same
* All the address values are same (only for `DrawTriangles`) * All the address values are same (only for `DrawTriangles`)