137 Commits (6c3d6be74b75e9aa8b1d5b454eb3b408bfdcfe30)

Author SHA1 Message Date
Simon Zeni ed7f2651b6 render: add DRM dumb buffer allocator
4 years ago
Simon Zeni 2c90e0f521 render/gbm_allocator: duplicate drm fd during creation process
4 years ago
Simon Ser 5be76bb047 render/allocator: add allocator_autocreate_with_drm_fd
4 years ago
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Zeni 318e3ac92c render/allocator: introduce wlr_allocator_autocreate
4 years ago
Simon Zeni 982498fab3 render: introduce renderer_get_render_buffer_caps
4 years ago
Simon Zeni a8c91fbac9 render/shm_allocator: make wlr_shm_allocator_create return a wlr_allocator
4 years ago
Simon Zeni c75aa71816 render/gbm_allocator: make wlr_gbm_allocator_create return a wlr_allocator
4 years ago
Simon Zeni 30706b71fb render/pixman: implement preferred_read_format
4 years ago
Simon Ser 8ca2b4cf49 render/pixman: destroy textures on renderer teardown
4 years ago
Simon Ser 661ba49564 render/gles2: destroy textures on renderer teardown
4 years ago
Simon Zeni 0d90dddfab render: introduce pixman renderer
4 years ago
Simon Ser c6b009ef85 render: introduce shared memory allocator
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Simon Ser a109a80dca render: drop support for ellipses
4 years ago
Simon Zeni 78d21fa131 render/gles2: remove depth and bpp gles2_pixel_format, use drm pixel format
4 years ago
Simon Zeni 50d2985607 Move render/shm_format functions to render/pixel_format
4 years ago
Simon Zeni 5fd82c6f54 render/pixel_format: introduce pixel format info table
4 years ago
Simon Zeni 9601a2abf0 output: improve transform matrix calculation
4 years ago
Simon Ser 27fba3df43 render: use DRM formats in wlr_texture_from_pixels
4 years ago
Simon Ser ddfee63055 render: use DRM formats in wlr_renderer_get_shm_texture_formats
4 years ago
Simon Ser 549435aee5 render/gles2: replace wlr_gles2_texture.wl_format with drm_format
4 years ago
Simon Ser fab396f149 render/gles2: convert format table to DRM formats
4 years ago
Simon Ser 5d6d76c61f render/shm_format: add wl_shm_format conversion helpers
4 years ago
Simon Ser 2f11914613 render: introduce private wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser c73a8cde83 render/gbm_allocator: fix gbm_device use-after-free
4 years ago
Simon Ser 9dd059376c
render/gbm_allocator: document that DRM primary FDs work
4 years ago
Simon Ser 5642b880c3
render: document wlr_renderer_bind_buffer
4 years ago
Simon Ser d37214cb16 render/drm_format_set: add wlr_drm_format_{create,add}
4 years ago
Simon Ser 82443ea46b render/drm_format_set: introduce wlr_drm_format_intersect
4 years ago
Simon Ser 5d008d9030 render: introduce wlr_renderer_get_dmabuf_render_formats
4 years ago
Simon Ser eb8360bda3 render: introduce wlr_renderer_get_drm_fd
4 years ago
Simon Ser c11c6c4568 render/swapchain: add support for buffer age
4 years ago
Simon Ser 6136fe87d1 render/gles2: implement wlr_renderer_bind_buffer
4 years ago
Simon Ser c88c54fb38 render: introduce wlr_renderer_bind_buffer
4 years ago
Simon Ser b0a663d39d render: introduce wlr_swapchain
4 years ago
Simon Ser 7c6212a0f7 render/drm_format_set: introduce wlr_drm_format_dup
4 years ago
Simon Ser 5913040110 render: introduce wlr_gbm_allocator
4 years ago
Simon Ser f47445f142 render: introduce wlr_allocator
4 years ago
Simon Ser 1dbcfdaf81 render/gles2: remove gles2_procs
4 years ago
Simon Ser 62da61716f render/gles2: make push/pop debug functions take a wlr_renderer
4 years ago
Simon Ser e8872d9ed7 render/gles2: keep ref to wlr_gles2_renderer in wlr_gles2_texture
4 years ago
Simon Ser 26af316b3b render/gles2: make wlr_gles2_texture_from_* private
4 years ago
Simon Zeni 4a4da256dd render/gles2: use glGetAttribLocation instead of hardcoded indices
4 years ago
Andri Yngvason b64a8a7f98 render: Add wlr_renderer_blit_dmabuf()
5 years ago
Simon Ser 06f4c3945d render/texture: add width and height fields
5 years ago
Simon Ser 5dc3a9c754 render/gles2: add wlr_gles2_renderer_check_ext
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Scott Anderson 85a2ee6d30 render/gles: Simplify textures a bit
5 years ago
Manuel Stoeckl bb05617414 Use -fmacro-prefix-map to strip build path
5 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
Guido Günther f8fcd7f06a Remove glEGLImageTargetTexture2DOES
6 years ago
emersion d592dcdedd
render/gles2: check for GL_OES_EGL_image_external
6 years ago
emersion 62d646f2b8
render/gles2: remove assumptions about supported formats
6 years ago
nyorain cb03a41a3b Use enum wl_shm_format for gles2 texture formats
6 years ago
nyorain cd28637187 Remove fmt parameter from wlr_texture_write_pixels
6 years ago
Mariusz Bialonczyk ad406db21c gles2: change context when it is not current
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
NeKit 6f29db1044 gles2 renderer: introduce struct wlr_gles2_tex_shader
7 years ago
NeKit de91c55ea9 Fix GLES2 renderer to use glGetUniformLocations locations
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion 1b802d9251
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
emersion f3f61bed3e
Untie wlr_gles2_renderer and wlr_gles2_texture
7 years ago
Tony Crisci 330ee08126
Merge pull request #744 from emersion/texture-redesign
7 years ago
emersion c42fd1018b
render: remove GL calls from wlr_egl
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
emersion cc5ef1d2ff
render/gles2: move list of supported WL formats to pixel_format.c
7 years ago
emersion 95e86e675a
render/gles2: remove global state, use OpenGL debug extension
7 years ago
Guido Günther b3cb5a36c7 gles2: allow to specify texture target type
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
Guido Günther 2688f6163f Rename _strip_path to wlr_strip_path
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
emersion 427bdb5b55
Use more consistent include guard names
7 years ago
Dominique Martinet f24b3df980 wlr renderer/texture: rename init to create when it does alloc
7 years ago
Drew DeVault de6f32c84e Refactor away wlr_renderer_state
7 years ago
Drew DeVault 94e6e6334b Refactor out wlr_texture_state
7 years ago
Drew DeVault c24351681f Refactor EGL handling
7 years ago
nyorain 1901c3e1b6 Fix example for updated gles
7 years ago
nyorain 67369173aa Implement drm (egl) buffer attaching
7 years ago
nyorain e167f41fde Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Scott Anderson 8189c64d7f Fixed that warnings that showed up with optimisations.
7 years ago
Drew DeVault 5a2796266f Support wl_shm pixel formats in gles2 renderer
8 years ago
Drew DeVault b18209c904 Switch to GLES2
8 years ago
Drew DeVault 2443a070e7 Add colored quad and ellipse rendering primitives
8 years ago
Drew DeVault 2b909e1729 Add error "handling" to gles3 backend
8 years ago
Drew DeVault cd6a40d816 Further improvements to rendering subsystem
8 years ago