Commit Graph

26 Commits (a12ce12ba6d0f6c371190824f4812c4947661ad9)

Author SHA1 Message Date
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