3a630fefaf
Fix matrix transformation issues
2024-03-02 14:45:22 +00:00
d5d36cfadc
Perform major code refactor
...
The rendering is moved from the renderer to the sprites. As a result,
WgpuRenderer is now more of a rendering context while the renderer in
itself is the context + the sprites
2022-10-22 00:21:41 +02:00
be968adb89
Removed warnings
2022-08-21 21:09:19 +02:00
7a46eff82c
Moved surface size handling to renderer
...
Canvas is no longer resizeable by the interface as that would shift all
sprites on the screen. The user can still do it through the API
2022-08-20 17:04:15 +02:00
330a93fac8
Implemented more of TextureSprite
...
+ added texture modification functions
+ added texture offset support
2022-08-18 22:07:33 +02:00
79b86afc2a
Got texture to display on quad
...
+ implemented Texture
* tweaked Application API
! some work need on Texture API to mask Rc<RefCell>>
2022-07-15 11:59:52 +02:00
599a998c51
Got clear screen to display
...
! WIP, rendering code is fully temporary
2022-07-03 15:52:23 +02:00
8fb74a0381
Started implementing Wgpu renderer
...
+ implemented basic setup code
+ implemented basic resize code
! renderer will default to GLES backend due to NV prime (Wgpu bug)
2022-07-02 23:28:30 +02:00
091454922b
Selected Wgpu as rendering API
...
* adjusted API to better fit Wgpu's
2022-07-02 14:09:19 +02:00
313d311be8
Configured winit window
...
+ constructed winit's window and event loop
! window will not show up until we draw something on it
2022-06-30 21:12:51 +02:00
ecbcbf0db3
Revised lib's API to better fit winit's
...
* switched to slave type API
* started implementing winit's initialization
2022-06-29 21:13:29 +02:00
282534c969
Improve API and separate bin and lib
...
Reworked API, does not compile
2022-06-11 20:02:24 +02:00