forked from Blendman974/faceclaw
Display lists
This commit is contained in:
1 parent
a7af84e231
commit
4320021222
44 files changed
+823
-284
No files matched your search
@@ -541,6 +541,11 @@ export class FaceclawCommunicatorBridge {
|
||||
* next composite. How a shell overlay's Layer.dimUnderneath reaches the
|
||||
* window surfaces beneath the shell surface.
|
||||
*/
|
||||
async submitShellScene(bytes: Uint8Array, paintMs = 0, frameId = 0): Promise<void> {
|
||||
const snapshot = new Uint8Array(bytes);
|
||||
await this.enqueueJavaCall(() => this.communicator.submitShellScene(snapshot.buffer, paintMs, frameId), true);
|
||||
}
|
||||
|
||||
async setUnderlayDim(belowZOrder: number, factor: number): Promise<void> {
|
||||
await this.enqueueJavaCall(() => {
|
||||
this.communicator.setUnderlayDim(Math.round(belowZOrder), dimFactor256(factor));
|
||||
|
||||
Reference in new issue
Block a user