-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 1.1.0 feat: roundRect support feat: createConicGradient fixes: #86 fixes: #83 fixes: #82 improved performance on android * fix: build * chore: switch to ndk crates * fix: use lower ndk * chore: performance updates * fix: create imagebitmap from imagedata * updates * feat: canvas snapshot to image * fix: snapsot * fix: clip & snapshot * feat: flip option for snapshot * fix: rgb texture loading * fix: duplicate property * fix: bindVertexArray * fix(polyfill): set correct buffer size * chore: bump * fix: gl asset drawing & polyfill http data
- Loading branch information
Showing
311 changed files
with
467,614 additions
and
17,278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
require('@nativescript/canvas-polyfill'); | ||
import { Application } from '@nativescript/core'; | ||
import { Application, Utils } from '@nativescript/core'; | ||
declare const jp, GDPerformanceMonitor, org; | ||
let monitor; | ||
// uncomment for fps monitor | ||
/* | ||
Application.on('launch', (args) => { | ||
if (global.isAndroid) { | ||
jp.wasabeef.takt.Takt.stock(Utils.android.getApplicationContext()).seat(jp.wasabeef.takt.Seat.TOP_CENTER).color(-65536); | ||
} else { | ||
monitor = GDPerformanceMonitor.new(); | ||
monitor.startMonitoringWithConfiguration((label) => { | ||
label.backgroundColor = UIColor.blackColor; | ||
label.textColor = UIColor.whiteColor; | ||
label.layer.borderColor = UIColor.redColor; | ||
}); | ||
monitor.appVersionHidden = true; | ||
monitor.deviceVersionHidden = true; | ||
} | ||
}); | ||
*/ | ||
Application.run({ moduleName: 'app-root' }); |
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
Binary file not shown.
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 |
---|---|---|
|
@@ -45,7 +45,7 @@ export const Game = (options) => { | |
width, | ||
height, | ||
//canvas, | ||
context, | ||
context, | ||
title, | ||
type, | ||
scene, | ||
|
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.