Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrDisableColorXP.h
Go to the documentation of this file.
1/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef GrDisableColorXP_DEFINED
9#define GrDisableColorXP_DEFINED
10
15
16class GrCaps;
17enum class GrClampType;
18
19// See the comment above GrXPFactory's definition about this warning suppression.
20#if defined(__GNUC__)
21#pragma GCC diagnostic push
22#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
23#endif
24#if defined(__clang__)
25#pragma clang diagnostic push
26#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
27#endif
54#if defined(__GNUC__)
55#pragma GCC diagnostic pop
56#endif
57#if defined(__clang__)
58#pragma clang diagnostic pop
59#endif
60
62 static constexpr const GrDisableColorXPFactory gDisableColorXPFactory;
63 return &gDisableColorXPFactory;
64}
65
66#endif
GrProcessorAnalysisCoverage
#define GR_DECLARE_XP_FACTORY_TEST
GrClampType
static sk_sp< const GrXferProcessor > MakeXferProcessor()
static const GrDisableColorXPFactory * Get()
AnalysisProperties analysisProperties(const GrProcessorAnalysisColor &, const GrProcessorAnalysisCoverage &, const GrCaps &, GrClampType) const override
sk_sp< const GrXferProcessor > makeXferProcessor(const GrProcessorAnalysisColor &, GrProcessorAnalysisCoverage, const GrCaps &, GrClampType) const override
constexpr GrXPFactory()