Commit Graph

19 Commits

Author SHA1 Message Date
Hajime Hoshi
9f2b53d24c graphics: Add InitializeIfNeeded function (preparing for Android) 2016-05-15 04:05:57 +09:00
Hajime Hoshi
a3272d0b49 graphics: Refactoring: Reduce global variables 2016-05-15 02:29:54 +09:00
Hajime Hoshi
07da7a2348 graphics: Refactoring 2016-04-08 04:39:13 +09:00
Hajime Hoshi
b2c5cb164a graphics: Calculate vertices ahead of locking 2016-04-08 03:18:52 +09:00
Hajime Hoshi
492f471ec3 graphics: Early return when num of vertices is 0 2016-04-08 02:49:53 +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
d99ddab6f8 graphics: Reduce calling TextureQuad.Len() 2016-02-17 00:45:19 +09:00
Hajime Hoshi
169d57936c graphics: Speed improvement by returning single value 2016-02-17 00:21:39 +09:00
Hajime Hoshi
ef4828669c graphics: Bug fix: must skip rendering when 0 vertices are set 2016-02-16 02:45:56 +09:00
Hajime Hoshi
1e9fb05161 graphics: Move makeing vertices from drawTexture to textureQuads to avoid copying 2016-02-16 02:26:40 +09:00
Hajime Hoshi
6d2148f3ea graphics: Remove unneeded 'if' 2016-02-16 01:55:39 +09:00
Hajime Hoshi
f5b4179142 graphics: Avoid calling Len() too many times 2016-02-16 01:51:34 +09:00
Hajime Hoshi
537cfea8a4 graphics: Avoid using append 2016-02-16 01:49:27 +09:00
Hajime Hoshi
c54b5c4b06 image: Introduce programContext (#144) 2016-02-07 05:13:54 +09:00
Hajime Hoshi
38552f8d9d image: Remove drawing lines and rects (#142) 2016-02-06 17:57:20 +09:00
Hajime Hoshi
633ee4096e #132 Temporal hack to run with Go1.5 2015-07-22 23:28:15 +09:00
Hajime Hoshi
beecf31937 Resolve some TODOs 2015-02-10 10:44:58 +09:00
Hajime Hoshi
e23b0758e5 Merge internal/graphics/internal/shaders into internal/graphics 2015-01-26 23:32:50 +09:00