Go to file
Hans Wennborg c63ec5ca64 Fix tautological comparison in GrTextureDomain.cpp
-1 is not a valid value for the GrTextureDomain::Mode enum, so certain
versions of Clang warn that the comparison is a no-op:

  ../../third_party/skia/src/gpu/effects/GrTextureDomain.cpp:70:23: warning:
  comparison of constant -1 with expression of type 'GrTextureDomain::Mode' is
  always false [-Wtautological-constant-out-of-range-compare]
      SkASSERT((Mode)-1 == fMode || textureDomain.mode() == fMode);
	       ~~~~~~~~ ^  ~~~~~

Bug: chromium:793189
Change-Id: Iba49ae15622285a62ad218dbdd78b0846338b7cb
Reviewed-on: https://skia-review.googlesource.com/82962
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2017-12-09 04:28:39 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
bin bin/try: Add interactive mode 2017-10-18 17:16:16 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
docs resources: resource identifiers don't begin with leading slash 2017-12-08 20:03:18 +00:00
example sk_spification of GrGpu creation. 2017-12-07 17:56:59 +00:00
experimental resources: orgainize directory. 2017-12-08 17:16:00 +00:00
fuzz upgrade SkReadBuffer to always validate 2017-12-06 21:33:00 +00:00
gm Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
gn Add Goma support in gn_flavor. 2017-12-08 20:09:18 +00:00
include centralize encoding to SkData 2017-12-09 01:36:48 +00:00
infra Add new Bookmaker bot that runs nightly 2017-12-08 22:26:38 +00:00
platform_tools Revert "Revert "Add define to use customize vulkan header."" 2017-12-07 18:29:39 +00:00
resources resources: orgainize directory. 2017-12-08 17:16:00 +00:00
samplecode Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
site resources: resource identifiers don't begin with leading slash 2017-12-08 20:03:18 +00:00
src Fix tautological comparison in GrTextureDomain.cpp 2017-12-09 04:28:39 +00:00
tests Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
third_party Update Windows clang asset 2017-12-08 16:55:10 +00:00
tools Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn Allow different identities for iOS code signing 2017-12-07 20:42:00 +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 skia/third_party/externals/angle2/ 58ba6bf5e..9b88991c7 (1 commit) 2017-12-09 01:24:39 +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 PostUploadHook needs to return something 2017-12-07 18:40:09 +00:00
public.bzl Exclude tools/gpu/atlastext from public.bzl 2017-11-19 19:47: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 Removed general bot upload permissions, whitespace change to test 2017-12-04 13:03:34 +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.