reed
6644d9353f
respect srgb gamma when building mips
...
Proposed policy:
- If the target is *legacy* (e.g. L32/PMColor) ignore gamma
- If the target is S32/F16 respect gamma
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2029373004
Review-Url: https://codereview.chromium.org/2029373004
2016-06-10 11:41:47 -07:00
halcanary
9d524f22bf
Style bikeshed - remove extraneous whitespace
...
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002
Review URL: https://codereview.chromium.org/1842753002
2016-03-29 09:03:53 -07:00
fmalita
49b9f8c93e
Remove SK_SUPPORT_LEGACY_BITMAP_FILTER guard
...
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1695443002
Review URL: https://codereview.chromium.org/1695443002
2016-02-11 08:06:39 -08:00
fmalita
33ed3ad9f6
Relocate anisotropic mipmap logic to SkMipMap::extractLevel()
...
Pass a full x/y scale and defer the anisotropic heuristic to SkMipMap.
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1686563002
Review URL: https://codereview.chromium.org/1686563002
2016-02-09 08:20:19 -08:00
fmalita
eba209a8fc
Use min scale when selecting mip level
...
R=reed@google.com ,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1681953004
Review URL: https://codereview.chromium.org/1681953004
2016-02-09 07:41:48 -08:00
reed
0488202f49
remove dead SK_SUPPORT_LEGACY_NEG_SCALE_HQ flag
...
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1674263003
Review URL: https://codereview.chromium.org/1674263003
2016-02-08 11:57:52 -08:00
reed
a3d99a515b
don't get dismayed by negative scales for HQ
...
needs https://codereview.chromium.org/1663793003/ to land first
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1668033002
Review URL: https://codereview.chromium.org/1668033002
2016-02-03 19:07:54 -08:00
fmalita
8f66a8862f
Delete 2 legacy flags
...
No longer used in Chrome/Android:
SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAPS
SK_SUPPORT_LEGACY_PRESCALE_SEMANTICS
R=caryclark@google.com ,reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1632633002
Review URL: https://codereview.chromium.org/1632633002
2016-01-25 06:29:44 -08:00
fmalita
921d7ac752
Anisotropic mipmap fixes
...
1) when selecting a level scale, use max(scaleX, scaleY) instead of
current sqrt(scaleX * scaleY)
2) track and apply non-uniform fixup scales
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1617183004
Review URL: https://codereview.chromium.org/1617183004
2016-01-22 11:45:39 -08:00
reed
67b09bf6b7
use pixmaps in mipmap api
...
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1598803002
Review URL: https://codereview.chromium.org/1598803002
2016-01-16 18:50:35 -08:00
fmalita
3e2f5624b4
Cap filtering to kMedium_SkFilterQuality when downsampling
...
R=reed@google.com
Review URL: https://codereview.chromium.org/1510673002
2015-12-09 07:18:16 -08:00
reed
095530389d
scaling API on SkPixmap
...
BUG=skia:4481
Review URL: https://codereview.chromium.org/1463373002
2015-11-23 12:32:16 -08:00
reed
013e9e3bb0
move SkBitmapProvider to its own file
...
BUG=skia:
Review URL: https://codereview.chromium.org/1346713002
2015-09-15 14:46:27 -07:00
reed
98ed7b6d01
create SkBitmapProvider to abstract images and bitmaps
...
BUG=skia:
Review URL: https://codereview.chromium.org/1340223003
2015-09-15 12:38:12 -07:00
reed
99138876a6
simplify bitmap scaler and cache
...
BUG=skia:
Review URL: https://codereview.chromium.org/1320513005
2015-08-31 15:16:17 -07:00
halcanary
96fcdcc219
Style Change: NULL->nullptr
...
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
2015-08-27 07:41:16 -07:00
bungeman
f3c15b7cfc
Move SkTemplates.h to private.
...
SkTemplates.h contains a number of Skia specific utilities which are
not designed for external use. In addition to reducing the external
support burden, this will allow Skia to freely refactor this file.
Review URL: https://codereview.chromium.org/1272293004
2015-08-19 11:56:48 -07:00
reed
3c834324d9
change Resize to take pixmap for src
...
BUG=skia:
Review URL: https://codereview.chromium.org/1174293005
2015-06-12 07:09:59 -07:00
reed
ad7ae6c821
switch bitmapshader internals over to pixmap
...
BUG=skia:
NOTRY=True
Review URL: https://codereview.chromium.org/1158273007
2015-06-04 14:12:25 -07:00
reed
64045423dd
refactor bitmapshader to use a controller
...
BUG=skia:
Review URL: https://codereview.chromium.org/1153123003
2015-06-04 06:31:31 -07:00