Commit 93323cb
feat(replay): Document skipRequestAnimationFrame option for WebGPU canvas snapshots (#16011)
Adds documentation for the `skipRequestAnimationFrame` option when using
manual canvas snapshots with WebGPU.
WebGPU textures expire after the current task completes, so deferring
snapshot capture to the next animation frame results in an empty canvas.
This option captures immediately after rendering.
Sources:
- https://gpuweb.github.io/gpuweb/explainer/
- gpuweb/gpuweb#2743
- gpuweb/gpuweb#3295
Related: getsentry/sentry-javascript#18804
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Sarah Mischinger <sarah@codingwriter.com>1 parent ff82e52 commit 93323cb
1 file changed
Lines changed: 32 additions & 3 deletions
Lines changed: 32 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
103 | 133 | | |
104 | 134 | | |
105 | 135 | | |
| |||
161 | 191 | | |
162 | 192 | | |
163 | 193 | | |
164 | | - | |
| 194 | + | |
165 | 195 | | |
166 | 196 | | |
167 | 197 | | |
168 | | - | |
| 198 | + | |
169 | 199 | | |
170 | 200 | | |
171 | 201 | | |
| |||
204 | 234 | | |
205 | 235 | | |
206 | 236 | | |
207 | | - | |
| |||
0 commit comments