Commit Graph

2389 Commits

Author SHA1 Message Date
Hajime Hoshi
f0f115b612 clock: Move FPS calculation from loop to clock 2017-08-06 02:09:33 +09:00
Hajime Hoshi
b1d12f08f8 loop: Remove unneeded member variables 2017-08-06 01:49:20 +09:00
Hajime Hoshi
95a061df7f loop: Remove dependency from audio to loop 2017-08-06 01:43:09 +09:00
Hajime Hoshi
2e7a477f9d clock: Refactoring 2017-08-06 01:28:14 +09:00
Hajime Hoshi
e98475cf9d clock: Reduce a variable 2017-08-06 00:29:06 +09:00
Hajime Hoshi
1ea6bb2b6a clock: Fix comments 2017-08-06 00:27:45 +09:00
Hajime Hoshi
b7d559fdf3 clock: Refactoring: Move frames calculation to clock 2017-08-06 00:18:38 +09:00
Hajime Hoshi
288a7ede8d loop: Bug fix: Revert audio-clock syncing 2017-08-05 23:49:11 +09:00
Hajime Hoshi
d99638d34c loop: Bug fix: wrong updating |lastUpdated| 2017-08-05 23:31:10 +09:00
Hajime Hoshi
6f606c6bb1 loop: Bug fix: Don't use 'system timer clock' when audio clock is valid 2017-08-05 23:26:43 +09:00
Hajime Hoshi
a92f77c207 clock: Rename function names; loop: Rename variables 2017-08-05 22:25:21 +09:00
Hajime Hoshi
94843fbe73 loop: Move clock.FPS to loop.FPS to reduce dependencies 2017-08-05 22:08:58 +09:00
Hajime Hoshi
19760be346 loop: Refactoring 2017-08-05 22:07:03 +09:00
Hajime Hoshi
b85f5edee0 loop: Simplify logic 2017-08-05 21:24:04 +09:00
Hajime Hoshi
4ee0c9b482 loop: Refactoring: Create updater struct 2017-08-05 21:06:25 +09:00
Hajime Hoshi
eef8289854 loop: Remove dependency on ui 2017-08-05 20:43:49 +09:00
Hajime Hoshi
56a17a7f79 loop: Reduce defer for performance and readability 2017-08-05 20:19:17 +09:00
Hajime Hoshi
9f98ccc611 loop: Rename UpdateAndDraw -> Update 2017-08-05 20:14:49 +09:00
Hajime Hoshi
f0d47312c4 ui: Add IsRunnableInBackground / SetRunnableInBackground (#272) 2017-08-03 03:21:51 +09:00
Hajime Hoshi
bb5036b3e1 ui: Refactoring 2017-08-03 01:07:04 +09:00
Hajime Hoshi
1021521591 ui: initFullscreen should always be protected by lock 2017-08-03 00:19:04 +09:00
Hajime Hoshi
434d5bb00b ui: Bug fix: SetFullscreen / IsFullscreen should be concurrent safe; IsFullscreen should return the correct value even before Run 2017-08-02 23:48:08 +09:00
Hajime Hoshi
807d03eb3b ui: Delay initialize until Run (#397) 2017-07-30 20:26:40 +09:00
Hajime Hoshi
ee98148b54 graphics: Use default precisions in the fragment shader 2017-07-29 04:08:03 +09:00
Hajime Hoshi
84a7787ac9 graphics: No need to specify precision on vertex shaders (highp is default) 2017-07-29 02:57:56 +09:00
Hajime Hoshi
d46d9ac7c2 opengl: Remove GlslHighpSupported 2017-07-24 22:59:25 +09:00
Hajime Hoshi
85d39699d3 graphics: Bug fix: Need to specify default precisions (#390) 2017-07-24 21:56:40 +09:00
Hajime Hoshi
3bfb5054af Fix misspelling 2017-07-23 22:50:18 +09:00
Hajime Hoshi
d2d19d0764 doc: Fix comments 2017-07-23 05:46:32 +09:00
Hajime Hoshi
ce126fbcdd examples/ui: Use image.Rectangle as struct members 2017-07-23 03:21:02 +09:00
Hajime Hoshi
ce7dc79697 examples/ui: Adjust text box size 2017-07-23 03:10:45 +09:00
Hajime Hoshi
7607ad1660 Add examples/ui (#367) 2017-07-23 02:38:52 +09:00
Hajime Hoshi
585529d276 doc: Update the stable version to 1.5.1 2017-07-22 02:40:04 +09:00
Hajime Hoshi
82619269e9 doc: Fix _docs/README 2017-07-22 02:39:27 +09:00
Hajime Hoshi
8a1da77b67 ui: Fix comments 2017-07-22 02:15:09 +09:00
Hajime Hoshi
5ae03494f2 ui: Resize canvas size when the window is resized (#387) 2017-07-22 02:04:15 +09:00
Hajime Hoshi
63e3bc73d6 ui: Implement fullscreen for browsers (#387) 2017-07-22 01:52:08 +09:00
Hajime Hoshi
064b359c78 text: Bug fix: space was not used correctly 2017-07-21 00:44:37 +09:00
Hajime Hoshi
47734f28e3 doc: Update 2017-07-20 02:23:45 +09:00
Hajime Hoshi
2f6953ff7f examples/font: Refactoring 2017-07-20 02:22:58 +09:00
Hajime Hoshi
b58d8bb996 text: Swap arguments face and text 2017-07-20 02:20:15 +09:00
Hajime Hoshi
94c4a76dcf text: Refactoring: create glyph object in appendGlyph 2017-07-19 02:57:49 +09:00
Hajime Hoshi
28934c4fd2 text: Refactoring: Rename atlas.size -> atlas.glyphSize 2017-07-19 02:52:38 +09:00
Hajime Hoshi
842c535c01 text: Refactoring: Remove some members from atlas 2017-07-19 02:50:55 +09:00
Hajime Hoshi
fd57753089 text: Refactoring: Reduce a global variable 2017-07-18 10:49:12 +09:00
Hajime Hoshi
86296ea89b text: Refactoring 2017-07-18 02:16:39 +09:00
Hajime Hoshi
9efc794547 text: Don't use Ceil as much as possible for accuracy 2017-07-17 17:00:51 +09:00
Hajime Hoshi
198ffa9ef8 text: doc 2017-07-17 16:17:01 +09:00
Hajime Hoshi
d8d36c58fb doc: Update 2017-07-17 06:43:37 +09:00
Hajime Hoshi
20a43a88e8 text: Remove 'lineHeight' argument 2017-07-17 06:42:48 +09:00