Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d450a7f2 authored by Noelle Scobie's avatar Noelle Scobie
Browse files

Add ftl support to RenderEngine enums

Omitting the `k` enum prefix technically goes against Android's general
C++ guidelines, but allows ftl enum calls to be chained together while
remaining legible, e.g. "GraphiteVk" instead of "kGraphitekVk".
There appears to already be precedent where ftl enums are used.

An alternative to ftl (and the associated renaming of enum values) could
be to manually create helper toString functions, but that seems
unnecessary.

Bug: N/A
Test: compiles
Flag: EXEMPT refactor
Change-Id: I9c1e57882587eba3f88eab0f91248c2d79b2d145
parent 79ad3676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment