emersion
3581573bdc
render/gles2: make wlr_renderer_begin take viewport size
...
This allows raw GL calls outside wlr_renderer to be removed.
7 years ago
emersion
c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion
6227da96b1
backend/drm: don't hardcode matrix
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
emersion
b6a3f240c7
matrix: move to types/
7 years ago
Guido Günther
d08792bfff
Add alpha to wlr_render_with_matrix
...
so we can use the alpha channel to e.g. blend in textures
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
bf6d245400
Swap buffers with damage
7 years ago
emersion
3d3ea32137
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Markus Ongyerth
cde0f454b3
Clean up the gbm/egl as well
7 years ago
Markus Ongyerth
2cdb646531
relases gbm buffers on init
...
The wlr_drm_surface_init function is called (upon others) when the drm
mode is changed.
When the surface was used previously this replaced the gbm_surface, but
did not replace the gbm buffers (front/back).
With this, wlr_drm_surface_get_from never set up the new buffers with
the new glViewport because surf->front existed.
This frees the buffers to get new buffers on the new surface with the
new viewport.
7 years ago
emersion
0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion
b99d1f4fcc
Refactor wlr_egl_init to accept config_attribs
7 years ago
emersion
18eb1eee3f
Listen to display destroy in xwayland, rename wlr_egl_free
7 years ago
Scott Anderson
bc113c16aa
Use correct include path for glapi.h
7 years ago
Scott Anderson
9b984253e2
Move egl.h to render/egl.h
7 years ago
Scott Anderson
c0e5feea37
Add GL/EGL extension loader generator
7 years ago
Scott Anderson
f6f9c40965
Minor fixes
7 years ago
Scott Anderson
009c3747a8
Multi-GPU DRM
7 years ago
Scott Anderson
eaef028976
Add renderer pointer inside drm_surface
7 years ago
Scott Anderson
096249a2a1
Split DRM rendering to its own file
7 years ago