Commit Graph

42 Commits (06a249897bc76ade98a7fa2d3f5c4de3ea31870d)

Author SHA1 Message Date
Andri Yngvason 14d62d0029 Fix transformations
This fixes #29
2020-04-09 11:50:48 +00:00
Andri Yngvason 8ce312e9eb renderer: Add dtrace probes 2020-04-02 00:55:18 +00:00
Andri Yngvason dc7adf8f3b renderer: Use ATTR_INDEX_ constants for glEnableVertex* 2020-03-29 14:05:33 +00:00
Andri Yngvason b0a6b6bd2a renderer: Swap FPOs rather than textures 2020-03-28 10:59:21 +00:00
Andri Yngvason ae90348ece renderer: Save previous rendered frame rather than previous imported frame
We can't keep dmabufs very long.
2020-03-26 21:43:35 +00:00
Andri Yngvason b5f1ff0898 renderer: Render to texture 2020-03-26 18:49:37 +00:00
Andri Yngvason 7e709c23e9 renderer: Add damage renderer 2020-03-25 23:21:11 +00:00
Andri Yngvason 6536cbd56f renderer: Add damage shaders 2020-03-25 23:21:11 +00:00
Andri Yngvason 557f0f365b renderer: Set up texture bindings on render() 2020-03-25 21:27:57 +00:00
Andri Yngvason a8fd0d6765 renderer: Show error when linking shaders fails 2020-03-25 21:07:36 +00:00
Andri Yngvason 996729f9bb renderer: Show error message when shader compilation failse 2020-03-25 20:44:54 +00:00
Andri Yngvason 13216fa507 renderer: Add u_tex1 to shaders 2020-03-25 20:26:15 +00:00
Andri Yngvason 49c584f80d renderer: Move shader setup into render() 2020-03-24 22:57:02 +00:00
Andri Yngvason 4da96d0dc1 renderer: Split buffer import and rendering 2020-03-24 22:48:13 +00:00
Andri Yngvason 9d058c85ce Renderer: Keep last texture 2020-03-24 22:07:49 +00:00
Andri Yngvason b39e7535ee renderer: Use FBO instead of pbuffer
This is in preperation for damage checking on the GPU
2020-03-24 19:17:23 +00:00
Andri Yngvason 433ee722ec render: Implement rest of transforms 2020-03-07 12:16:01 +00:00
Andri Yngvason c32993d87d Use transformed geometry for frame buffers 2020-03-05 22:05:14 +00:00
Andri Yngvason 9642e086d8 render: Set glViewport based on output transform 2020-03-05 22:05:14 +00:00
Andri Yngvason a3d4189a0b render: Add output transforms 2020-03-05 22:05:14 +00:00
Andri Yngvason a327a2f6dd render: Add 2D projections 2020-03-05 18:46:27 +00:00
Andri Yngvason 1bf618a098 render: Fetch uniform locations in one place 2020-03-05 18:20:54 +00:00
Andri Yngvason 6b3b448405 render: Move shader_program into shader struct 2020-03-05 18:14:50 +00:00
Dan Shick 4ad4c712b2 Fix shader path, meson doesn't include trailing slash in prefix 2020-02-11 18:41:59 -05:00
Andri Yngvason e5512114f8 render: Only compile the shader that is being used 2020-02-11 21:55:05 +00:00
Andri Yngvason c274c81fa3 Install shader files 2020-02-11 21:09:30 +00:00
Andri Yngvason a8d49f3022 render: Define constants for attribute indices 2020-02-11 20:32:04 +00:00
Andri Yngvason 4b3be2c972 render: Load shaders from files 2020-02-11 19:55:31 +00:00
Andri Yngvason 3c4b81862b render: Create a function to read a shader from a file 2020-02-11 19:55:31 +00:00
Andri Yngvason b744e2410e Handle more pixel formats 2020-01-14 21:44:07 +00:00
Andri Yngvason b07de643ab render: Try to do proper cleanup on egl 2019-10-11 22:18:56 +00:00
Andri Yngvason ddaea0ceab Add some code for rendering screencopy frames 2019-10-10 21:28:07 +00:00
Andri Yngvason 1132dd6a3c render: Add a function to render plain framebuffer 2019-10-09 22:37:46 +00:00
Andri Yngvason 8cc00dd5eb render: rename shader_program -> dmabuf_shader_program 2019-10-09 22:00:01 +00:00
Andri Yngvason af1307b420 render: Use compatible pbuffer
Otherwise glReadPixels() will be bonkers.
2019-10-09 20:53:11 +00:00
Andri Yngvason a52e1040a0 Add license and copyright notice 2019-10-08 18:41:23 +00:00
Andri Yngvason 33772e0b94 render: Fixup 2019-10-06 20:54:59 +00:00
Andri Yngvason a52ff52fcf render: Move logging and struct to headers 2019-10-06 18:50:47 +00:00
Andri Yngvason 89dbbc5fc9 render: Add header 2019-10-06 17:14:53 +00:00
Andri Yngvason 232b945ad0 Wrap interface for wl-export-dmabuf 2019-10-06 17:12:03 +00:00
Andri Yngvason 0dceb98f79 Add dmabuf import & render 2019-10-06 14:08:52 +00:00
Andri Yngvason 838570a4f9 Create new VNC project 2019-10-06 13:10:46 +00:00