Skip to content

Commit

Permalink
add mobile safari workarounds and query parameters to reduce memory i…
Browse files Browse the repository at this point in the history
…n ThreeStage, phetsims/density-buoyancy-common#316

Signed-off-by: Michael Kauzmann <michael.kauzmann@colorado.edu>
  • Loading branch information
zepumph committed Sep 4, 2024
1 parent 3f1c5ba commit 799129c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/initialize-globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,13 +456,6 @@
*/
postMessageOnReady: { type: 'flag' },

/**
* Controls whether the preserveDrawingBuffer:true is set on WebGL Canvases. This allows canvas.toDataURL() to work
* (used for certain methods that require screenshot generation using foreign object rasterization, etc.).
* Generally reduces WebGL performance, so it should not always be on (thus the query parameter).
*/
preserveDrawingBuffer: { type: 'flag' },

/**
* If true, the full screen button won't be shown in the phet menu
*/
Expand Down

0 comments on commit 799129c

Please sign in to comment.