303 Commits (42df9414fbf63abee51cb3094cedb94ac0f0f8a3)

Author SHA1 Message Date
Simon Ser 6e88eeadeb render/pixel_format: import pixel_format_info_check_stride()
2 years ago
Simon Ser 261d6998fb render/gles2: query glGetGraphicsResetStatusKHR
2 years ago
Simon Ser 23540b5579 render: allow wlr_renderer_impl.begin to fail
2 years ago
Simon Ser 6baf045590 render/texture: constify wlr_texture_update_from_buffer()
2 years ago
Simon Ser 4d04144b92 render/gles2: de-duplicate vertex shaders
2 years ago
Simon Ser d69018c195 render/gles2: move color uniform from quad.vert to quad.frag
2 years ago
Simon Ser a75f9be2e8 render/gles2: move shaders to individual files
2 years ago
Simon Ser bc416ed752 render/gles2: log error on shader compilation failure
2 years ago
Simon Ser 9549749507 render/gles2: assert that GL_OES_EGL_image_external is supported
2 years ago
Simon Ser 6832ae14aa render: drop wlr_renderer_read_pixels() flags
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
Simon Ser 98cf38601f render: replace wlr_texture_write_pixels with update_from_buffer
2 years ago
Manuel Stoeckl 972a5cdf7a render/gles2: simplify alpha depth check
2 years ago
Simon Ser c20468cfa2 render: use internal_features to indicate EGL support
3 years ago
Simon Ser b9d55b8769 render/gles2: check GBM is found
3 years ago
Simon Ser 29291cb47c render/texture: drop wlr_texture_is_opaque
3 years ago
Simon Ser 96b594110d matrix: remove wlr_matrix_projection()
3 years ago
Simon Ser c2e046022f render/gles2: simplify flipped projection
3 years ago
Simon Ser bb2946f737 build: make GBM optional
3 years ago
Manuel Stoeckl 7ad67e0f1d render/gles: add support for some 16-bpc unsigned shm formats
3 years ago
Thomas Hebb 59b9518f07 render/gles2: don't constrain shm formats to ones that support reading
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Simon Zeni 9579d62a16 types/buffer: make {begin,end}_data_ptr_access part of the public API
3 years ago
Simon Ser 4e7a8707cc buffer: add data_ptr access flags
3 years ago
Simon Ser ad7651a370 render/gles2: make wlr_gles2_texture a wlr_buffer addon
3 years ago
Simon Ser ee1156b62b render/gles2: make wlr_gles2_buffer an addon
3 years ago
Manuel Stoeckl f5df956c18 render/gles2: add a few 10-bit and FP16 formats
3 years ago
Manuel Stoeckl 44e8451cd9 render/gles2: hide shm formats without GL support
3 years ago
Simon Ser f76960388f render/gles2: add support for some 24 and 16-bit formats
3 years ago
Simon Ser 2fa47c1837 render: drop wlr_renderer_impl.init_wl_display
3 years ago
Simon Ser 5544973814 render/gles2: disable blending opportunistically
4 years ago
Simon Ser 9dba176e8d render/gles2: set has_alpha for DMA-BUFs
4 years ago
Simon Ser 9b70eab194 render/gles2: rename wlr_egl.exts to better match Khronos
4 years ago
Simon Ser 4c51a0f6eb render/egl: rename wlr_egl.exts to better match Khronos
4 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
4 years ago
Simon Ser 4e07d4cbf9 render/gles2: use wlr_drm for wl_drm implementation
4 years ago
Simon Ser a38baec1f8 buffer: make enum wlr_buffer_cap public
4 years ago
Simon Ser 29be2d47e4 render: drop wlr_renderer_impl.texture_from_dmabuf
4 years ago
Simon Ser 18adb43a44 render: drop wlr_renderer_impl.texture_from_pixels
4 years ago
Simon Ser 1db976cecb render/egl: replace wlr_egl_create with wlr_egl_create_with_drm_fd
4 years ago
Simon Ser a2419eb4ea render/egl: make most functions private
4 years ago
zccrs 3c03639cd5 render: add get native paint target of renderer
4 years ago
zccrs fdc40e071e render/gles2: add wlr_renderer_is_gles2
4 years ago
Simon Ser 2806154900 render: add missing arg to wlr_renderer_impl.get_buffer_caps
4 years ago
Simon Ser 6e43d642b2 render/gles2: add support for DATA_PTR buffers in texture_from_buffer
4 years ago
Simon Ser abf527b075 render/gles2: fix texture cleanup on destroy
4 years ago
Simon Ser f6ba26ff58 render/gles2: implement texture_from_buffer
4 years ago
Simon Ser 9221ed7b4c render/gles2: add gles2_texture_create
4 years ago
Simon Ser 6f69e2f12e render/gles2: remove unnecessary EGL import ext checks
4 years ago
Simon Ser 69d4cf19b5 render/gles2: assert texture comes from the same renderer
4 years ago
Simon Zeni 982498fab3 render: introduce renderer_get_render_buffer_caps
4 years ago
Simon Ser c314920a3d render: remove NULL checks in wlr_texture_impl.destroy
4 years ago
Simon Ser 661ba49564 render/gles2: destroy textures on renderer teardown
4 years ago
Simon Ser 8e375ae340 render/gles2: log when creating renderer
4 years ago
Simon Zeni 10c5199d85 render/gles2: introduce wlr_gles2_renderer_create_with_drm_fd
4 years ago
ayaka ed1924800d render: make GLES2 renderer optional
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Simon Ser 004cf887b7 render/gles2: prevent imported DMA-BUF textures from being mutated
4 years ago
Stephan Hilb 9f012cac2f drm: check for PRIME support
4 years ago
Simon Ser a109a80dca render: drop support for ellipses
4 years ago
Simon Ser 9ecfa4343a render: remove wlr_texture_to_dmabuf
4 years ago
Simon Ser 1cdef8da57 render: drop wlr_renderer_blit_dmabuf
4 years ago
Simon Zeni 78d21fa131 render/gles2: remove depth and bpp gles2_pixel_format, use drm pixel format
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 b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser 00bf6674b3 output: use DRM format in wlr_output_preferred_read_format
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 bfd020047d render/gles2: remove current_buffer checks
4 years ago
Simon Ser 6ca59519c9 render/gles2: check buffer stride when uploading texture
4 years ago
Simon Ser 9396d8433a
render/gles2: remove YUV blocklist
4 years ago
Quantum 975d14b799 render/wlr_texture: clamp texture coordinates to edge by default
4 years ago
Brandon Dowdy 8aa38fe73e render/egl: remove *config_attribs and wlr_egl->config
4 years ago
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
4 years ago
Simon Ser 87293d1b15
render: extract gles2 build files to subdir
4 years ago
Simon Ser 642b349e94 render/gles2: restore EGL context after texture operations
4 years ago
Simon Ser 02a086599c
render/gles2: save/restore EGL context in destroy_buffer
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 1d461687d2 render/egl: replace init/finish with create/destroy
4 years ago
Simon Ser 2585f322cb
render/gles2: fix EGL use-after-free
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 3fd8098881
render/gles2: require GL_EXT_unpack_subimage
4 years ago
Simon Ser f91e89fd9f render/gles2: query alpha size from render buffer
4 years ago
Simon Ser be8403e73d render/gles2: don't eglGetConfigAttrib on EGL_NO_CONFIG_KHR
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 1245730ea2 render/gles2: fix y-inverted output when rendering to buffer
4 years ago
Simon Ser 6136fe87d1 render/gles2: implement wlr_renderer_bind_buffer
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
Andri Yngvason e05a85327f render: gles2: Fix y-inversion in gles2_blit_dmabuf()
5 years ago
Simon Zeni 4a4da256dd render/gles2: use glGetAttribLocation instead of hardcoded indices
5 years ago
Simon Ser 315bf08733 render: add wlr_render_subtexture_with_matrix
5 years ago