Commit Graph

172 Commits

Author SHA1 Message Date
Hajime Hoshi
3136ef5fbd graphics: More exact scaling
This is related to #622
2018-06-08 00:07:39 +09:00
Hajime Hoshi
c62e63f874 graphics: Remove 'filter' argument from newVolatileImage (#503) 2018-04-06 03:34:14 +09:00
Hajime Hoshi
7b5ad46e49 shareable: NewImage* now returns a cleared image 2018-04-06 02:08:12 +09:00
Hajime Hoshi
87daa82ad9 graphics: Replace emptyImage with dummyImage (not initialized) 2018-04-06 00:49:49 +09:00
Hajime Hoshi
97ce612785 Refactoring: Don't access restorable package directly from ebiten package 2018-03-25 23:37:32 +09:00
Hajime Hoshi
1b0e71765f internal/hooks: Rename Update -> BeforeUpdate 2018-03-15 02:50:10 +09:00
Hajime Hoshi
a2d6ae7eee shareable: Rename ImagePart -> Image 2018-03-11 00:05:06 +09:00
Hajime Hoshi
1556db74fa graphics: Rename sharedImage -> shareableImage 2018-03-10 23:39:06 +09:00
Hajime Hoshi
afda41a5ed graphics: Refactoring: Remove (*Image).restorable 2018-03-10 23:18:50 +09:00
Hajime Hoshi
e977019d2f graphics: Detect maximum texture size for each environment
Fixes #537, #539

See also #541
2018-03-09 11:47:23 +09:00
Hajime Hoshi
5bfdc6d29a graphics: The screen filter might be heavy 2018-03-05 11:09:06 +09:00
Hajime Hoshi
f1d97a7758 graphics: Refactoring 2018-03-05 10:53:42 +09:00
Hajime Hoshi
dcb05fb9ad graphics: Remove unneeded 'Clear' on the screen framebuffer 2018-03-05 10:53:09 +09:00
Hajime Hoshi
d523229d9f graphics: Skip clearing the screen framebuffer 2018-03-05 02:59:52 +09:00
Hajime Hoshi
d0592d30e0 graphics: Improve clearing the offscreen performance 2018-03-02 01:55:40 +09:00
Hajime Hoshi
b8deabbd94 graphics: Reland: Bug fix: a too old frame was rendered at least on Android
Fixes #525
2018-03-01 23:05:28 +09:00
Hajime Hoshi
1c0f5e09d5 Revert "graphics: Bug fix: a too old frame was rendered at least on Android"
Reason: #525

This reverts commit deab21fad1.
2018-03-01 22:42:31 +09:00
Hajime Hoshi
deab21fad1 graphics: Bug fix: a too old frame was rendered at least on Android
Fixes #520
2018-03-01 11:37:01 +09:00
Hajime Hoshi
9e61d0622e graphics: Revert ClearVolatileImages 2018-02-28 23:21:23 +09:00
Hajime Hoshi
02b4fc7917 graphics: Reduce num of Image.Clear() calls 2018-02-28 23:11:12 +09:00
Hajime Hoshi
9db042ae9e graphics: Refactoring: easier way to clear framebuffer 2018-02-28 22:46:57 +09:00
Hajime Hoshi
9adc1ac6a0 Revert "graphics: Refactoring: clearing framebuffer"
This reverts commit 58f5c9c1d0.

Fixes #515
2018-02-25 22:04:04 +09:00
Hajime Hoshi
58f5c9c1d0 graphics: Refactoring: clearing framebuffer 2018-02-24 23:51:05 +09:00
Hajime Hoshi
9da5099060 graphics: Refactoring: Flip Y by geometry matrix instead of projection matrix 2018-02-24 23:32:36 +09:00
Hajime Hoshi
a644e92298 restorable: Better calculation to clear restorable.Image 2018-02-24 21:16:30 +09:00
Hajime Hoshi
556b2ec31b graphics: Implement Image.Fill with DrawImage 2018-02-24 05:28:50 +09:00
Hajime Hoshi
591e0ad995 graphics: Add 'screen' filter for fast rendering (#509) 2018-02-23 01:28:35 +09:00
Hajime Hoshi
4aa5ee032f graphics: Refactoring: Use DrawImageOptions.Filter 2018-02-22 01:58:50 +09:00
Hajime Hoshi
1179c12d35 graphics: Speed optimization: Use CompositeModeCopy instead of Clear 2018-02-22 01:18:33 +09:00
Hajime Hoshi
392ee92aeb Add internal/hooks to replace internal/audiobinding 2018-02-04 17:33:17 +09:00
Hajime Hoshi
b62df75e36 graphics: Don't update the screen when not necessary 2018-01-07 03:13:13 +09:00
Hajime Hoshi
61646e5d03 Refactoring: Remove updater 2018-01-06 23:30:11 +09:00
Hajime Hoshi
d398cb14c2 graphics: Remove an unused member 2018-01-03 16:31:42 +09:00
Hajime Hoshi
cea9bd5a19 input: Bug fix: runeBuffer should be reset on each frame 2017-11-10 01:21:15 +09:00
Hajime Hoshi
b51f4d5312 graphics: Refactoring: Use web package 2017-10-05 02:41:18 +09:00
Hajime Hoshi
80940f9070 restorable: Add comments 2017-09-15 00:24:18 +09:00
Hajime Hoshi
9ab517cf82 restorable: Refactoring 2017-08-07 00:06:35 +09:00
Hajime Hoshi
1fb7e123c2 Remove dependencies on internal/graphics from ebiten 2017-08-06 21:34:24 +09:00
Hajime Hoshi
9f98ccc611 loop: Rename UpdateAndDraw -> Update 2017-08-05 20:14:49 +09:00
Hajime Hoshi
364819f361 restorable: Disable restoring on desktops and mobile browsers (#380) 2017-07-02 15:58:00 +09:00
Hajime Hoshi
c694851765 ui: Center the screen on fullscreen mode (#374) 2017-07-01 04:12:09 +09:00
Hajime Hoshi
1d59938295 ui: Refactoring: Remove unneeded error handlings 2017-05-31 10:47:52 +09:00
Hajime Hoshi
7d181e3182 opengl: Hide OpenGL context usages into internal/graphics package 2017-05-31 02:18:04 +09:00
Hajime Hoshi
cbc08d9c16 graphics: Bug fix: restoring needs to be done after main logic execution (#357) 2017-05-30 10:55:07 +09:00
Hajime Hoshi
5a4a82ab50 restorable: Add TODO comments (#357) 2017-05-30 03:31:29 +09:00
Hajime Hoshi
9d4849e351 graphics: Refactoring: no needed returning values 2017-05-30 02:55:09 +09:00
Hajime Hoshi
8614599c5c graphics: Don't call IsTexture on browsers 2017-05-28 00:49:01 +09:00
Hajime Hoshi
951e5bccef restorable: Remove Images() 2017-05-04 00:08:07 +09:00
Hajime Hoshi
9f5cf48d24 restorable: Move Images to resotrable package 2017-05-03 23:11:43 +09:00
Hajime Hoshi
6be25d3297 graphics: Remove imageImpl 2017-05-03 02:52:42 +09:00