-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df59e7d
commit e7d846a
Showing
17 changed files
with
93 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// Copyright 2023, University of Colorado Boulder | ||
|
||
/** | ||
* An affine matrix - TODO: just replace this with typed arrays | ||
* An affine matrix - TODO: just replace this with typed arrays https://github.com/phetsims/scenery/issues/1584 | ||
* | ||
* TODO: pooling? | ||
* TODO: pooling? https://github.com/phetsims/scenery/issues/1584 | ||
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
@@ -17,7 +17,7 @@ export default class Affine { | |
) {} | ||
|
||
public times( affine: Affine ): Affine { | ||
// TODO: Affine (and this method) are a hot spot IF we are doing client-side matrix stuff | ||
// TODO: Affine (and this method) are a hot spot IF we are doing client-side matrix stuff https://github.com/phetsims/scenery/issues/1584 | ||
const a00 = this.a00 * affine.a00 + this.a01 * affine.a10; | ||
const a01 = this.a00 * affine.a01 + this.a01 * affine.a11; | ||
const a02 = this.a00 * affine.a02 + this.a01 * affine.a12 + this.a02; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ import { scenery } from '../../imports.js'; | |
/** | ||
* A pool of GPU buffers that can be reused. | ||
* | ||
* TODO: can we reuse some buffers AFTER we ensure the synchronization is clear? | ||
* TODO: // device.queue.onSubmittedWorkDone().then( () => {} ); and clear? | ||
* TODO: can we reuse some buffers AFTER we ensure the synchronization is clear? https://github.com/phetsims/scenery/issues/1584 | ||
* TODO: // device.queue.onSubmittedWorkDone().then( () => {} ); and clear? https://github.com/phetsims/scenery/issues/1584 | ||
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
@@ -81,7 +81,7 @@ export default class BufferPool { | |
scenery.register( 'BufferPool', BufferPool ); | ||
|
||
class BufferEntry { | ||
// TODO: pool these | ||
// TODO: pool these https://github.com/phetsims/scenery/issues/1584 | ||
public constructor( | ||
public readonly buffer: GPUBuffer, | ||
public readonly size: number, | ||
|
Oops, something went wrong.