SetFallbackSurfaceId => SetOldestAcceptableFallback
Also ideally we should just drop all usages of "primary".
SetPrimarySurfaceId => SetSurfaceId
SetShowPrimarySurface => SetShowSurface
SetFallbackLowerbound is probably a better name than SetOldestAcceptableFallback. I also agree that this can be left as the last step, although we're already at a stage that these names are meaningful.
I think we should eventually rename these because "fallback" is a misnomer at this point.
I considered calling them:
SetSurfaceRangeStart
SetSurfaceRangeEnd
but I think people would be confused about calling
SetSurfaceRangeEnd all the time instead of Start...
Calling SetPrimarySurfaceId just SetSurfaceId makes it clear that this is the default API to use.
SetOldestAcceptableFallback actually sounds closer to the real behavior.
If I wasn't familiar with surfaces, I don't think I'd understand what a "FallbackLowerbound" is.
Comment 1 by akaba@google.com
, Jul 31