208 Commits (152a1670c518acea64e006179b03ee0814e3dcb2)

Author SHA1 Message Date
mitchellhansen db8cbdc77e miserable failure to get text rendering to work using these 'easy text rendering' tricks. Will be bringing in a third party library which I have to write the damn backend implementation for
5 years ago
mitchellhansen 77b781df1a Revert "adding 3d sprites"
5 years ago
mitchellhansen 8c84c08f7e adding 3d sprites
5 years ago
mitchellhansen 1419f85455 fiddling around, trying to get the additive to work
5 years ago
mitchellhansen 5dde94cdf9 working on additive blending for determination of winding order. Saving here because this bug is very pretty
5 years ago
mitchellhansen b3e092e25a Piping just the vertex glyph representation first to test the stencil buffer
5 years ago
mitchellhansen bb8144bb01 compute is back in. Crashing the nvidia driver on buffer operations in the kernel....
5 years ago
mitchellhansen 9ddc88400e some fiddling with documentation. Added Poly type
5 years ago
mitchellhansen 438f96eb32 compiles and renders textures again
5 years ago
mitchellhansen d1051a0ca3 Switched vertex type to be chosen at the shader load
5 years ago
mitchellhansen fcfa40e335 bringing docs up to date
5 years ago
mitchellhansen 659cd98a1f moved over to the enum method of drawing. Not flexible, but type safe
5 years ago
mitchellhansen 80c0d323be Going to just normalize to a single hardcoded enum of vertex definitions. Seems like quite a backpeddle....
5 years ago
mitchellhansen cd0c1e6052 oh my god it compiles. A month of brainstorming comes out to a single enum
5 years ago
mitchellhansen 1597f0e380 Sorta want this type of API, but, CanvasFrame would be tied to a single type...
5 years ago
mitchellhansen 0c1f513225 going to save here. re-evaluating drawable now that runtimevertexdef is in
5 years ago
mitchellhansen 1fde36e42c fixed the glyph panic, this still is very wrong
5 years ago
mitchellhansen 8fcd26063a moved around the file heirarchy to make these handles safer
5 years ago
mitchellhansen bb5617420e weird old canvas version hanging around
5 years ago
mitchellhansen da836f318e hacked in enough to actually push the errors out to the load_font function
5 years ago
mitchellhansen 2bc9ebdc6b add doc
5 years ago
mitchellhansen dcc0df955e .
5 years ago
mitchellhansen a3ce819cd9 compiles
5 years ago
mitchellhansen 83a5e9b997 lots of refactoring for the dynamic vertex in addition to planning out documentation
5 years ago
mitchellhansen 8db858b29a documenting
5 years ago
mitchellhansen 629a513dfc .
5 years ago
mitchellhansen 11701542e2 working on dynamic v's
5 years ago
mitchellhansen 8a83a1f12a Getting back up to date
5 years ago
mitchellhansen 88b078d1ff updated flow chart
5 years ago
mitchellhansen f1e8990dba compiles. Need a good hard think to see what this interface is going to look like
5 years ago
mitchellhansen ffa04d0bb1 doing some hardcore storming on this dynamic vertex situation
5 years ago
mitchellhansen c4b20bcd79 Added template dynamic vertex.
5 years ago
mitchellhansen 554e8d551e Got the vertex definition into the load function. Which is something
5 years ago
mitchellhansen 595937d68f in the middle of expirimenting with was to implement this drawable api
5 years ago
mitchellhansen 1551a53d1e piping everything through. Almost done
5 years ago
mitchellhansen e5ba27c353 diagramming out what I want to do here. CanvasFont will live with the buffers. Need to figure out how and where I'm going to query the font data for rendering
5 years ago
mitchellhansen b1b081af87 working through the pipeline I have going on for the text stuff
5 years ago
mitchellhansen 86eb27f86d getting the canvasframe set up for text
5 years ago
mitchellhansen e4a9170515 compiles
5 years ago
mitchellhansen 2fa08bf99e refactoring out shaders
5 years ago
mitchellhansen 77d30591e6 still working on getiting these shaders to a usable API
5 years ago
mitchellhansen 1a247e482a breaking out the shader
5 years ago
mitchellhansen 5a888a4163 hitting this damn shader module again. Very unergonomic interface with the fact that the entry point doesn't just own the shadermodule
5 years ago
mitchellhansen 3db8eaf006 refactoring the shader container. To Trait or not to Trait? Probably Trait
5 years ago
mitchellhansen 34c23eebc0 moved to rust style file tree
5 years ago
mitchellhansen fa2c9397bf I need to impl a private module so I can have a private get_paths
5 years ago
mitchellhansen 5462566396 in a stroke of genius (total luck) I have gotten a stencil buffer which culls pixels
5 years ago
mitchellhansen 54fff9a4e9 stencil buffer is added, but not working for invert
5 years ago
mitchellhansen 038eedeb97 brought back to a compiling state
5 years ago
mitchellhansen 89fc974d3c some mishmash brainstorming on adding text rendering. Going to use inverted stencil buffer + glyph path method
5 years ago
mitchellhansen b13a834475 fiddling with text rendering
5 years ago
mitchellhansen df2543bc8d fixed depth buffering for images
5 years ago
mitchellhansen f6adbd80d1 depth buffer compiles and switched to 3d vertices
5 years ago
mitchellhansen 73456dc58d multi texturing works
5 years ago
mitchellhansen 5f2092ef21 fixed 0,1 coord issue. Going to test multiple vertex buffers now
5 years ago
mitchellhansen 9043c2cd3c removed the colored vertex and combined into one. Half fixed texturing. Fully fixed images and compute swapping
5 years ago
mitchellhansen e8507f9dfc Fixed a particularly nasty typo bug. Added more moving sprites. Will need to examine order of draw commands. Need to fix the size/8 for misaligned data.
5 years ago
mitchellhansen 709a617cd1 somehow lost texturing need to look back
5 years ago
mitchellhansen bf3abfe29d more documentation. Image base impl
5 years ago
mitchellhansen 26b73c48a8 working on docs
5 years ago
mitchellhansen 314fa3e4af Workgroup sizes of 8 along with reducing the amount of work groups improves performance 20x
5 years ago
mitchellhansen 711e678969 That's it. Fifo present mode halts until the next time the screen is refreshed. Mailbox will replace the lined up image if the refresh period has not been reached
5 years ago
mitchellhansen 9135d9ec84 minimal example of 15ms lag
5 years ago
mitchellhansen 3f14555c99 texturing works, next will be images
5 years ago
mitchellhansen a2de3557f0 removed old shader_kernel
5 years ago
mitchellhansen ebf2cb5322 running. Rust is absolutley amazing. I haven't run this in ~20 commits, yet it only took a few unwrap() fixes and it's back working
5 years ago
mitchellhansen 0357296771 more refactoring, compiles.
5 years ago
mitchellhansen 1737319fc5 lots of refactoring
5 years ago
mitchellhansen 878b37c3e0 cleaned loop. Compiles. Refactoring Canvas next
5 years ago
mitchellhansen 66d11e22c0 just doing a naive layered compute for meow
5 years ago
mitchellhansen 885e19fb64 starting to hook up the compute frame translation.
5 years ago
mitchellhansen a3607ebc7d Most of the compute side is mocked up and compiling.
5 years ago
mitchellhansen 9b8d5cd828 have the api of the compu somewhat figured out. Need to weigh my options on texture, buffer, and image handles and how I'm going to get them from the vkprocessor
5 years ago
mitchellhansen e0e9218d6e brainstorming
5 years ago
mitchellhansen c39994a7ae more brainstorming on how spriting and computing is going to work
5 years ago
mitchellhansen be20f3ae2a sprites are working, but the implementation is pretty bad
5 years ago
mitchellhansen e351e36c92 pulled out the draw call. forgot to allocate buffers
5 years ago
mitchellhansen 0be20eb959 removed the extra stuff from the kernels. Having some issues with the layouts not agreeing with the set size...
5 years ago
mitchellhansen dfd4cbb6a2 Moved the framebuffer gen to the canvas. Cleaned up a lot of unused imports
5 years ago
mitchellhansen 8cd5e3e562 Finally appeased the compiler. Need to do some real cleaning up on the relationship between canvas and vk processor
5 years ago
mitchellhansen f06adc9a55 ugga ugga. Lifetime problems with the Canvas
5 years ago
mitchellhansen a7e79668eb very close to the skeleton of the canvas written. Still haven't tested it but it's looking good. Need to figure out how I'm goign to iterate shader_kernels without borrowing from self
5 years ago
mitchellhansen 2207c41956 Brainstorming the design.
5 years ago
mitchellhansen c5b3c29ad4 in the midst of a very messy refactor of the way i build the command buffer
5 years ago
mitchellhansen 56455774bc cleaning up the shader hoohaw
5 years ago
mitchellhansen bb1f782168 pulled swapchain out of shaderkernels
5 years ago
mitchellhansen 28878dc345 fixed minor regression, cleaned up source tree
5 years ago
mitchellhansen 1f33d96ae5 Added sprite and better vertex format. works, but now I lost texturing
5 years ago
mitchellhansen cce893a0c8 saving working on key entry. going to do pallette now
5 years ago
mitchellhansen a91e071909 refactored the compute image
5 years ago
mitchellhansen a8679459ea I have kinda given up trying to wrangle this descriptorsetbuilder. Going to read more on how sprites are best handled in regards to their textures
5 years ago
mitchellhansen 9951afd5a5 .
5 years ago
mitchellhansen 982e2ad517 initial impl of get image set
5 years ago
mitchellhansen 77ccd415d0 easiest solution there was just to remove the unclonable objects from ShaderKernels
5 years ago
mitchellhansen db06459bd6 still working on getting ownership of everything squared away
5 years ago
mitchellhansen 321f30b4cc The entry point takes a borrow of the shader module which is then cloned by the pipeline. So I gotta keep the shader, entry, and modules in a high scope
5 years ago
mitchellhansen 2327a7f05f added compute kernel helper
5 years ago
mitchellhansen e476cb2e4e It was the gamma being wrong. Interesting how much different this is working than SFML+OpenCL
5 years ago
mitchellhansen 58f5289a3b wasn't the layout. It was the colors being bound between 0-1 instead of 255 like I was expecting
5 years ago
mitchellhansen 5928eb5dde getting close, something wrong with copying the buffer. Probably the format that I've selected
5 years ago