138 Commits (aa1163e64021762ba70d2e861c3724895778cdaf)

Author SHA1 Message Date
Simon Ser b732f094c6 render: disallow wlr_renderer_destroy while rendering
4 years ago
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser 1c1ef69326 Log when WLR_BACKENDS/WLR_RENDERER is set
4 years ago
Simon Zeni 982498fab3 render: introduce renderer_get_render_buffer_caps
4 years ago
Simon Ser af78ecb86b render: unconditionally read WLR_RENDERER
4 years ago
Simon Zeni cdacf4f632 render: introduce WLR_RENDERER in wlr_renderer_autocreate_with_drm_fd
4 years ago
ayaka ed1924800d render: make GLES2 renderer optional
4 years ago
Simon Zeni 122d6c6988 renderer: create pixman renderer if getting drm fd failed
4 years ago
Simon Zeni 0d90dddfab render: introduce pixman renderer
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Roman Gilg b36af22c94 backend: move get_drm_fd to public interface
4 years ago
Simon Ser a109a80dca render: drop support for ellipses
4 years ago
Simon Ser 1cdef8da57 render: drop wlr_renderer_blit_dmabuf
4 years ago
Simon Zeni 50d2985607 Move render/shm_format functions to render/pixel_format
4 years ago
Simon Ser b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser ddfee63055 render: use DRM formats in wlr_renderer_get_shm_texture_formats
4 years ago
Brandon Dowdy 8aa38fe73e render/egl: remove *config_attribs and wlr_egl->config
4 years ago
Simon Ser 7c995b78b2 Revert "render: add wlr_egl_create_from_drm_fd function"
4 years ago
Simon Ser 54e5ef39c0 Revert "render/egl: remove unused gbm_device member"
4 years ago
Simon Zeni 306cf11d87 render/egl: remove unused gbm_device member
4 years ago
Simon Zeni ee31be167b render: add wlr_egl_create_from_drm_fd function
4 years ago
Simon Ser 2f11914613 render: introduce private wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Zeni e128e6c08d render: drop egl parameters from wlr_renderer_autocreate
4 years ago
Simon Ser 1d461687d2 render/egl: replace init/finish with create/destroy
4 years ago
Simon Ser 76ed2255ef render/egl: remove support for EGL_NATIVE_VISUAL_ID
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser 037710b1d4 render/egl: support config-less wlr_egl
4 years ago
Simon Ser 1f15dd093d render: assert {X,A}RGB8888 are supported
4 years ago
Simon Ser c94ab99ae2 render: rename wlr_renderer_get_formats
4 years ago
Simon Ser 49115e9d5d render: rename wlr_renderer_get_dmabuf_formats
4 years ago
Simon Ser 5d008d9030 render: introduce wlr_renderer_get_dmabuf_render_formats
4 years ago
Simon Ser 61612ecb36 render: remove wlr_renderer_format_supported
4 years ago
Simon Ser eb8360bda3 render: introduce wlr_renderer_get_drm_fd
4 years ago
Simon Ser c88c54fb38 render: introduce wlr_renderer_bind_buffer
4 years ago
Isaac Freund 0724b3c453 Use uint32_t in wlr_renderer_begin signature
4 years ago
Guido Cella 6949d0fd38 render: Don't crash on 0 dimensions
4 years ago
Simon Ser 315bf08733 render: add wlr_render_subtexture_with_matrix
4 years ago
Rouven Czerwinski d3d1bac1c2 render: assert sane values for box functions
5 years ago
Andri Yngvason b64a8a7f98 render: Add wlr_renderer_blit_dmabuf()
5 years ago
Simon Ser d10f8a98ec render: only expose linux-dmabuf if EGL extension is supported
5 years ago
Isaac Freund c682d97841 Return failure of wlr_renderer_init_wl_display()
5 years ago
Simon Ser 346b43e937 render: guard rendering operations between begin() and end()
5 years ago
emersion e42178d03f
render: switch wlr_renderer to wlr_drm_format_set
6 years ago
Ilia Bozhinov fb5691b6cc output: add wlr_output_preferred_read_format()
6 years ago
emersion 09550032b7
render: correctly set EGL_RENDERABLE_TYPE
6 years ago
emersion 62d646f2b8
render/gles2: remove assumptions about supported formats
6 years ago
emersion 2f0815838d Init dmabuf global in renderer
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion 2b9cbaddf3
screencopy: add support for frame flags
6 years ago
Dominique Martinet 4cc4412481 wlr_renderer_destroy: fix renderer NULL check
6 years ago
emersion 135721118a
render: remove wlr_renderer_check_import_dmabuf
7 years ago
emersion 28020ff577
Only allow one modifier per DMA-BUF, split attributes struct in render/
7 years ago
emersion 6eb4b5b54d
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
7 years ago
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
7 years ago
emersion 41130fe54b
render: bind wl_drm in renderer
7 years ago
emersion 449f06556a
Destroy wlr_surface with wlr_renderer
7 years ago
Rostislav Pehlivanov 12298ce88c Do not advertize *RGB8888 as supported shm formats
7 years ago
emersion 70d820be25
Add wlr_renderer_init_wl_shm to advertize supported renderer formats
7 years ago
emersion d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
emersion adf4fb08dd
Merge branch 'master' into texture-redesign
7 years ago
emersion 793c3b3047
render: add simple functions to render rectangles and ellipses
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
emersion 3581573bdc
render/gles2: make wlr_renderer_begin take viewport size
7 years ago
emersion 95e86e675a
render/gles2: remove global state, use OpenGL debug extension
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion 876f07e9f1
renderer: replace wlr_texture_get_matrix by wlr_render_texture
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
emersion d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
Guido Günther d08792bfff Add alpha to wlr_render_with_matrix
7 years ago
Drew DeVault 1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson 86269052eb Explicitly export EFL symbols
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion ddb1779f9f
render: make wlr_renderer_clear take a float[4] for the color
7 years ago
emersion 51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion 4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
7 years ago
emersion 415a2b7c56
render: add wlr_renderer_clear and wlr_renderer_scissor
7 years ago
emersion 0ce3135304
Move read_pixels from output to renderer
7 years ago
Dominique Martinet f24b3df980 wlr renderer/texture: rename init to create when it does alloc
7 years ago
Dominique Martinet 4bbf718e7d impl->destroy cleanup:
7 years ago
Drew DeVault 2facf1df65 Fix software cursors
7 years ago
Drew DeVault de6f32c84e Refactor away wlr_renderer_state
7 years ago
Drew DeVault c24351681f Refactor EGL handling
7 years ago
nyorain e167f41fde Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Drew DeVault 2aafb5dd19 Add wlcore/wl_shm (WIP)
8 years ago
Drew DeVault 2443a070e7 Add colored quad and ellipse rendering primitives
8 years ago
Drew DeVault cd6a40d816 Further improvements to rendering subsystem
8 years ago