skia2/include
Leon Scroggins III 5411a60e0d Add an Option for orientation on JPEG encodes
Move Origin to its own header so that SkPixmap and SkJpegEncoder need
not depend on SkCodec.

Add libexif, which is already used by Android, and use it to write the
orientation. Write a makefile based on the Android.bp in Android, minus
warnings. (libexif has an LGPL license.)

Add a test that verifies all the orientations work.

Optionally enable writing the orientation (and therefore including
libexif). Chromium does not currently need it, and Android does not
expose an API that would allow using it. Disable on Windows, where we
still have build errors to fix.

Bug: skia:7138
Change-Id: Iaeff44c36aebe0e639666979dc00e1b7594bbeb1
Reviewed-on: https://skia-review.googlesource.com/60721
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2017-10-18 17:38:15 +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 Add an Option for orientation on JPEG encodes 2017-10-18 17:38:15 +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 Add an Option for orientation on JPEG encodes 2017-10-18 17:38:15 +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 Make SkTFitsIn and SkTo constexpr. 2017-10-17 22:48:51 +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