aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/renderer.c
AgeCommit message (Collapse)Author
2018-03-28Merge pull request #744 from emersion/texture-redesignTony Crisci
Redesign wlr_texture
2018-03-27render: remove GL calls from wlr_eglemersion
2018-03-26Merge branch 'master' into texture-redesignemersion
2018-03-26render: add simple functions to render rectangles and ellipsesemersion
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-21render/gles2: use gles2_pixel_format::has_alpha for shader selectionemersion
2018-03-21render/gles2: move list of supported WL formats to pixel_format.cemersion
2018-03-21render/gles2: make wlr_renderer_begin take viewport sizeemersion
This allows raw GL calls outside wlr_renderer to be removed.
2018-03-20render/gles2: remove global state, use OpenGL debug extensionemersion
2018-03-20gles2: Honor alpha in fragment_src_externalGuido Günther
By using the same vertex shader and adding alpha to the fragment shader for external textures we can: - use alpha blending - have wlr_gles2_render_texture_with_matrix work with the GL_TEXTURE_EXTERNAL_OES. So far this failed since we passed in alpha which was unknown by fragment_src_external
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-03-19render/gles2: transpose matrices before binding thememersion
Setting glUniformMatrix3fv's transpose parameter to GL_TRUE is not allowed for OpenGL ES 2. This adds a wlr_matrix_transpose function.
2018-03-15render/gles2: remove matrix transposition in shadersemersion
2018-03-15Merge branch 'master' into matrix-redesignemersion
2018-03-15matrix: use 2D matricesemersion
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-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-19Revert "ELF Visibility"Drew DeVault
2018-02-19Explicitly export EFL symbolsScott Anderson
2018-02-12Reformat all #include directivesemersion
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-01-29Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-29Merge pull request #580 from emersion/screenshooter-renderer-backportTony Crisci
Backport screenshooter fixes from the renderer redesign v1
2018-01-26render/gles2: use format bpp when reading pixelsemersion
2018-01-24Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-23Backport screenshooter fixes from the renderer redesign v1emersion
This backports some changes to #319 to fix the screenshooter data format. This also adds wlr_backend_get_renderer which will be useful to support multiple renderers.
2018-01-22render: add wlr_renderer_clear and wlr_renderer_scissoremersion
2018-01-19output: add damage eventemersion
2018-01-18rootston: only draw damaged regionsemersion
2018-01-16decorate xwayland viewsTony Crisci
2017-11-30Use correct include path for glapi.hScott Anderson
2017-10-22Pass backend to renderScott Anderson
2017-10-22Move egl.h to render/egl.hScott Anderson
2017-10-08Merge pull request #140 from emersion/screenshooterDrew DeVault
Add screenshooter
2017-10-08Add GL/EGL extension loader generatorScott Anderson
2017-10-08Move read_pixels from output to rendereremersion
2017-10-05Fix memory leaksVersus Void
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-15Prevent alloc errors from crashingCalvin Lee
Resolves #76
2017-08-14Fix style issuesnyorain
2017-08-14impl->destroy cleanup:Dominique Martinet
- remove trivial destroy() function - make sure we check impl and impl->destroy before calling - always call free if not implemented
2017-08-14Fix software cursorsDrew DeVault
2017-08-14Refactor away wlr_renderer_stateDrew DeVault
2017-08-12GLES2: detach and delete shaders after LinkProgramDominique Martinet
Also make sure program linked correctly!
2017-08-10Refactor EGL handlingDrew DeVault
2017-08-10Merge branch 'master' into drm_bufferDrew DeVault
2017-08-10enable gl blendingTony Crisci
This makes transparency work correctly. fixes #56