gonutz
112654995f
Hide console window on Windows ( #318 )
...
* Hide console only if double-clicking Windows exe
When building on Windows the console window is hidden on start-up if
double-clicking the executable but not if running the program from the
command line (as a developer).
See the code comments for an explanation of the used heuristic.
2017-02-07 20:44:10 +09:00
Hajime Hoshi
bb993a481b
graphics: Bug fix: Outside texels are used ( #317 )
2017-02-06 09:10:44 +09:00
Hajime Hoshi
0967df7f5e
graphics: Fix TestImagePixels to check out-of-range pixels
2017-02-05 04:24:07 +09:00
Hajime Hoshi
91681bdc25
graphics: Bug fix: ReplacePixels must reset pixels out of range ( #316 )
2017-02-05 04:16:09 +09:00
Hajime Hoshi
d7f1165aa3
graphics: Avoid calling ReplacePixels unnecessarily
2017-02-05 02:19:30 +09:00
Hajime Hoshi
0ef1e61d55
mobile: Fix iOS tag usages ( #310 )
2017-01-26 01:32:33 +09:00
Hajime Hoshi
6e897d1479
graphcis: Bug fix: Can't dispose textures/framebuffers after the context is lost (fixing #305 )
2017-01-22 01:37:08 +09:00
Hajime Hoshi
d3e1f91511
graphis: Bug fix: blurred screen after restoring the context ( #306 )
2017-01-21 15:16:47 +09:00
Hajime Hoshi
53952100d3
restorable: Bug fix: graphics.Image can be recreated and must not be used for restoring
2017-01-21 04:24:39 +09:00
Hajime Hoshi
50b50effc0
graphics: Bug fix: Can't delete object after GL context is restored
2017-01-21 03:05:21 +09:00
Hajime Hoshi
bccf76867e
graphics: Try to restore the context on browsers (WIP)
2017-01-21 02:56:26 +09:00
Hajime Hoshi
de987be85f
opengl: Add IsContextLost
2017-01-20 02:20:41 +09:00
Hajime Hoshi
6e84919ed5
affine: Make Scale/Translate faster
2017-01-20 01:08:14 +09:00
Hajime Hoshi
48c8934838
affine: Refactoring
2017-01-20 00:46:25 +09:00
Hajime Hoshi
dfcd9fc30c
graphics: Make matrices faster
2017-01-20 00:37:51 +09:00
Hajime Hoshi
71a4465c6f
graphics: Improve matrices speed
2017-01-19 12:07:31 +09:00
Hajime Hoshi
9087269212
graphics: Make copying GeoM faster
2017-01-19 10:59:07 +09:00
Hajime Hoshi
3331f17723
graphics: Bug fix: start pixel must start at 0 ( #303 )
2017-01-19 10:40:59 +09:00
Hajime Hoshi
333b0956ff
graphics: Improve speed by merging vertices arrays into one
2017-01-19 01:27:04 +09:00
Hajime Hoshi
a744285b51
graphics: Make copying ColorM faster
2017-01-18 02:25:23 +09:00
Hajime Hoshi
c44ee9cde2
graphics: Refactoring
2016-12-29 01:15:57 +09:00
Hajime Hoshi
aeaa877949
restorable: Remove (*restorable).width/height
2016-12-27 10:58:46 +09:00
Hajime Hoshi
5c403d9969
graphics: Avoid copying images twice
2016-12-27 10:43:05 +09:00
Hajime Hoshi
260b938422
graphics: CopyImage optimization
2016-12-27 03:21:07 +09:00
Hajime Hoshi
5c9b9ef6cb
graphics: Add BenchmarkCopyImageNRGBA
2016-12-27 01:57:36 +09:00
Hajime Hoshi
006f87d02b
graphics: Stop CopyImage blocking on browsers
2016-12-27 01:57:15 +09:00
Hajime Hoshi
3db15bc5bf
graphics: Avoid copying color.RGBA struct
2016-12-27 01:08:22 +09:00
Hajime Hoshi
6b4801ac7a
graphics: Make copying images faster
2016-12-27 00:50:14 +09:00
Hajime Hoshi
15f7a605c5
graphics: Create framebuffers lazily
2016-12-14 23:40:43 +09:00
Hajime Hoshi
b86f1771e4
ui: Add goroutine so that blocking is available everywhere
2016-11-29 01:40:06 +09:00
Hajime Hoshi
7bd2fb6ce2
graphics: Bug fix: ColorM.Scale worked wrongly
2016-11-27 23:27:20 +09:00
Hajime Hoshi
a1e868b822
ui: Don't use 'image-rendering' CSS on Safari ( #293 )
2016-11-26 23:45:06 +09:00
Hajime Hoshi
411721a4da
ui: Add TODO
2016-11-26 02:35:55 +09:00
Hajime Hoshi
74c552ea6c
opengl: Should access the prototype of WebGLRenderingContext on Safari ( #293 )
2016-11-26 01:17:22 +09:00
Hajime Hoshi
3e2f2e9f08
opengl: Update error messages
2016-11-26 00:57:02 +09:00
Hajime Hoshi
e47c3bbbfb
graphics: Limit image size strictly
2016-11-05 03:06:18 +09:00
Hajime Hoshi
07294a98b6
Move internal/graphics/opengl -> internal/opengl
2016-11-03 23:31:25 +09:00
Hajime Hoshi
b2780fb585
graphics: Merge commands when appending
2016-11-03 17:40:52 +09:00
Hajime Hoshi
50b2d8ee94
graphics: Use float values for vertices
2016-11-02 02:34:01 +09:00
Hajime Hoshi
b2be6681d4
graphics: Bug fix: invalid calc of num of quads
2016-11-02 02:08:12 +09:00
Hajime Hoshi
b188a0dd99
affine: Stop using multiple-dimension array for consistency
2016-11-01 23:32:27 +09:00
Hajime Hoshi
edf336499c
affine: Revert ColorM implementation to use float64 array
2016-11-01 23:32:24 +09:00
Hajime Hoshi
4915531450
affine: Add ColorM.Equals
2016-11-01 00:28:07 +09:00
Hajime Hoshi
d02c67a996
graphics: Use affine.ColorM instead of graphics.Matrix
2016-11-01 00:20:27 +09:00
Hajime Hoshi
84baee8ca7
Add internals/affine
2016-11-01 00:13:19 +09:00
Hajime Hoshi
49fb2635ec
graphics: Remove glMatrix
2016-10-29 05:02:22 +09:00
Hajime Hoshi
6de9e6696e
graphics: Cache total bytes
2016-10-29 01:07:19 +09:00
Hajime Hoshi
fbf6b6c525
graphics: Calc capacity of vertices
2016-10-27 01:42:18 +09:00
Hajime Hoshi
5a1eb24138
graphics: Improve speed by using []int16 instead of []uint8
2016-10-26 00:20:41 +09:00
Hajime Hoshi
a65ededc3c
graphics: Merge draw commands if possible
2016-10-25 11:53:00 +09:00