david7a68 / plinth Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Something like < 500ms for an incremental build?
Probably also need something for a fresh build, though that's made much more difficult with the windows
crate.
Instead of DrawInstanced(4, num_rects, 0, rect_start)
, use DrawInstanced(6 * num_rects, 1, rect_start * num_rects, 0)
.
This supposedly is a performance improvement for small meshes, of which a rect definitely qualifies.
This would require corresponding adjustments in upload heap size.
Windows should be able to register to be repainted in a way that synchronizes with the compositor.
i16Q4x4
(-16383 to 16384 with 2 fractional bits (0.0, 0.25, 0.75, 1.0))
u12x4
f16x4
u8
(max 256 textures)
u8
Total: 24 bytes
With Rounding:
i16Q4x4
Total: 24 + 8 = 32 bytes
With gradients and rounding:
Total: 32 + 16 = 48 bytes
With gradients, rounding, and rotation:
i16Q4x2
(center of rotation)
f16
(radians of rotation)
Total: 48 + 6 = 54 bytes
This size must be aligned to the size of float4
which leaves us with 64 bytes per primitive and 10 bytes to play with.
Other extra features
Implementing all of those features would take up 63 bytes (still 1 byte free!).
For simplicity, and because that's probably what we're going to need for the UI anyway.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.