aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2018-03-27Fix issue starting up client EGL on X11 backendDrew DeVault
2018-03-27Fix surface layer damage trackingDrew DeVault
2018-03-27Add margin animation to the example demoDrew DeVault
2018-03-27Fix layer rendering/layout bugsDrew DeVault
2018-03-27Fix rebase issues; rearrange layers on destroyDrew DeVault
2018-03-27Add layer_surface.closeDrew DeVault
2018-03-27Fix exclusive zone among other layersDrew DeVault
2018-03-27Fix issue with multiple outputs in layer exampleDrew DeVault
2018-03-27Implement layer surface damageDrew DeVault
2018-03-27Arrange & render layer surfacesDrew DeVault
2018-03-27Fix issues preventing layer from getting allocatedDrew DeVault
Now all of the steps to get rootston a reference to the layer surface are correctly wired up.
2018-03-27Fix strcmp useDrew DeVault
2018-03-27Add broken test client and rootston stubsDrew DeVault
2018-03-26render: add simple functions to render rectangles and ellipsesemersion
2018-03-21render/gles2: make wlr_renderer_begin take viewport sizeemersion
This allows raw GL calls outside wlr_renderer to be removed.
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-15matrix: use 2D matricesemersion
2018-03-15matrix: unify API, don't use array pointersemersion
2018-03-15matrix: move to types/emersion
2018-03-14examples: simplify screenshot clientemersion
2018-03-07Add mode support to libinput backendDrew DeVault
And extend tablet example with tilt and ring support
2018-02-25Merge pull request #659 from agx/alphaDrew DeVault
Make wlr_render_with_matrix use alpha
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-24Merge pull request #667 from Ongy/screenshot_tmpfile_templateDrew DeVault
prevent screenshot from resuing template array
2018-02-24prevent screenshot from resuing template arrayMarkus Ongyerth
The template array given to mkstemp was declared static. This reused the memory, which caused mkstemp to fail if backingfile is run more than once, because the array no longer contained the template syntax (which is forced to end in XXXXXX) but the previous file name.
2018-02-24Merge pull request #641 from Ongy/idle-inhibitTony Crisci
Add idle-inhibit implementation
2018-02-23idle-inhibit: style adjustments and motivationMarkus Ongyerth
2018-02-23Don't use os_create_anonymous_file outside of wlrootsGuido Günther
Use a stripped down version for the backing file in the screenshot example.
2018-02-21idle-inhibit: second feedback passMarkus Ongyerth
2018-02-20idle-inhibit: feedback passMarkus Ongyerth
2018-02-17handle xdg close event in idle-inhibit exampleMarkus Ongyerth
Fixes a crash when the idle-inhibit example application is closed by the compositor, instead of Ctr+C on the spawning terminal, by actualy handling the close request.
2018-02-17adds the client example for idle-inhibitMarkus Ongyerth
Adds a client example for the idle-inhibit-unsable-v1 protocol. The client creates a surface and requests an idle inhibitor. On pointer BTN_LEFT the inhibitor is destroyed if it exists, or recreated if it was destroyed before. The surfaces colour is based on the idle-inhibit state. Green if an inhibitor exists, yellow if it does not.
2018-02-15wayland protocol headers: use double-quote for includesDominique Martinet
These headers are not installed so we should look for these locally
2018-02-12Remove wlr_backend.events.{output_remove,device_remove}emersion
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-02-03Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-01fixes the off by one errors in examples/screenshotMarkus Ongyerth
The inverse loop iterations for the transformed outputs had an off by one error, iterating 1 based, not 0 based. This commit fixes that.
2018-01-31handle the other transformations for screenshotsMarkus Ongyerth
This handles all current transformations for outputs properly. This ensures an output is drawn in readable orientation/flipping no matter the actual transformations applied to it.
2018-01-31fixes 90 degree rotation screenshotsMarkus Ongyerth
This fixes the screenshot example application when an output is rotated by 90 degrees. Other tranformations are not taken into account yet.
2018-01-29Merge 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-21Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-21style: include brackets for if/while/for, even if it's a single statementJohannes Schramm
2018-01-21output: add damage tracking via buffer ageemersion
2018-01-19output: fix software cursors damage trackingemersion
2018-01-15Merge pull request #567 from Timidger/example-loggingDrew DeVault
Fixed logging for examples
2018-01-15Fixed logging for examplesTimidger