--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
Try the g1 api in Kha -> https://github.com/KTXSoftware/Kha/blob/master/Sources/kha/graphics1/Graphics.hxAnd then send me some test code so I can tune the performance :)
You could try look at https://github.com/azrafe7/hxPixels there is a luxe example, this should allow easy manipulation of pixels but maybe not optimum I don't know?
Ive done generative art at 15000x15000 px a few years ago in actionscript. Withou gpu rendering.
Today the cool kids want 2x 4k for decent VR experience :) so thats big, but becoming pretty much a norm.
I also love to know for personal experiments a lib/target with fast and convenient graphics api, other than Flash.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
Opengl has a client server memory model so textures are copied by paradigm,same goes for buffers and uniforms.
Remember, you can totally erase them after upload. And phone memories are awfully slow...
Uploading large 2k if bgra is 0 copy time because dma carries it. But if you access them from cpu during this dmacopy, you would get a fatass system stall.
At least that was the case a couple years ago...
For your grid problem, the good old solution when sub texture blitz is not available is to split your world in something like 128x128 tiles mapping texture 1 to 1 and only upload affected chunks. If you have very dynamic system, you ll have to resort to buffer mapping or sub tex upload. Gl.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.