124 Commits (76cd17c833f6031cdf64c16b55eede3b99708d2f)

Author SHA1 Message Date
Simon Ser 642b349e94 render/gles2: restore EGL context after texture operations
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 3fd8098881
render/gles2: require GL_EXT_unpack_subimage
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 Ser a3ba82885c render: choose DMA-BUF texture target via eglQueryDmaBufModifiersEXT
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
5 years ago
Simon Ser 06f4c3945d render/texture: add width and height fields
5 years ago
Simon Ser 6d3f3b9300 render/gles2: unbind textures after use
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 447835afc1 render/gles2: provide public API to access GL texture
5 years ago
Scott Anderson 85a2ee6d30 render/gles: Simplify textures a bit
5 years ago
Simon Ser 6bb7639a0f render/gles2: don't unset the current EGL surface when destroying texture
5 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
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 c4915d1492 render: add wlr_texture_is_opaque
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion 57548b557a
Merge branch 'master' into screencontent
7 years ago
Vincent Vanlaer f1a62a3200 Rename egl.exts to match the extension names
7 years ago
emersion 457bfcab19
render/egl: only request high priority context on DRM
7 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
7 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 5ba1a9af56
render: add wlr_texture_to_dmabuf
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion 018b82c01e
render/egl: allow passing NULL to surface and image destructors
7 years ago
emersion f3f61bed3e
Untie wlr_gles2_renderer and wlr_gles2_texture
7 years ago
emersion a7bb48b404
render/egl: add wlr_egl_create_image_from_wl_drm
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
Guido Günther b1852096c5 linux-dmabuf: Support multi plane formats like NV12
7 years ago
emersion a854c2f246
Merge branch 'master' into gles2-renderer-redesign
7 years ago
emersion b1f93bc5cc
render/egl: use EGL_KHR_debug
7 years ago
emersion 95e86e675a
render/gles2: remove global state, use OpenGL debug extension
7 years ago
Guido Günther 13e4ba4867 gles2_texture_bind: use texture's target type
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
Drew DeVault 1956d3cedb
Merge pull request #722 from emersion/matrix-redesign
7 years ago
emersion 876f07e9f1
renderer: replace wlr_texture_get_matrix by wlr_render_texture
7 years ago
emersion 0e253e0615
render/gles2: don't set inverted_y when EGL_WAYLAND_Y_INVERTED_WL is unsupported
7 years ago
emersion 8b58e1a3ad
Merge branch 'master' into matrix-redesign
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
Guido Günther 14cdb6153f Add initial linux_dmabuf protocol support
7 years ago
emersion d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion b6a3f240c7
matrix: move to types/
7 years ago
Guido Günther 2d0db16942 render: Flip textures in case of inverted_y
7 years ago
Guido Günther 2dc8a35db2 textures: tell us which texture format is unsupported
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion 36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion 5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
Scott Anderson 009c3747a8 Multi-GPU DRM
7 years ago
Drew DeVault 220a6e9bf6 Add xwayland activate and fix EGL bug
7 years ago
Dominique Martinet f24b3df980 wlr renderer/texture: rename init to create when it does alloc
7 years ago
Drew DeVault 27c13d621d Merge pull request #88 from 4e554c4c/alloc_crashing
7 years ago
Tony Crisci 4f2b1cc930 implement get_buffer_size for egl buffers
7 years ago
Tony Crisci 72a33b736f implement texture get buffer size
7 years ago
Calvin Lee 5cc7342606 Prevent alloc errors from crashing
7 years ago
Drew DeVault 94e6e6334b Refactor out wlr_texture_state
7 years ago
nyorain 862bc9783f Fix egl image leak in gles renderer
7 years ago
Drew DeVault a6efb90382 s/gen/ensure/ fixes #47
7 years ago
Drew DeVault c24351681f Refactor EGL handling
7 years ago
Drew DeVault 7095274a9e Merge branch 'master' into drm_buffer
7 years ago
Drew DeVault 888986b038 Remove excess logging
7 years ago
Drew DeVault 7da43ff8b0 Implement wlr_surface_flush_damage
7 years ago
nyorain 073dff63da Fix style issues
7 years ago
nyorain 67369173aa Implement drm (egl) buffer attaching
7 years ago
Drew DeVault e2b7712302 Use texture->pixel_format instead of re-scanning
7 years ago
Drew DeVault 4de930542f Implement partial texture uploads
7 years ago
nyorain e167f41fde Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago