skia2/tools/sk_app
Brian Osman 788b91678f Remove SkTMin and SkTMax
Use std::min and std::max everywhere.

SkTPin still exists. We can't use std::clamp yet, and even when
we can, it has undefined behavior with NaN. SkTPin is written
to ensure that we return a value in the [lo, hi] range.

Change-Id: I506852a36e024ae405358d5078a872e2c77fa71e
Docs-Preview: https://skia.org/?cl=269357
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269357
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-02-07 18:40:09 +00:00
..
android Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
ios Fix memory leak in iOS viewer. 2019-11-04 20:35:21 +00:00
mac Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
unix Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
win Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
Application.h
CommandSet.cpp Remove SkMaxScalar and SkMinScalar 2020-02-06 15:43:22 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Roll dawn and adjust for new SwapChain API. 2020-01-28 18:26:44 +00:00
DawnWindowContext.h Update dawn.h -> webgpu.h, dawn_cpp.h -> webgpu_cpp.h. 2019-12-04 15:24:16 +00:00
DisplayParams.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GLWindowContext.cpp Fix GL MSAA support in Mac Viewer. 2019-07-11 22:31:43 +00:00
GLWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MetalWindowContext.h Use LazyProxy to set up Metal swapchain. 2019-10-18 14:04:41 +00:00
MetalWindowContext.mm Use LazyProxy to set up Metal swapchain. 2019-10-18 14:04:41 +00:00
RasterWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VulkanWindowContext.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
VulkanWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Window.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
Window.h Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
WindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00