Hajime Hoshi
|
2a58c095b8
|
graphics: Add disposeCommand
|
2016-06-11 22:52:07 +09:00 |
|
Hajime Hoshi
|
b59206b777
|
graphics: Move command flushing to ebiten package
|
2016-06-11 21:50:13 +09:00 |
|
Hajime Hoshi
|
dfd4bc89ed
|
graphics: Revert FlushCommand execution
|
2016-06-11 20:21:14 +09:00 |
|
Hajime Hoshi
|
912d498cdf
|
graphics: Remove unused arguments
|
2016-06-11 05:48:09 +09:00 |
|
Hajime Hoshi
|
f897c3958e
|
graphics: Fix restoring logic
|
2016-06-11 01:25:03 +09:00 |
|
Hajime Hoshi
|
127cd4cab6
|
graphics: Remove 'evacuated' state
|
2016-06-11 01:13:38 +09:00 |
|
Hajime Hoshi
|
f71dcd3466
|
Remove 'Pause'
|
2016-06-11 00:57:10 +09:00 |
|
Hajime Hoshi
|
66e78922f8
|
graphics: Fix a comment
|
2016-06-07 23:50:01 +09:00 |
|
Hajime Hoshi
|
8d17d1876c
|
graphics: Revert transitionImageParts since this didn't affect the speed
|
2016-06-06 00:23:18 +09:00 |
|
Hajime Hoshi
|
33b50ed294
|
graphics: Reduce calls of glUniformMatrix4fv
|
2016-06-05 23:32:25 +09:00 |
|
Hajime Hoshi
|
1ccdfd9a35
|
graphics: Reduce a space line
|
2016-06-05 03:17:24 +09:00 |
|
Hajime Hoshi
|
4812f2e76e
|
graphics: Reduce calls of glUniformMatrix4fv
|
2016-06-05 00:35:58 +09:00 |
|
Hajime Hoshi
|
f6fd8f9c6d
|
graphics: Reduce calling glUseProgram
|
2016-05-29 22:40:51 +09:00 |
|
Hajime Hoshi
|
6d06b01cae
|
gomobile bind works
|
2016-05-22 04:25:15 +09:00 |
|
Hajime Hoshi
|
dbd6ed8139
|
graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer
|
2016-05-18 22:45:15 +09:00 |
|
Hajime Hoshi
|
a35064db7d
|
ui: Add ui.GLContext()
|
2016-05-18 11:10:03 +09:00 |
|
Hajime Hoshi
|
063ed564fd
|
Move the run loop to internal/loop
|
2016-05-18 10:59:37 +09:00 |
|
Hajime Hoshi
|
4d04413bf9
|
ui: Move the run loop to internal/ui
|
2016-05-18 10:46:23 +09:00 |
|
Hajime Hoshi
|
49a0fc839e
|
graphics: Fix a wrong comment
|
2016-05-17 01:38:31 +09:00 |
|
Hajime Hoshi
|
75b7a9134d
|
graphcis: Bug fix: Evacuating/Restoring pixels must be ignored on a disposed image
|
2016-05-17 01:30:40 +09:00 |
|
Hajime Hoshi
|
18c14f8897
|
graphics: Refactoring
|
2016-05-17 01:09:33 +09:00 |
|
Hajime Hoshi
|
7ab2efaa3f
|
graphics: Add imageImpl and change Image to be a wrapper (emulating weak refs)
|
2016-05-17 01:03:28 +09:00 |
|
Hajime Hoshi
|
23863d5a2f
|
graphics: Add Image.evacuatePixels and restorePixels and introduce images
|
2016-05-17 00:22:32 +09:00 |
|
Hajime Hoshi
|
fbd07b1865
|
graphics: Simplify the size of pixels
|
2016-05-16 12:27:28 +09:00 |
|
Hajime Hoshi
|
da0196911d
|
graphics: Refactoring: Now all Image objects are generated from New* funcs
|
2016-05-15 21:08:39 +09:00 |
|
Hajime Hoshi
|
9d25a5f785
|
graphics: Remove wrong comments
|
2016-05-14 05:34:55 +09:00 |
|
Hajime Hoshi
|
e0d1e35e81
|
graphics: Add comment
|
2016-05-13 23:40:23 +09:00 |
|
Hajime Hoshi
|
f1f3bcc257
|
graphics: Bug fix: Concurrent-safe check in (*Image).At
|
2016-05-12 11:36:09 +09:00 |
|
Hajime Hoshi
|
9d569e3e49
|
graphics: Bug fix: now ebiten.Image can be passed to NewImageFromImage (#213)
|
2016-05-12 11:23:52 +09:00 |
|
Hajime Hoshi
|
15d48703fc
|
graphics: Bug fix: NewImageFromImage with ebiten.Image froze (#212)
|
2016-05-12 02:00:22 +09:00 |
|
Hajime Hoshi
|
acca1c2480
|
graphics: Better function and variable names
|
2016-05-08 04:55:27 +09:00 |
|
Hajime Hoshi
|
7f09402bd9
|
graphics: Kinder panic messages
|
2016-05-08 04:43:43 +09:00 |
|
Hajime Hoshi
|
bbc2ad915a
|
graphics: Remove image commands and use functions instead
|
2016-05-08 04:39:37 +09:00 |
|
Hajime Hoshi
|
b8a062e813
|
graphics: Add image.disposed
|
2016-05-08 03:44:15 +09:00 |
|
Hajime Hoshi
|
61ed13e322
|
graphics: Lazy image processing (especailly for mobile platforms)
|
2016-05-08 03:23:11 +09:00 |
|
Hajime Hoshi
|
99baaf18b0
|
ebiten: Refactoring
|
2016-05-08 00:52:30 +09:00 |
|
Hajime Hoshi
|
2fee1fae22
|
graphics: Dispose now returns errors
|
2016-05-07 23:34:10 +09:00 |
|
Hajime Hoshi
|
5c73357ef8
|
graphics: Fix wrong comment
|
2016-04-08 21:47:44 +09:00 |
|
Hajime Hoshi
|
9e58128ea8
|
graphics: Add 'concurrent-safe' comments
|
2016-04-08 04:09:43 +09:00 |
|
Hajime Hoshi
|
92e56d53f1
|
graphics: Reduce the size of vertices array
|
2016-04-08 04:08:45 +09:00 |
|
Hajime Hoshi
|
b2c5cb164a
|
graphics: Calculate vertices ahead of locking
|
2016-04-08 03:18:52 +09:00 |
|
Hajime Hoshi
|
c3d8cf2366
|
graphics: Make Image functions concurrent safe (#201)
|
2016-04-07 03:49:11 +09:00 |
|
Hajime Hoshi
|
bcf406f058
|
image: NewImage/NewImageFromImage are now cocurrent-safe (#201)
|
2016-04-06 11:11:31 +09:00 |
|
Hajime Hoshi
|
f58a253631
|
graphics: Fix comments
|
2016-03-26 04:27:07 +09:00 |
|
Hajime Hoshi
|
b02df7b542
|
graphics: Bug fix #186 by clearing non-black-or-white color
|
2016-03-17 03:31:12 +09:00 |
|
Hajime Hoshi
|
c6fc5ab865
|
graphics: CompositionMode -> CompositeMode (#170)
|
2016-03-01 02:16:32 +09:00 |
|
Hajime Hoshi
|
8ae1e292ab
|
graphics: Introduce CompositionMode (#151)
|
2016-02-29 01:37:06 +09:00 |
|
Hajime Hoshi
|
495d7ca0d1
|
graphics: NextPowerOf2Int -> NextPowerOf2Int32
|
2016-02-27 02:35:05 +09:00 |
|
Hajime Hoshi
|
0429c9c3e6
|
graphics: image's texture may be nil and this must be considered when disposing
|
2016-02-21 01:41:48 +09:00 |
|
Hajime Hoshi
|
63f2c3cb9f
|
graphics: Refactoring: remove ExecOnUIThread
|
2016-02-20 04:39:43 +09:00 |
|
Hajime Hoshi
|
eb9379c3a6
|
image: Bug fix: isDisposed misimplementation
|
2016-02-07 03:20:52 +09:00 |
|
Hajime Hoshi
|
27f1a865aa
|
image: Use SetFinalizer for images (#67)
|
2016-02-07 02:24:35 +09:00 |
|
Hajime Hoshi
|
e8c2e5f3d6
|
image: Add image.Dipose and image.IsDisposed
|
2016-02-07 01:27:55 +09:00 |
|
Hajime Hoshi
|
1e738f6a10
|
image: Remove image.DrawLines (#142)
|
2016-02-06 17:52:05 +09:00 |
|
Hajime Hoshi
|
07d64da098
|
image: Remove image.DrawLine (#142)
|
2016-02-06 17:49:26 +09:00 |
|
Hajime Hoshi
|
5c8df39496
|
image: Remove image.DrawFilledRects (#142)
|
2016-02-06 17:47:02 +09:00 |
|
Hajime Hoshi
|
b5ed0e3d6d
|
image: Remove image.DrawRect (#142)
|
2016-02-06 17:46:05 +09:00 |
|
Hajime Hoshi
|
85279e8422
|
image: Remove image.DrawFilledRect (#142)
|
2016-02-06 17:45:08 +09:00 |
|
Hajime Hoshi
|
580effba8e
|
image: Remove image.DrawRects (#142)
|
2016-02-06 17:20:10 +09:00 |
|
Hajime Hoshi
|
bb8a94ad09
|
Rename files
|
2016-02-05 23:20:41 +09:00 |
|
Hajime Hoshi
|
633ee4096e
|
#132 Temporal hack to run with Go1.5
|
2015-07-22 23:28:15 +09:00 |
|
Hajime Hoshi
|
95316a1de5
|
image: Cache size
|
2015-02-18 04:01:11 +09:00 |
|
Hajime Hoshi
|
beecf31937
|
Resolve some TODOs
|
2015-02-10 10:44:58 +09:00 |
|
Hajime Hoshi
|
249add3979
|
Add SetScreenSize
|
2015-02-09 11:02:04 +09:00 |
|
Hajime Hoshi
|
23b3f1afce
|
Move some files of internal/ui to the root
|
2015-01-27 01:10:17 +09:00 |
|
Hajime Hoshi
|
ae450433db
|
Move some files of internal to internal/graphics
|
2015-01-27 00:08:24 +09:00 |
|
Hajime Hoshi
|
346bc53d53
|
Move internal/opengl -> internal/graphics/internal/opengl
|
2015-01-26 23:27:28 +09:00 |
|
Hajime Hoshi
|
b57c675996
|
Remove internal.RGBA
|
2015-01-24 14:53:40 +09:00 |
|
Hajime Hoshi
|
2ab7c2eb9b
|
image: Add test
|
2015-01-22 11:27:50 +09:00 |
|
Hajime Hoshi
|
afe4c76b50
|
image: Bug fix: pixels must be reset after any drawing (TODO: add test)
|
2015-01-22 04:27:27 +09:00 |
|
Hajime Hoshi
|
f88f48f0ae
|
Comment fix
|
2015-01-21 00:42:27 +09:00 |
|
Hajime Hoshi
|
d994f34d53
|
Add image.ReplacePixels; Add example/noise (#89)
|
2015-01-20 23:58:58 +09:00 |
|
Hajime Hoshi
|
0bd0a4dbc2
|
Rename image.FillRect -> DrawFilledRect (FillRect is confusing with Fill)
|
2015-01-18 04:19:38 +09:00 |
|
Hajime Hoshi
|
26358f3e63
|
Revert lines' vetices (float64 -> int)
|
2015-01-17 23:33:57 +09:00 |
|
Hajime Hoshi
|
f0d40b4e1f
|
Revert rectangles' vetices (float64 -> int)
|
2015-01-17 23:31:09 +09:00 |
|
Hajime Hoshi
|
1659e9abab
|
Bug fix: Line's vertices should be moved by 0.5
|
2015-01-17 23:04:19 +09:00 |
|
Hajime Hoshi
|
683ffafe8d
|
Bug fix: image.Pixels didn't work on WebGL
|
2015-01-17 19:06:58 +09:00 |
|
Hajime Hoshi
|
7835f5cb2e
|
Add image.DrawRect / DrawRects (leaving some bugs)
|
2015-01-17 15:46:56 +09:00 |
|
Hajime Hoshi
|
5ff2b8697f
|
Bug fix: comment
|
2015-01-17 15:01:04 +09:00 |
|
Hajime Hoshi
|
8c15b57d58
|
Add image.DrawLine / DrawLines
|
2015-01-17 14:17:42 +09:00 |
|
Hajime Hoshi
|
22e6996f74
|
Remove rectVertexQuads
|
2015-01-17 03:51:21 +09:00 |
|
Hajime Hoshi
|
887e2fc675
|
Add image.DrawRect; Change Rects.Points -> Rects.Rect
|
2015-01-17 03:46:00 +09:00 |
|
Hajime Hoshi
|
8564ba8541
|
Use (un)signed short vertices (#90)
|
2015-01-16 10:37:26 +09:00 |
|
Hajime Hoshi
|
155be5a88d
|
Add Rect.Color
|
2015-01-16 01:57:10 +09:00 |
|
Hajime Hoshi
|
25cf2dab22
|
sprites: Speed up: use float64 as often as possible
|
2015-01-14 23:58:34 +09:00 |
|
Hajime Hoshi
|
0328b049d0
|
Add image.DrawRects (experimental)
|
2015-01-13 10:36:19 +09:00 |
|
Hajime Hoshi
|
01dbc515b5
|
Remove innerImage
|
2015-01-12 19:54:25 +09:00 |
|
Hajime Hoshi
|
21455a146d
|
Refactoring: Add imageparts.go
|
2015-01-12 18:41:06 +09:00 |
|
Hajime Hoshi
|
0332b8d5ed
|
Bug fix: image comment
|
2015-01-11 04:20:28 +09:00 |
|
Hajime Hoshi
|
4eaba93c73
|
Bug fix: image can't draw itself (#45)
|
2015-01-06 23:50:02 +09:00 |
|
Hajime Hoshi
|
b69c526613
|
Update comment
|
2015-01-05 23:55:40 +09:00 |
|
Hajime Hoshi
|
2be0aa7f0c
|
Fix comment
|
2015-01-05 10:08:54 +09:00 |
|
Hajime Hoshi
|
f697501531
|
Use ImageParts
|
2015-01-05 10:08:00 +09:00 |
|
Hajime Hoshi
|
cdc29210db
|
Introduce ImageParts
|
2015-01-05 09:32:27 +09:00 |
|
Hajime Hoshi
|
2f02a0a223
|
Avoid copying
|
2015-01-03 17:07:01 +09:00 |
|
Hajime Hoshi
|
13a94d3446
|
Avoid type switch
|
2015-01-03 15:52:02 +09:00 |
|
Hajime Hoshi
|
1117862d19
|
Avoid copying for performance
|
2015-01-03 14:23:31 +09:00 |
|
Hajime Hoshi
|
449bc7931d
|
Change receiver ColorM.Element and GeoM.Element to pointers (performance issue)
|
2015-01-03 01:54:12 +09:00 |
|
Hajime Hoshi
|
3d01084a2a
|
Hide structs in internal/ui
|
2015-01-02 03:25:31 +09:00 |
|
Hajime Hoshi
|
96f5315c49
|
Add internal/ui module
|
2015-01-02 02:13:27 +09:00 |
|