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 |
|
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
|
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 |
|
Hajime Hoshi
|
a70f61b1d5
|
graphics: Remove passing GeoM to the lower layers
|
2016-10-25 10:42:49 +09:00 |
|
Hajime Hoshi
|
96053702ed
|
graphics: Bug fix: Remove modelview_matrix
|
2016-10-25 03:17:14 +09:00 |
|
Hajime Hoshi
|
a2cc291573
|
graphics: Rename variables
|
2016-10-25 03:04:06 +09:00 |
|
Hajime Hoshi
|
ebf7f0df00
|
graphics: Add geometry matrix info to vertices
|
2016-10-25 01:56:59 +09:00 |
|
Hajime Hoshi
|
bc8a8fbae8
|
graphics: Refactoring: Replace QuadVertexNum with QuadVertexSizeInBytes func
|
2016-10-23 03:12:11 +09:00 |
|
Hajime Hoshi
|
2c844ec70c
|
graphics: Refactoring: Simplify NextPowerOf2Int
|
2016-10-23 01:59:04 +09:00 |
|
Hajime Hoshi
|
e72ccee61b
|
graphics: Expose graphics.QuadVertexNum
|
2016-10-23 01:52:55 +09:00 |
|
Hajime Hoshi
|
af4130c0d6
|
graphics: Bug fix: wrong argument in VertexAttribPointer
|
2016-10-22 20:47:33 +09:00 |
|
Hajime Hoshi
|
f21f6d357e
|
graphics: Bug fix: Command splitting threshold is more strict on browsers?
|
2016-10-22 20:25:58 +09:00 |
|
Hajime Hoshi
|
27acc5efd9
|
opengl: Use uint8 intead of byte
|
2016-10-22 18:45:32 +09:00 |
|