Daniel Imms
|
54ee698ba6
|
Basic merging working
Part of #4243
|
2022-11-01 09:07:38 -07:00 |
|
Daniel Imms
|
02fa38c334
|
Merge pull request #4244 from Tyriar/multi_page_atlas
Support multiple texture atlas pages
|
2022-10-30 18:30:11 -07:00 |
|
Daniel Imms
|
4d05905736
|
Polish
|
2022-10-30 18:11:24 -07:00 |
|
Daniel Imms
|
dda3f5f545
|
Properly dispose of atlas event
|
2022-10-30 15:00:27 -07:00 |
|
Daniel Imms
|
04041d030f
|
Generate bitmaps for all atlas pages
|
2022-10-30 14:56:27 -07:00 |
|
Daniel Imms
|
095ceda639
|
Show canvas atlas pages in demo
|
2022-10-30 14:53:01 -07:00 |
|
Daniel Imms
|
0aa9fc5bb8
|
Add border around atlas pages
|
2022-10-30 12:00:55 -07:00 |
|
Daniel Imms
|
e092ca70e1
|
Simplify page reuse/creation
|
2022-10-30 10:33:38 -07:00 |
|
Daniel Imms
|
0592837620
|
Fill pages to capacity
|
2022-10-30 10:21:17 -07:00 |
|
Daniel Imms
|
fc03a1698b
|
Share page creation code
|
2022-10-30 10:16:48 -07:00 |
|
Daniel Imms
|
c9ef4a8eb9
|
Increase texture size as it nears the maximum texture unit
#4243 would be a better, but more complicated, solution to this
|
2022-10-30 09:20:17 -07:00 |
|
Daniel Imms
|
846573bb01
|
Support up to maximum texture units (eg. 16 on my machine)
|
2022-10-30 03:16:29 -07:00 |
|
Daniel Imms
|
0f70055d76
|
Add CJK test button
|
2022-10-30 03:04:58 -07:00 |
|
Daniel Imms
|
3f2ed42e73
|
Fix glyphs getting clipped on bottom row
|
2022-10-29 20:57:42 -07:00 |
|
Daniel Imms
|
2a3c2d9520
|
Make better use of atlas space
|
2022-10-29 20:33:27 -07:00 |
|
Daniel Imms
|
5e95475d6b
|
Use current row when filling in old atlas pages
|
2022-10-29 19:50:44 -07:00 |
|
Daniel Imms
|
57a65e0858
|
Continute filling atlas page after new pages are added
|
2022-10-29 19:44:12 -07:00 |
|
Daniel Imms
|
bfa9dd5060
|
Clean up
|
2022-10-29 18:09:18 -07:00 |
|
Daniel Imms
|
04f79aa7b4
|
Share page texture binding code
|
2022-10-29 14:33:50 -07:00 |
|
Daniel Imms
|
86ccd709bf
|
Avoid setting uniforms every frame
|
2022-10-29 14:26:51 -07:00 |
|
Daniel Imms
|
c257a7247e
|
Only upload textures that change
|
2022-10-29 13:27:33 -07:00 |
|
Daniel Imms
|
0a49a5dde1
|
Make texture atlas presentation nicer for multiple pages
|
2022-10-29 13:01:41 -07:00 |
|
Daniel Imms
|
c6e3cc007c
|
Stop atlas flickering on demo
|
2022-10-29 12:49:11 -07:00 |
|
Daniel Imms
|
713baeb64d
|
Base atlas page size on device pixel ratio
|
2022-10-29 12:45:20 -07:00 |
|
Daniel Imms
|
efba2c9040
|
Get pages working, add to demo
|
2022-10-28 19:30:42 -07:00 |
|
Daniel Imms
|
67ef455515
|
Get a second page kind of working
|
2022-10-28 19:20:26 -07:00 |
|
Daniel Imms
|
975d52fab9
|
Remove deprecated prop
|
2022-10-28 19:12:01 -07:00 |
|
Daniel Imms
|
6b37187b4d
|
Create AtlasPage
|
2022-10-28 19:08:33 -07:00 |
|
Daniel Imms
|
84ab6a49c4
|
Bring texturePage partially to atlas
|
2022-10-28 18:56:49 -07:00 |
|
Daniel Imms
|
4ebc75aae0
|
Merge remote-tracking branch 'upstream/master' into multi_page_atlas
|
2022-10-28 18:42:46 -07:00 |
|
Daniel Imms
|
54335ef54a
|
Create texture page attribute
|
2022-10-28 18:16:55 -07:00 |
|
Daniel Imms
|
43d8db77f9
|
Merge pull request #4239 from Tyriar/4224_mcr_canvas_ydisp
Correctly offset mcr check on canvas renderer
|
2022-10-28 14:10:25 -07:00 |
|
Daniel Imms
|
b0672aac09
|
Correctly offset mcr check on canvas renderer
Fixes #4224
|
2022-10-28 14:02:58 -07:00 |
|
Daniel Imms
|
fcf378b172
|
Merge pull request #4237 from Tyriar/italic_bounds
Fix clipping of italic emoji
|
2022-10-28 09:12:07 -07:00 |
|
Daniel Imms
|
25551a4b98
|
Merge pull request #4236 from Tyriar/console_image
Add console.image helper
|
2022-10-28 09:04:37 -07:00 |
|
Daniel Imms
|
67b3faef01
|
Use bbox padding and width consistently
|
2022-10-28 09:01:22 -07:00 |
|
Daniel Imms
|
8b545a3fe4
|
Fix bbox right scan start offset
This causes particularly wide glyphs like italic emoji to get clipped
even if they're within the allowed padding.
Fixes #4229
|
2022-10-28 08:57:41 -07:00 |
|
Daniel Imms
|
4f4ce0146d
|
Add console.image helper
This is useful for printing canvases that aren't attached to the DOM
|
2022-10-28 08:54:57 -07:00 |
|
Daniel Imms
|
e7b347a2ef
|
Merge pull request #4235 from Tyriar/opt_server_buffer
Avoid GC pressure from server data buffer
|
2022-10-27 22:41:07 -07:00 |
|
Daniel Imms
|
7908b7cf62
|
Avoid GC pressure from server data buffer
|
2022-10-27 22:30:46 -07:00 |
|
Daniel Imms
|
392f8e9c98
|
Merge pull request #4234 from Tyriar/slow_isFocused
Cache ICoreBrowserService.isFocused per task
|
2022-10-27 17:00:18 -07:00 |
|
Daniel Imms
|
b5cd4f1492
|
Cache ICoreBrowserService.isFocused per task
This is called for every selected cell when rendering which ends up
consuming a bunch of CPU due to the DOM calls.
|
2022-10-27 16:50:45 -07:00 |
|
Daniel Imms
|
4edfc12cbf
|
Merge pull request #4233 from Tyriar/4113_resize
Fix resize in demo
|
2022-10-27 14:03:17 -07:00 |
|
Daniel Imms
|
19c1ee56d3
|
Fix resize in demo
A double resize could happen due to the mismatch in canvas vs device
pixel widths
Fixes #4113
|
2022-10-27 13:55:24 -07:00 |
|
Daniel Imms
|
a4f8b07a7f
|
Merge pull request #4226 from Tyriar/dropped_frames
Fix dropped frame issue
|
2022-10-21 13:10:30 -07:00 |
|
Daniel Imms
|
8d4d5bd54b
|
Fix dropped frame issue
This ensures decorations are refreshed in the same frame when called from
an animation frame callback
Fixes #4225
|
2022-10-21 13:02:24 -07:00 |
|
Daniel Imms
|
d5710afcb3
|
Merge pull request #4219 from Tyriar/4218_safari_bitmap
Disable canvas ImageBitmap optimization on Safari
|
2022-10-19 10:58:43 -07:00 |
|
Daniel Imms
|
8bd8195e30
|
Disable canvas ImageBitmap optimization on Safari
Fixes #4218
|
2022-10-19 10:03:01 -07:00 |
|
Daniel Imms
|
ffe066dfef
|
Merge pull request #4217 from Nokel81/fix-dom-renderering-jsdom-v2
Change clearing innerText to using replaceChildren to fix testing using jsdom
|
2022-10-19 07:21:30 -07:00 |
|
Sebastian Malton
|
11e90591f9
|
Change clearing innerText to using replaceChildren to fix testing using jsdom
Signed-off-by: Sebastian Malton <sebastian@malton.name>
|
2022-10-19 10:09:12 -04:00 |
|