faiface
|
69a3c17cfc
|
big big commit - rework whole pixelgl
|
2017-03-06 00:28:52 +01:00 |
faiface
|
f7a52854c6
|
adapt GLTriangles (+ make them exported)
|
2017-02-24 19:30:06 +01:00 |
faiface
|
67529bf8fc
|
stop using mainthread.CallVal
|
2017-02-24 15:45:32 +01:00 |
faiface
|
c1843b8608
|
add Drawer struct
|
2017-02-23 13:07:40 +01:00 |
faiface
|
6dc55b8746
|
change fundamental interfaces (add Picture)
|
2017-02-22 20:57:22 +01:00 |
faiface
|
dbd90a0bcb
|
move OpenGL specific stuff to pixelgl (except for Picture)
|
2017-02-22 20:44:38 +01:00 |
faiface
|
3300f02d21
|
adopt github.com/faiface/glhf
|
2017-02-11 14:09:47 +01:00 |
faiface
|
0771f07888
|
update pixelgl.VertexSlice API similarly to Triangles
|
2017-01-28 20:14:20 +01:00 |
faiface
|
4a31512454
|
update doc in pixelgl
|
2017-01-25 18:26:57 +01:00 |
faiface
|
8917a09da9
|
improve docs in pixelgl
|
2017-01-25 18:25:37 +01:00 |
faiface
|
e0e59f1d96
|
remove debug print
|
2017-01-22 14:42:54 +01:00 |
faiface
|
e656130ce3
|
change pixelgl.Texture.Pixels to work with OpenGL 3.3
|
2017-01-22 14:16:06 +01:00 |
faiface
|
4d2ccc92df
|
add pixelgl.Texture.SetPixels/Pixels
|
2017-01-22 13:45:24 +01:00 |
faiface
|
79ef8d51eb
|
remove pixelgl.Viewport, because Frame sets viewport
|
2017-01-22 02:38:04 +01:00 |
faiface
|
2f070dc302
|
clarify doc
|
2017-01-22 01:57:36 +01:00 |
faiface
|
192c455b16
|
document pixelgl.Frame
|
2017-01-22 01:49:09 +01:00 |
faiface
|
1f4f11078b
|
pixelgl: actually get info log length in shader creation
|
2017-01-20 19:53:41 +01:00 |
faiface
|
7a7b2f2588
|
adopt github.com/faiface/mainthread package + frame prototype
|
2017-01-20 17:45:19 +01:00 |
faiface
|
de21a40184
|
disable mipmaping in Texture
|
2017-01-17 01:24:15 +01:00 |
faiface
|
2a5fddabd8
|
add orphan pixelgl functions
|
2017-01-16 01:12:03 +01:00 |
faiface
|
7a4fce3b75
|
remove error return value from NewTexture
|
2017-01-16 00:53:02 +01:00 |
faiface
|
3b39cc60e9
|
rework VertexSlice for better performance
|
2017-01-14 00:47:49 +01:00 |
faiface
|
1f3c875d87
|
remove ID's from OpenGL objects + replace VertexArray with dynamically sized VertexSlice + add new Sprite
|
2017-01-10 23:54:35 +01:00 |
faiface
|
fb3df06337
|
add common response channel for main thread
|
2017-01-06 15:00:05 +01:00 |
faiface
|
69032cdcf3
|
remove support for indices in vertex array
|
2016-12-31 02:48:43 +01:00 |
faiface
|
db0d646ca8
|
update doc
|
2016-12-31 02:43:02 +01:00 |
faiface
|
2b6205fe45
|
remove Doer and replace with BeginEnder
|
2016-12-31 01:33:53 +01:00 |
faiface
|
727c9bd772
|
same for pixelgl
|
2016-12-30 17:53:47 +01:00 |
faiface
|
33eb8496d8
|
rename all XyNum -> NumXys (number of Xy)
|
2016-12-21 22:29:23 +01:00 |
faiface
|
4950d7d02c
|
add texture smoothiness
|
2016-12-21 20:51:05 +01:00 |
faiface
|
981fb91ce5
|
add VertexArray.Vertex and VertexArray.Vertices methods
|
2016-12-20 13:56:25 +01:00 |
faiface
|
800add157d
|
add fast VertexArray.SetVertex and VertexArray.Set methods
|
2016-12-20 01:23:33 +01:00 |
faiface
|
6986e8a000
|
heavily optimize AttrType.Size by removing redundant map
|
2016-12-19 23:50:14 +01:00 |
faiface
|
e616db81fc
|
change Picture receiver to pointer
|
2016-12-19 01:11:34 +01:00 |
faiface
|
303c66d2b9
|
remove destructors, instead SetFinalizer
|
2016-12-18 20:16:27 +01:00 |
faiface
|
2524fcc436
|
remove vertex usage option
|
2016-12-16 00:48:20 +01:00 |
faiface
|
560e79511e
|
add VertexArray.Indices
|
2016-12-16 00:41:03 +01:00 |
faiface
|
2aaab88e07
|
adoprt universal AttrFormat
|
2016-12-16 00:28:52 +01:00 |
faiface
|
4ae2d2c7ad
|
optimize binder
|
2016-12-15 14:31:10 +01:00 |
faiface
|
9e29fde8cc
|
minor change
|
2016-12-15 01:03:18 +01:00 |
faiface
|
6f57d4035a
|
another defer optimization
|
2016-12-15 00:25:31 +01:00 |
faiface
|
86e64b6fa3
|
optimize deffers
|
2016-12-14 19:07:25 +01:00 |
faiface
|
1b01cba814
|
replace reentrancy by enabled by more general binder
|
2016-12-14 16:24:31 +01:00 |
faiface
|
cbfc770d4f
|
change VertexArray.SetVertexAttribute* to a single generic SetVertexAttr + add VertexAttr to get value
|
2016-12-13 16:46:19 +01:00 |
faiface
|
db2d6be751
|
change internal default shader to use -1,-1 texCoords as no texture
|
2016-12-09 20:13:32 +01:00 |
faiface
|
2f402dd9a8
|
rename VertexArray.Count -> VertexNum
|
2016-12-08 21:02:21 +01:00 |
faiface
|
c87527aa5d
|
add indices to vertex array
|
2016-12-08 15:25:00 +01:00 |
faiface
|
5cff367362
|
add Width and Height methods to Texture
|
2016-12-06 16:23:55 +01:00 |
faiface
|
4323e83d49
|
remove OpenGL error reporting
|
2016-12-06 16:05:08 +01:00 |
faiface
|
30d301f4a0
|
improve code readability
|
2016-12-05 12:22:20 +01:00 |
faiface
|
0b2b73ce4a
|
change NoOpDoer type just to Doer
|
2016-12-04 23:58:19 +01:00 |
faiface
|
6564597c43
|
fix compile error
|
2016-12-04 23:45:26 +01:00 |
faiface
|
e2b361a8cd
|
make Do reentrant
|
2016-12-04 20:28:50 +01:00 |
faiface
|
ffc9a1a0ff
|
add color blending
|
2016-12-03 19:23:18 +01:00 |
faiface
|
fc96ec3a06
|
add MaskColor uniform
|
2016-12-03 15:48:40 +01:00 |
faiface
|
a3e7656922
|
remove orphan functions from pixelgl (use OpenGL directly instead)
|
2016-12-03 15:38:33 +01:00 |
faiface
|
26c44125cf
|
fix window viewport
|
2016-12-03 02:02:52 +01:00 |
faiface
|
ea63453f9f
|
fix and improve code in NewShader
|
2016-12-03 00:52:23 +01:00 |
faiface
|
1fcf42263a
|
reorder VertexArray struct
|
2016-12-03 00:45:34 +01:00 |
faiface
|
63efe9e167
|
reorder Shader struct
|
2016-12-02 22:58:20 +01:00 |
faiface
|
fc7fda188f
|
change Context to a field (instead of embed) in ContextHolder
|
2016-12-02 22:57:17 +01:00 |
faiface
|
888e69899e
|
simplify AttrType.Size
|
2016-12-02 22:55:58 +01:00 |
faiface
|
3fe283ff71
|
remove obsolete doc
|
2016-12-02 22:55:12 +01:00 |
faiface
|
9112aeb802
|
remove camera attr purpose
|
2016-12-02 22:54:09 +01:00 |
faiface
|
defb4b3778
|
fix
|
2016-12-02 19:29:39 +01:00 |
faiface
|
9546652cc3
|
remove int support from vertex format
|
2016-12-02 18:55:52 +01:00 |
faiface
|
5f6748f7b8
|
don't support Int as vertex attribute
|
2016-12-02 18:21:28 +01:00 |
faiface
|
f2460b34da
|
add ContextHolder
|
2016-12-02 18:15:47 +01:00 |
faiface
|
e009011c37
|
change vertex format to include names + add vertex format to shader + ID methods
|
2016-12-02 18:03:51 +01:00 |
faiface
|
519c9c1c19
|
add default shader
|
2016-12-02 01:20:54 +01:00 |
faiface
|
c192b684d3
|
fix doc
|
2016-12-01 17:49:40 +01:00 |
faiface
|
73db1b4d5b
|
change all float64 to float32 in pixelgl
|
2016-12-01 17:48:52 +01:00 |
faiface
|
6962ba1bda
|
fix Shader.SetUniform* methods
|
2016-12-01 16:44:54 +01:00 |
faiface
|
51f94b29b0
|
add NumStandardAttrPurposes
|
2016-12-01 16:12:51 +01:00 |
faiface
|
c35dac11af
|
add methods to set uniform values
|
2016-12-01 16:10:05 +01:00 |
faiface
|
029f983440
|
remove Bool type
|
2016-12-01 16:09:56 +01:00 |
faiface
|
b6851f8ff4
|
replace generatl VertexArray.SetVertexAttribute with specific type methods
|
2016-12-01 15:53:34 +01:00 |
faiface
|
3b70c803c2
|
change unsafe.Pointer to interface{} in vertex
|
2016-11-30 17:58:23 +01:00 |
faiface
|
d53eefbf59
|
shader uniforms
|
2016-11-30 17:41:48 +01:00 |
faiface
|
96f134d4c4
|
use new attr
|
2016-11-29 23:11:53 +01:00 |
faiface
|
9d4111282e
|
add context
|
2016-11-28 23:26:56 +01:00 |
faiface
|
6253156e24
|
better error checking
|
2016-11-26 22:51:20 +01:00 |
faiface
|
c6e2d67aba
|
replace UpdateData with more convenient SetVertexAttribute
|
2016-11-26 22:42:26 +01:00 |
faiface
|
4421c7dbef
|
prettier doc
|
2016-11-26 00:42:47 +01:00 |
faiface
|
6889c7f23f
|
fix doc
|
2016-11-26 00:31:20 +01:00 |
faiface
|
c8dba6aaf1
|
nicer code
|
2016-11-25 22:56:17 +01:00 |
faiface
|
52a3a96d20
|
replace BeginEnder with Doer and migrate everything
|
2016-11-25 22:49:56 +01:00 |
faiface
|
f7c4a6e1ad
|
more idiomatic error reporting
|
2016-11-25 18:11:38 +01:00 |
faiface
|
0986e0c35e
|
improve error reporting; add GLError type
|
2016-11-25 17:22:25 +01:00 |
faiface
|
5043d06295
|
change pixelgl, so that it runs on the main thread
|
2016-11-25 17:12:13 +01:00 |
faiface
|
2bc43c7ec4
|
add VertexArray.Data function
|
2016-11-24 22:20:31 +01:00 |
faiface
|
58e2d01435
|
clarify doc
|
2016-11-24 14:46:12 +01:00 |
faiface
|
ecce5fdcc9
|
some blank lines
|
2016-11-24 14:37:11 +01:00 |
faiface
|
08af9e4010
|
add orphan function Clear
|
2016-11-24 14:24:17 +01:00 |
faiface
|
c6c3e020a4
|
implement non-blocking call queue calls
|
2016-11-24 14:10:33 +01:00 |
faiface
|
3b929ad5c3
|
clarity doc
|
2016-11-23 23:33:40 +01:00 |
faiface
|
62bc194ee4
|
another small fix
|
2016-11-23 23:31:45 +01:00 |
faiface
|
4480f61a0a
|
fixes
|
2016-11-23 23:25:45 +01:00 |
faiface
|
eb316e5126
|
add window creation
|
2016-11-23 23:12:23 +01:00 |
faiface
|
325832977b
|
add Init function
|
2016-11-23 22:27:30 +01:00 |