Rename GrContextFactory::ContextOptions to ContextOverrides
authorcsmartdalton <csmartdalton@google.com>
Tue, 21 Feb 2017 19:36:05 +0000 (12:36 -0700)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 21 Feb 2017 21:45:45 +0000 (21:45 +0000)
commite812d496aaa5e5e9f2117de8f442c297c9cb1367
tree7342c7c6e048e3a226e162d7d1bcbf6ffbcddc55
parente026511f4c4b90bfe842f89966d088b663fc8c13
Rename GrContextFactory::ContextOptions to ContextOverrides

Also changes the behavior of these flags to only override their
corresponding context options when set, and to leave them unchanged
when not set.

BUG=skia:

Change-Id: I09f6be09997594fa888d9045dd4901354ef3f880
Reviewed-on: https://skia-review.googlesource.com/8780
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
13 files changed:
bench/nanobench.cpp
bench/nanobench.h
dm/DM.cpp
dm/DMGpuSupport.h
dm/DMSrcSink.cpp
dm/DMSrcSink.h
tests/GrContextFactoryTest.cpp
tools/flags/SkCommonFlagsConfig.cpp
tools/flags/SkCommonFlagsConfig.h
tools/gpu/GrContextFactory.cpp
tools/gpu/GrContextFactory.h
tools/skiaserve/Request.cpp
tools/skpbench/skpbench.cpp