Go to file
Brian Osman 1b97f13904 Revert "Defer mip-mapping until lazy proxy instantiation"
This reverts commit 475819cab7.

Reason for revert: No, let's not defer.

Original change's description:
> Defer mip-mapping until lazy proxy instantiation
> 
> - Remove some checks for truly impossible failures (levelCount < 0)
> - Use helper method to predict number of mips, then verify correct
>   results in the lambda.
> - Split up SkMipMap::Build with a CanBuild helper, so GPU code can
>   predict success/failure accurately.
> - This is going to simplify the case where we need to change the
>   config for unsupported formats.
> 
> Bug: skia:8375
> Change-Id: Ied523ab55c38b8c8e7e2ae983744ed400497939b
> Reviewed-on: https://skia-review.googlesource.com/154080
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reed@google.com

Change-Id: I04dbc458103f7bb5a7c28da28b0256d7a2b8b3d3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:8375
Reviewed-on: https://skia-review.googlesource.com/154304
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-09-13 17:33:52 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench SkPDF: SkPDFMakeArray; clean up pdfutils, pdfresourcedict 2018-09-12 21:41:35 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm encode F16/F32 .pngs as Rec2020 2018-09-13 15:43:02 +00:00
docker Fix container builder command line. 2018-09-12 18:44:59 +00:00
docs Condense embedded formulas. 2018-09-13 16:50:25 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [PathKit] Move from experimental to modules 2018-08-31 14:18:16 +00:00
fuzz Fix SkPath::reverseAddPath and fuzzing of SkPath enums 2018-09-13 13:10:33 +00:00
gm add a linear gradient to P3 gm 2018-09-13 13:30:22 +00:00
gn Implement radial gradient layout 2018-09-13 16:58:25 +00:00
include fix 100 column violators in generated includes 2018-09-13 16:00:54 +00:00
infra [infra] Add pubsub emulator to gcloud asset 2018-09-13 14:27:19 +00:00
modules [sksg] Trim down sksg::Matrix size 2018-09-12 15:28:18 +00:00
platform_tools [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
resources Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
samplecode Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
site Condense embedded formulas. 2018-09-13 16:50:25 +00:00
src Revert "Defer mip-mapping until lazy proxy instantiation" 2018-09-13 17:33:52 +00:00
tests Add Vulkan support to GrAHardwareBufferImageGenerator 2018-09-13 12:54:53 +00:00
third_party Roll skia/third_party/skcms 710aa46f904e..b9dc92669da2 (1 commits) 2018-09-12 20:59:40 +00:00
tools Condense embedded formulas. 2018-09-13 16:50:25 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn [skottie] Enable skotte_tool on Mac builds 2018-09-02 16:54:52 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 44286dc870e3..daab00149ee5 (1 commits) 2018-09-13 14:55:04 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Add new autoroll service accounts to AUTHORS check bypass 2018-09-07 18:49:23 +00:00
public.bzl Reland "Base Gradient FP Refactor" 2018-09-12 20:20:32 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace change to trigger flutter roller 2018-06-22 01:18:46 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.