~/talk

Implementing custom fragment shaders

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [web-animation, creative-coding]
links:none on file
slides:none on file

Demonstrates how to write and compile custom fragment shaders for Flutter using GLSL files placed in a shaders folder and loaded (example uses flutter_shaders), shows a one-line red solid shader then moves to real effects: custom blurs, ripple/ink-sparkle, dynamic backgrounds and a faithful port of the Android 12 stretch effect from Skia/SkSL into GLSL. Measures show GPU shaders run orders of magnitude faster than CPU pixel loops; the ported stretch shader works and is ready for a PR.

AI-written summary · about

  1. 0:00Custom fragment shaders intro
  2. 5:47Why fragment shaders matter
  3. 10:22Fragment shaders in Flutter
  4. 17:22GPU shaders performance
  5. 23:53First custom shader setup
  6. 26:01Practical shader use cases
  7. 33:26Stretch effect with shaders
  8. 37:19Real-time image processing
  9. 38:23Shader learning resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.