Baggers

Results 159 comments of Baggers

the reason this became a ticket as I started looking at using with-setf* and we dont expose enough for that to be viable. the garbage below is just for my...

[Progress](https://github.com/cbaggers/cepl/blob/feature/known-state-blocks/core/context/known-state-blocks.lisp#L5) :) ``` CONTEXT> (progn (print (clear-color)) (with-context-state-restored (:clear-color t) (gl:clear-color 0f0 5f0 10f0 15f0)) (print (clear-color))) #(1.0 2.0 3.0 4.0) #(1.0 2.0 3.0 4.0) #(1.0 2.0 3.0 4.0) ```

More ``` (in-package :cepl) ;; Supported ;; ;; glUseProgram(prog) ;; glEnable(GL_CULL_FACE) ;; glCullFace(GL_BACK) ;; glFrontFace(GL_CCW) ;; glDisable(GL_DEPTH_TEST) ;; glStencilMask(0xffffffff) ;; glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP) ;; glStencilFunc(GL_ALWAYS, 0, 0xffffffff) ;; glBindVertexArray(arr) ;;...

@borodust Merged v1 of this into master. We can try this out and see what breaks

Removed interactive as this should live on window lifecycle events

We need the layout support before this can progress

Layout support working. We are not going to support multiple layouts per struct type, so if you want one with same slots and different layout then that will need to...

What a palaver Ok so each option kind of sucks: with our wip refactor we have proper lisp types we can use but we pay for the conversions, which if...

Ok, more tests done The new major issue is with aref-c. If it returns a lisp struct then the following doesnt work: (setf (g-pnt-pos (aref-c foo 0)) bar) as you...

To take back to master - storing struct definitions is nice - through-c could be good for avoiding consing - need to type all of the map-c functions where possible...