Hajime Hoshi
|
8d98f297f2
|
graphics: Refactoring: Avoid type switch
|
2018-03-05 00:00:25 +09:00 |
|
Hajime Hoshi
|
f1ba3e5894
|
affine: Optimization Equals
|
2018-03-04 23:23:11 +09:00 |
|
Hajime Hoshi
|
cdfee9fd74
|
ebitenutil: Refactoring
|
2018-03-04 22:52:56 +09:00 |
|
Hajime Hoshi
|
d9571c7e32
|
ebitenutil: Use the default filter
|
2018-03-04 22:45:47 +09:00 |
|
Hajime Hoshi
|
61950817fa
|
audio: Bug fix: importing audio without NewContext causes error
|
2018-03-04 22:18:14 +09:00 |
|
Hajime Hoshi
|
647d8f0094
|
audio: Use time.NewTimer and Stop instead of time.After
Fixes #532
|
2018-03-04 19:23:38 +09:00 |
|
Hajime Hoshi
|
3479b80f1c
|
opengl: Use unsafe-way to convert []float32/[]uint16 to []byte; Remove internal/endian
|
2018-03-04 18:06:35 +09:00 |
|
Hajime Hoshi
|
24dcaf7f28
|
graphcis: Fix comments
|
2018-03-04 03:07:06 +09:00 |
|
Hajime Hoshi
|
c581219bb5
|
text: Utilize shared textures
Fixes #529
|
2018-03-04 02:38:48 +09:00 |
|
Hajime Hoshi
|
7da65d64be
|
bsp: Make bsp concurrent safe
Fixes #530. Finalizers can be called on different goroutines
|
2018-03-04 02:33:32 +09:00 |
|
Hajime Hoshi
|
8dbb11a23c
|
graphicsutil: Remove Gosched that might be harmful on browsers
This was introduced at 006f87d02b but this can be harmful when many images are created by NewImageFromImage
|
2018-03-03 23:43:57 +09:00 |
|
Hajime Hoshi
|
08610fcd8b
|
bsp: Fix tests
|
2018-03-03 23:30:59 +09:00 |
|
Hajime Hoshi
|
d944d51c14
|
graphics: Now images from NewImage also shares a texture
|
2018-03-03 21:01:25 +09:00 |
|
Hajime Hoshi
|
2903f32d9b
|
graphics: Bug fix: Add lock to newSharedImagePart
|
2018-03-03 20:50:26 +09:00 |
|
Hajime Hoshi
|
c5872c6640
|
graphics: Misspelling
|
2018-03-03 20:42:16 +09:00 |
|
Hajime Hoshi
|
4b4404bc7e
|
graphics: Ensure the image is not disposed when restorableImage() is called
|
2018-03-03 20:36:33 +09:00 |
|
Hajime Hoshi
|
caf4e9504f
|
graphics: ReplacePixels should work on shared textures
|
2018-03-03 20:35:44 +09:00 |
|
Hajime Hoshi
|
4ae9d5780c
|
graphics: Implement shared texture (#514)
|
2018-03-03 19:54:53 +09:00 |
|
Hajime Hoshi
|
d5bca2d499
|
graphics: Bug fix: (*Image).At must return color.RGBA type value
|
2018-03-03 18:51:52 +09:00 |
|
Hajime Hoshi
|
046a6cd014
|
graphics: Swap error checking
|
2018-03-02 23:59:04 +09:00 |
|
Hajime Hoshi
|
d60f662f57
|
Add go.mod
Fixes #527
|
2018-03-02 23:01:24 +09:00 |
|
Hajime Hoshi
|
247cd6e1c3
|
Add graphicsutil package
|
2018-03-02 12:34:56 +09:00 |
|
Hajime Hoshi
|
d4112004b0
|
graphics: Move calculating source region from restorable package
|
2018-03-02 12:20:44 +09:00 |
|
Hajime Hoshi
|
ecf4757809
|
graphics: Add TestImageSize
|
2018-03-02 02:57:12 +09:00 |
|
Hajime Hoshi
|
d0592d30e0
|
graphics: Improve clearing the offscreen performance
|
2018-03-02 01:55:40 +09:00 |
|
Hajime Hoshi
|
d1ac0e1857
|
examples/contextlost: Fix the title
|
2018-03-02 01:30:55 +09:00 |
|
Hajime Hoshi
|
d05ece2013
|
Add examples/contextlost
|
2018-03-02 01:30:18 +09:00 |
|
Hajime Hoshi
|
e5089934db
|
graphics: Bug fix: Don't delete buffers on browsers (#526)
|
2018-03-02 01:06:21 +09:00 |
|
Hajime Hoshi
|
4c1cc9e699
|
ui: Bug fix: exit update function once when the context is lost (#526)
|
2018-03-02 01:05:54 +09:00 |
|
Hajime Hoshi
|
dada2e060a
|
restorable: Bug fix: Don't use graphics.Image for clearing framebuffer
|
2018-03-02 01:05:54 +09:00 |
|
Hajime Hoshi
|
cd8368deaf
|
restorable: Add TODO comment
|
2018-03-02 00:00:09 +09:00 |
|
Hajime Hoshi
|
db738676ce
|
restorable: Refactoring: clearIfVolatile
|
2018-03-01 23:13:23 +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
|
1a898dd1b9
|
Add comments
|
2018-03-01 02:49:45 +09:00 |
|
Hajime Hoshi
|
676a023a30
|
restorable: Remove unneeded NextPowerOf2Int usage
|
2018-03-01 02:45:23 +09:00 |
|
Hajime Hoshi
|
1068156215
|
restorable: Add restoring case to TestReplacePixels
|
2018-03-01 02:43:59 +09:00 |
|
Hajime Hoshi
|
127f6c09c8
|
graphics: Specify rect to glTexSubImage2D
|
2018-03-01 01:58:09 +09:00 |
|
Hajime Hoshi
|
9f6fd0db9a
|
graphics: Use the original width/height for glTexSubImage2D
|
2018-03-01 00:47:37 +09:00 |
|
Hajime Hoshi
|
15d2e6b82b
|
graphics: Fix comments
|
2018-02-28 23:40:43 +09:00 |
|
Hajime Hoshi
|
c624359163
|
graphics: Remove glClear before glTexSubImage2D, that is no longer needed
|
2018-02-28 23:35:05 +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
|
8ef0f1ac6a
|
restorable: Avoid unneeded discarding images
|
2018-02-28 15:56:51 +09:00 |
|
Hajime Hoshi
|
dca60a2520
|
affine: Make initial affine.GeoM{} value identity (again)
|
2018-02-28 02:38:57 +09:00 |
|
Hajime Hoshi
|
1a2a108639
|
affine: Add comments
|
2018-02-28 02:21:07 +09:00 |
|
Hajime Hoshi
|
2f1908b05c
|
restorable: Use nil instead of empty affine.ColorM
|
2018-02-28 02:14:10 +09:00 |
|
Hajime Hoshi
|
ccd9241b07
|
affine: Refactoring ColorM
|
2018-02-28 02:14:09 +09:00 |
|