aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/texture.c
AgeCommit message (Collapse)Author
2018-04-25render/egl: allow passing NULL to surface and image destructorsemersion
2018-04-01Untie wlr_gles2_renderer and wlr_gles2_textureemersion
2018-03-31render/egl: add wlr_egl_create_image_from_wl_drmemersion
This allows external renderers and potential future GL-based renderers to re-use this function.
2018-03-24Redesign wlr_textureemersion
- Textures are now immutable (apart from those created from raw pixels), no more invalid textures - Move all wl_drm stuff in wlr_renderer - Most of wlr_texture fields are now private - Remove some duplicated DMA-BUF code in the DRM backend - Add more assertions - Stride is now always given as bytes rather than pixels - Drop wl_shm functions Fun fact: this patch has been written 10,000 meters up in the air.
2018-03-23linux-dmabuf: Support multi plane formats like NV12Guido Günther
2018-03-23Merge branch 'master' into gles2-renderer-redesignemersion
2018-03-21render/egl: use EGL_KHR_debugemersion
2018-03-20render/gles2: remove global state, use OpenGL debug extensionemersion
2018-03-20gles2_texture_bind: use texture's target typeGuido Günther
Hardcoding GL_TEXTURE_2D leads to rendering errors when using GL_TEXTURE_EXTERNAL_OES textures.
2018-03-20gles2: allow to specify texture target typeGuido Günther
Allow to set the texture target type when generating/binding the texture. This allows us to attach the texture type to the texture so we don't have to keep the logic elsewhere.
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-03-17Merge pull request #722 from emersion/matrix-redesignDrew DeVault
Matrix redesign
2018-03-15renderer: replace wlr_texture_get_matrix by wlr_render_textureemersion
2018-03-15render/gles2: don't set inverted_y when EGL_WAYLAND_Y_INVERTED_WL is unsupportedemersion
2018-03-15Merge branch 'master' into matrix-redesignemersion
2018-03-15matrix: use 2D matricesemersion
2018-03-15Add initial linux_dmabuf protocol supportGuido Günther
Tested with ./weston-simple-dmabuf-drm ./weston-simple-dmabuf-drm --import-immediate=1 ./weston-simple-dmabuf-drm --y-inverted=1 (and combinations) Supports only single plane XRGB dmabufs for now.
2018-03-15matrix: unify API, don't use array pointersemersion
2018-03-15matrix: move to types/emersion
2018-03-11render: Flip textures in case of inverted_yGuido Günther
2018-02-28textures: tell us which texture format is unsupportedGuido Günther
2018-02-12Reformat all #include directivesemersion
2018-02-12Make wlr_signal_emit_safe privateemersion
2018-02-12Add wlr_signal_emit_safeemersion
2017-10-22Move egl.h to render/egl.hScott Anderson
2017-10-01Multi-GPU DRMScott Anderson
2017-09-28Add xwayland activate and fix EGL bugDrew DeVault
2017-08-19wlr renderer/texture: rename init to create when it does allocDominique Martinet
2017-08-15Merge pull request #88 from 4e554c4c/alloc_crashingDrew DeVault
Prevent alloc errors from crashing
2017-08-15implement get_buffer_size for egl buffersTony Crisci
2017-08-15implement texture get buffer sizeTony Crisci
2017-08-15Prevent alloc errors from crashingCalvin Lee
Resolves #76
2017-08-14Refactor out wlr_texture_stateDrew DeVault
2017-08-12Fix egl image leak in gles renderernyorain
2017-08-11s/gen/ensure/ fixes #47Drew DeVault
2017-08-10Refactor EGL handlingDrew DeVault
2017-08-10Merge branch 'master' into drm_bufferDrew DeVault
2017-08-10Remove excess loggingDrew DeVault
2017-08-10Implement wlr_surface_flush_damageDrew DeVault
2017-08-10Fix style issuesnyorain
2017-08-10Implement drm (egl) buffer attachingnyorain
2017-08-09Use texture->pixel_format instead of re-scanningDrew DeVault
2017-08-09Implement partial texture uploadsDrew DeVault
2017-08-08Rename wlr_surface -> wlr_texture; attach -> uploadnyorain