Skip to content

Commit

Permalink
Fixed blur performance.
Browse files Browse the repository at this point in the history
 * Made size of blur pass dynamic.
 * Moved positioning calculations to javascript.
 * Fixed shader caching.
  • Loading branch information
ILOVEPIE committed Feb 22, 2024
1 parent 0d3bb1c commit fe25fe7
Show file tree
Hide file tree
Showing 6 changed files with 202 additions and 226 deletions.
1 change: 1 addition & 0 deletions src/canvas-2d-text-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ const text_renderer_prototype = global.Object.create(Object, {
path.draw(this._ctx);
if (stroke) {
this._ctx.stroke();
//this._ctx.fill();
} else {
this._ctx.fill();
}
Expand Down
Loading

0 comments on commit fe25fe7

Please sign in to comment.