aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-08-15 09:01:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-15 13:19:36 +0000
commit5b117eafdf213f57b8873addcd8f558aceb76af8 (patch)
tree33017909e897b4d991cfaef32e6ff43099b17225 /src/jumper
parent8e7503195c40492df6a9c072d3303c9df9ec32dc (diff)
rename confusing lowp guard
Change-Id: I346429015e5f902b0a35663e140bb9a025c4220e Reviewed-on: https://skia-review.googlesource.com/34680 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/jumper')
-rw-r--r--src/jumper/SkJumper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jumper/SkJumper.cpp b/src/jumper/SkJumper.cpp
index e1888a8647..8d773b07c7 100644
--- a/src/jumper/SkJumper.cpp
+++ b/src/jumper/SkJumper.cpp
@@ -30,7 +30,7 @@ static K kConstants = {
static const int kNumStages = SK_RASTER_PIPELINE_STAGES(M);
#undef M
-#ifndef SK_DISABLE_SSSE3_RUNTIME_CHECK_FOR_LOWP_STAGES
+#ifndef SK_JUMPER_DISABLE_8BIT
#if 0 && !__has_feature(memory_sanitizer) && (defined(__x86_64__) || defined(_M_X64))
#include <atomic>
@@ -334,7 +334,7 @@ static SkJumper_Engine choose_engine() {
return kPortable;
}
-#ifndef SK_DISABLE_SSSE3_RUNTIME_CHECK_FOR_LOWP_STAGES
+#ifndef SK_JUMPER_DISABLE_8BIT
static const SkJumper_Engine kNone = {
#define M(stage) nullptr,
{ SK_RASTER_PIPELINE_STAGES(M) },
@@ -380,7 +380,7 @@ static SkJumper_Engine choose_engine() {
#endif
const SkJumper_Engine& SkRasterPipeline::build_pipeline(void** ip) const {
-#ifndef SK_DISABLE_SSSE3_RUNTIME_CHECK_FOR_LOWP_STAGES
+#ifndef SK_JUMPER_DISABLE_8BIT
gChooseLowpOnce([]{ gLowp = choose_lowp(); });
// First try to build a lowp pipeline. If that fails, fall back to normal float gEngine.