sokol_gp icon indicating copy to clipboard operation
sokol_gp copied to clipboard

Minimal modern efficient cross platform 2D graphics painter in C

Results 17 sokol_gp issues
Sort by recently updated
recently updated
newest added

Hello, I was wondering if there is a way to flip the textures drawn by sgp_draw_textured_rect_ex? I tried sending negative w,h and but does not work. Also, I don't think...

Would it be possible to add the option to specify the pixel format for the pass? I work with EDR/HDR and need non-default pixel formats. I would need to somehow...

Two questions: 1. Is there a way to specify line thickness? 2. If yes, are those lines antialiased?

I've been try to get `sokol_gp` to work with multiple [`sokol_gfx` contexts](https://github.com/floooh/sokol/blob/master/sokol_gfx.h#L542-L583) I've tried to patch the code a bit here and there (just simple things, like removing the init_cookie...

enhancement

A great library thank you very much! The look back 8 commands idea is great! most importantly when combined with the region intersection detection to solve many z-fighting problems. To...

Hi, I'd like to extend sokol_gp to support to allow for premultiplied alpha. It seems that the easiest way to do it would be to add a new `sgp_blend_mode` type....

Sokol has a new style for logging stuff, would be nice if Sokol GP follows it.

enhancement

What is the batching algorithm you are using? Any links or references are appreciated.

question

Hi! I'm using your project and had a small issue with automatic batching. When drawing LineStrips it's automatically batching the strips which results in wrong draw lines between the original...

bug

sokol did the semi-significant update in May that included a lot of changes to gfx, storage buffers, etc. with some hacking around, you can definitely make it compile pretty easily...