-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #642 from matrix-org/tp3-refactor
TP3 Refactor
- Loading branch information
Showing
156 changed files
with
4,138 additions
and
3,821 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { swapReadBufferFlags, swapWriteBufferFlags } from "./allocator/TripleBuffer"; | ||
import { IMainThreadContext } from "./MainThread"; | ||
import { MainContext } from "./MainThread"; | ||
|
||
export function IncomingMainThreadTripleBufferSystem(ctx: IMainThreadContext) { | ||
export function IncomingMainThreadTripleBufferSystem(ctx: MainContext) { | ||
swapReadBufferFlags(ctx.gameToMainTripleBufferFlags); | ||
} | ||
|
||
export function OutgoingMainThreadTripleBufferSystem(ctx: IMainThreadContext) { | ||
export function OutgoingMainThreadTripleBufferSystem(ctx: MainContext) { | ||
swapWriteBufferFlags(ctx.mainToGameTripleBufferFlags); | ||
} |
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
Oops, something went wrong.
3febfae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://staging--thirdroom.netlify.app