Hajime Hoshi
|
ceceed951f
|
graphics: Add comments
|
2017-09-22 02:49:37 +09:00 |
|
Hajime Hoshi
|
6145ecee74
|
graphics: Misspelling
|
2017-09-21 23:33:27 +09:00 |
|
Hajime Hoshi
|
b47e564762
|
graphics: Add comments
|
2017-09-20 01:35:56 +09:00 |
|
Hajime Hoshi
|
0831fd2a0d
|
graphics: Add comments
|
2017-09-19 01:37:24 +09:00 |
|
Hajime Hoshi
|
fc125eb531
|
graphics: Add comments
|
2017-09-16 15:49:29 +09:00 |
|
Hajime Hoshi
|
b51d93a707
|
restorable: Add comments
|
2017-09-12 03:14:13 +09:00 |
|
Hajime Hoshi
|
72c02fc398
|
graphics: Bug fix: viewport size must be within the framebuffer size
This fixes #71 and #420
|
2017-09-09 19:33:51 +09:00 |
|
Hajime Hoshi
|
d30f8a2bbf
|
graphics: Fix viewport sizes for Edge (#71)
|
2017-09-07 03:08:22 +09:00 |
|
Hajime Hoshi
|
2d5b062c3c
|
opengl: Refactoring: Replace NewBuffer with new funcs
Replace NewBuffer with NewArrayBuffer and NewElementArrayBuffer
|
2017-09-01 01:30:09 +09:00 |
|
Hajime Hoshi
|
12c24215b1
|
graphics: Bug fix: Flush after filling (#419)
|
2017-08-24 00:11:08 +09:00 |
|
Hajime Hoshi
|
9ab517cf82
|
restorable: Refactoring
|
2017-08-07 00:06:35 +09:00 |
|
Hajime Hoshi
|
c0ecb7a386
|
graphics: Move CopyImage to restorable
|
2017-08-06 21:21:38 +09:00 |
|
Hajime Hoshi
|
631264fce1
|
Add 'internal/math' package
|
2017-08-06 20:05:14 +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
|
3a3a4af035
|
graphics: Avoid type assertions for Fill
|
2017-07-02 21:32:07 +09:00 |
|
Hajime Hoshi
|
c694851765
|
ui: Center the screen on fullscreen mode (#374)
|
2017-07-01 04:12:09 +09:00 |
|
Hajime Hoshi
|
7d181e3182
|
opengl: Hide OpenGL context usages into internal/graphics package
|
2017-05-31 02:18:04 +09:00 |
|
Hajime Hoshi
|
e53262bfac
|
graphics: Replace copy with for-loop
|
2017-05-28 00:14:53 +09:00 |
|
Hajime Hoshi
|
a816c9c7fe
|
Reduce defer sentences for performance
|
2017-05-27 21:35:38 +09:00 |
|
Hajime Hoshi
|
1b1b996817
|
graphics: Avoid copying ColorM
|
2017-05-27 16:17:49 +09:00 |
|
Hajime Hoshi
|
1b72263ce1
|
sync: Add sync package
|
2017-05-27 02:37:01 +09:00 |
|
Hajime Hoshi
|
e1b5c992b4
|
graphics: Refactoring: remove unnecessary empty slices
|
2017-05-26 22:32:38 +09:00 |
|
Hajime Hoshi
|
5699822d64
|
graphics: Avoid creating struct as much as possible
|
2017-05-02 22:45:09 +09:00 |
|
Hajime Hoshi
|
6ca71c6931
|
graphics: Errors of NewImage* are always nil (#331)
|
2017-03-04 01:22:51 +09:00 |
|
Hajime Hoshi
|
147798e14d
|
Simplify internal API not to return errors
|
2017-03-03 23:59:44 +09:00 |
|
Hajime Hoshi
|
acc488b980
|
graphics: Bug fix: Wrong palette usage when the palette is big
|
2017-02-19 02:56:20 +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
|
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
|
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
|
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
|
c44ee9cde2
|
graphics: Refactoring
|
2016-12-29 01:15:57 +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
|
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 |
|