summaryrefslogtreecommitdiff
path: root/modules/sparkler/simple.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-30 09:35:24 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-02 10:35:59 -0700
commitc4ac389be39f9f70b3fda0b0070b5954d7c6978a (patch)
tree2e43067c059743c11109e84c03b12d8f67082d04 /modules/sparkler/simple.c
parent76316cb151509909402578ae3c8b35fe364f55ed (diff)
modules/checkers: add sampled overlay option
When used as an overlay, source the checker color from the existing contents under the checker. This basically becomes a pixelating effect, but with a checkered layout. If a dynamics setting for odd+even (filled) were added, in combination with sampled=on it would become plain pixelation. This commit uses a single sample, but more could be used to be more of an average than a potentially flickering checker depending on what's going on underneath. Probably another option like samples=N when sampled=on. If using this option, one probably isn't interested in texturing, which illustrates a need for the fb_fragment_put/fill API to have a texturing allowed toggle. Then on a per-call basis the texturing could be toggled which enables some very interesting possibilities.
Diffstat (limited to 'modules/sparkler/simple.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved