skia2/include
Ben Wagner 7a0248f738 Compute inverse gamma table at compile time.
This introduces skstd::index_sequence and skstd::make_index_sequence so
that these can be used in C++11. These are mostly equivalent to their
std:: counterparts. This also introduces SkMakeArray<N, C>
which is constexpr and creates a std::array with N elements with each
element being initialized with the value of C(i) where i is the index of
the element.

These are then used to create inverse gamma table at compile time. This
avoids threading issues.

BUG=skia:7187

Change-Id: I61fb10a778898652e546d54c104a08d6e6bf88d3
Reviewed-on: https://skia-review.googlesource.com/61380
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-10-18 19:43:18 +00:00
..
android Add SK_API to APIs used by the android framework. 2017-09-21 18:14:36 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Move SkCodec::Origin into its own file 2017-10-18 19:08:16 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core convert mapHomogeneousPoints to SkPoint3 2017-10-18 16:09:46 +00:00
effects Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
encode Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
gpu Move clear-as-draw workaround to GrGLGpu and expose via GrContextOptions. 2017-10-18 12:55:06 +00:00
pathops Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports removed dead code behind legacy fontmgr api flag 2017-10-11 15:18:57 +00:00
private Compute inverse gamma table at compile time. 2017-10-18 19:43:18 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Plumb more SkPaintFilterCanvas virtuals 2017-10-12 15:32:11 +00:00
views Remove trailing whitespace. 2017-10-09 21:20:34 +00:00