Commit graph

34 commits

Author SHA1 Message Date
LoganDark db2f86ce15
Add wakeup support (#7)
* Add wakeup support

This also fixes a bug (the `glutin_handle_basic_input` callback was never actually given mutable access to the `BasicInput`, so there's no way it could have set `BasicInput::wait` anyway).

Glad I got that before the 0.8 release, phew.

* Fix bug in reschedule_wakeup

* Fix adjust_wakeup
2021-02-21 21:10:27 -05:00
Logan Darklock 3a91ef772d
Building a Config cannot fail 2021-01-22 16:45:11 -08:00
Logan Darklock a51872fb82
Implement builder pattern; fixes #10 2021-01-22 16:33:07 -08:00
LoganDark 02b3b62520
Update glutin, docs, and adds a few other features (including multi window support) (#5)
Upgrades glutin, docs, and adds a few other features (including multi window support). But not the readme. That comes next.
2021-01-20 22:12:52 -05:00
shivshank 1dd829a8ed Fix doc tests 2019-04-21 21:40:30 -04:00
shivshank f64eaf1557 Update CHANGELOG 2018-08-25 16:55:02 -04:00
shivshank 1e71fefe90 Change BasicInput::mouse_pos from usize to f64 2018-08-25 16:31:43 -04:00
shivshank 8df4325917 Fix botched mouse handling 2018-08-25 16:08:23 -04:00
shivshank 883b69f9c5 Be consistent with OpenGL coords, buffer[0] being the bottom left 2018-08-24 18:13:40 -04:00
shivshank a734d7de86 Add post process, input handling, and game of life example 2018-07-28 16:59:02 -04:00
shivshank 0d4e6a9822 Add support for basic input handling without breakout 2018-07-28 16:48:23 -04:00
shivshank 5e006a73ac Add use_post_process_shader support 2018-07-28 14:56:48 -04:00
shivshank 03f17314ad Add is_running and redraw methods 2018-07-28 14:18:12 -04:00
shivshank 226fafcc1c Fix warnings 2018-07-27 22:56:00 -04:00
shivshank 0efe514a89 Expose resizable, enhance persist implementation 2018-07-27 22:54:52 -04:00
shivshank de363927dd Fix texture alignment specified incorrectly 2018-07-27 22:06:40 -04:00
shivshank 256e20be8e Remove outdated comments 2018-07-27 22:04:11 -04:00
shivshank c2702fa36b Add safety check for update_buffer 2018-07-27 20:15:56 -04:00
shivshank 68cda2a7fb Add a few more buffer customization methods 2018-07-27 19:30:10 -04:00
shivshank 6a99711833 Remove dependency on Config for init_glutin_context 2018-07-27 17:56:41 -04:00
shivshank f23f653413 Refactor init_framebuffer to take arguments instead of a config 2018-07-27 17:28:00 -04:00
shivshank 16e1c25e31 Fix broken export 2018-07-27 17:16:38 -04:00
shivshank 95e3bdcbfd Add viewport resize method 2018-07-27 16:40:31 -04:00
shivshank df5ea104d8 Forgot to commit the breakout module 2018-07-25 23:50:17 -04:00
shivshank 875eeeddc6 Update docs 2018-07-25 23:43:09 -04:00
shivshank a027cf0e70 Add glutin breakout 2018-07-25 23:17:33 -04:00
shivshank 67b2b108c8 Update docs 2018-07-25 22:42:58 -04:00
shivshank f9127fb922 Add another Default impl for Config 2018-07-25 22:27:30 -04:00
shivshank 03f4f50d28 Completely refactor to support breakout and exposed internals 2018-07-25 22:00:59 -04:00
shivshank 86570bd141 Finish doc comment
I don't know why I have a tendency to forget writing docs... while mid
writing docs!
2018-07-24 18:38:36 -04:00
shivshank d12cdb02d7 Remove wildcard dependencies (oops!) 2018-07-24 18:13:22 -04:00
shivshank e6da32862e Allow switching out the default shaders 2018-05-31 21:58:36 -04:00
shivshank 18fac37072 Save created shaders internally 2018-05-31 18:31:32 -04:00
shivshank 375573b5e8 Create basic buffer upload API 2018-05-29 22:48:20 -04:00