OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrXferProcessor
(Results
1 - 25
of
28
) sorted by null
1
2
/external/skia/src/gpu/effects/
GrDisableColorXP.cpp
19
class DisableColorXP : public
GrXferProcessor
{
31
void onGetBlendInfo(
GrXferProcessor
::BlendInfo* blendInfo) const override;
33
bool onIsEqual(const
GrXferProcessor
& xpBase) const override {
37
typedef
GrXferProcessor
INHERITED;
59
void onSetData(const GrGLSLProgramDataManager&, const
GrXferProcessor
&) override {}
72
void DisableColorXP::onGetBlendInfo(
GrXferProcessor
::BlendInfo* blendInfo) const {
77
sk_sp<const
GrXferProcessor
> GrDisableColorXPFactory::makeXferProcessor(
82
return sk_sp<const
GrXferProcessor
>(new DisableColorXP);
GrPorterDuffXferProcessor.h
12
#include "
GrXferProcessor
.h"
26
static sk_sp<const
GrXferProcessor
> MakeSrcOverXferProcessor(const GrProcessorAnalysisColor&,
32
static sk_sp<const
GrXferProcessor
> MakeNoCoverageXP(SkBlendMode);
36
static const
GrXferProcessor
& SimpleSrcOverXP();
45
sk_sp<const
GrXferProcessor
> makeXferProcessor(const GrProcessorAnalysisColor&,
55
static void TestGetXPOutputTypes(const
GrXferProcessor
*, int* outPrimary, int* outSecondary);
GrCustomXfermode.cpp
72
class CustomXP : public
GrXferProcessor
{
106
bool onIsEqual(const
GrXferProcessor
& xpBase) const override;
111
typedef
GrXferProcessor
INHERITED;
118
GLCustomXP(const
GrXferProcessor
&) {}
121
static void GenKey(const
GrXferProcessor
& p, const GrShaderCaps& caps,
157
const
GrXferProcessor
& proc) override {
168
void onSetData(const GrGLSLProgramDataManager&, const
GrXferProcessor
&) override {}
184
bool CustomXP::onIsEqual(const
GrXferProcessor
& other) const {
215
sk_sp<const
GrXferProcessor
> makeXferProcessor(const GrProcessorAnalysisColor&,
235
sk_sp<const
GrXferProcessor
> CustomXPFactory::makeXferProcessor
[
all
...]
GrCoverageSetOpXP.h
12
#include "
GrXferProcessor
.h"
33
sk_sp<const
GrXferProcessor
> makeXferProcessor(const GrProcessorAnalysisColor&,
GrDisableColorXP.h
12
#include "
GrXferProcessor
.h"
34
sk_sp<const
GrXferProcessor
> makeXferProcessor(const GrProcessorAnalysisColor&,
GrCoverageSetOpXP.cpp
19
class CoverageSetOpXP : public
GrXferProcessor
{
36
void onGetBlendInfo(
GrXferProcessor
::BlendInfo* blendInfo) const override;
38
bool onIsEqual(const
GrXferProcessor
& xpBase) const override {
47
typedef
GrXferProcessor
INHERITED;
77
void onSetData(const GrGLSLProgramDataManager&, const
GrXferProcessor
&) override {}
93
void CoverageSetOpXP::onGetBlendInfo(
GrXferProcessor
::BlendInfo* blendInfo) const {
210
sk_sp<const
GrXferProcessor
> GrCoverageSetOpXPFactory::makeXferProcessor(
223
return sk_sp<
GrXferProcessor
>(new CoverageSetOpXP(fRegionOp, fInvertCoverage));
GrPorterDuffXferProcessor.cpp
16
#include "
GrXferProcessor
.h"
397
class PorterDuffXferProcessor : public
GrXferProcessor
{
416
void onGetBlendInfo(
GrXferProcessor
::BlendInfo* blendInfo) const override {
423
bool onIsEqual(const
GrXferProcessor
& xpBase) const override {
430
typedef
GrXferProcessor
INHERITED;
490
void onSetData(const GrGLSLProgramDataManager&, const
GrXferProcessor
&) override {}
508
class ShaderPDXferProcessor : public
GrXferProcessor
{
525
bool onIsEqual(const
GrXferProcessor
& xpBase) const override {
532
typedef
GrXferProcessor
INHERITED;
552
const
GrXferProcessor
& proc) override
[
all
...]
/external/skia/src/gpu/glsl/
GrGLSLXferProcessor.h
15
class
GrXferProcessor
;
33
const
GrXferProcessor
& xp,
53
const
GrXferProcessor
& fXP;
69
uniform variables required by the shaders created in emitCode(). The
GrXferProcessor
74
void setData(const GrGLSLProgramDataManager& pdm, const
GrXferProcessor
& xp,
83
const
GrXferProcessor
& proc);
89
* it can construct a
GrXferProcessor
that will not read the dst color.
98
* method if it can construct a
GrXferProcessor
that reads the dst color.
107
const
GrXferProcessor
&) {
111
virtual void onSetData(const GrGLSLProgramDataManager&, const
GrXferProcessor
&) = 0
[
all
...]
GrGLSLXferProcessor.cpp
12
#include "
GrXferProcessor
.h"
22
const
GrXferProcessor
& proc) {
110
void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const
GrXferProcessor
& xp,
132
const
GrXferProcessor
& proc) {
GrGLSLProgramBuilder.h
176
void verify(const
GrXferProcessor
&);
GrGLSLProgramBuilder.cpp
209
const
GrXferProcessor
& xp = fPipeline.getXferProcessor();
423
void GrGLSLProgramBuilder::verify(const
GrXferProcessor
& xp) {
/external/skia/src/gpu/
GrXferProcessor.cpp
8
#include "
GrXferProcessor
.h"
12
GrXferProcessor
::
GrXferProcessor
()
17
GrXferProcessor
::
GrXferProcessor
(bool willReadDstColor, bool hasMixedSamples,
23
bool
GrXferProcessor
::hasSecondaryOutput() const {
30
void
GrXferProcessor
::getBlendInfo(BlendInfo* blendInfo) const {
39
void
GrXferProcessor
::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b,
145
SkString
GrXferProcessor
::BlendInfo::dump() const {
178
sk_sp<const
GrXferProcessor
> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory
[
all
...]
GrXferProcessor.h
35
*
GrXferProcessor
is responsible for implementing the xfer mode that blends the src color and dst
38
* write a seconday fragment shader output color.
GrXferProcessor
has two modes of operation:
41
*
GrXferProcessor
may read the destination color. While operating in this mode, the subclass only
47
* A
GrXferProcessor
is never installed directly into our draw state, but instead is created from a
50
class
GrXferProcessor
: public GrProcessor, public GrNonAtomicRef<
GrXferProcessor
> {
55
*
GrXferProcessor
for blending in the fragment shader.
117
for the given
GrXferProcessor
; caller is responsible for deleting
175
bool isEqual(const
GrXferProcessor
& that) const {
192
GrXferProcessor
();
[
all
...]
GrProcessorSet.h
15
#include "
GrXferProcessor
.h"
48
const
GrXferProcessor
* xferProcessor() const {
52
sk_sp<const
GrXferProcessor
> refXferProcessor() const {
144
GrProcessorSet(Empty) : fXP((const
GrXferProcessor
*)nullptr), fFlags(kFinalized_Flag) {}
153
XP(const
GrXferProcessor
* processor) : fProcessor(processor) {}
155
const
GrXferProcessor
* fProcessor;
GrPipeline.h
85
GrXferProcessor
::DstProxy fDstProxy;
162
const
GrXferProcessor
& getXferProcessor() const {
166
// A null xp member means the common src-over case.
GrXferProcessor
's ref'ing
173
* If the
GrXferProcessor
uses a texture to access the dst color, then this returns that
282
sk_sp<const
GrXferProcessor
> fXferProcessor;
GrRenderTargetOpList.h
36
using DstProxy =
GrXferProcessor
::DstProxy;
GrOpFlushState.h
102
GrXferProcessor
::DstProxy fDstProxy;
239
const
GrXferProcessor
::DstProxy& dstProxy() const {
GrProcessorSet.cpp
11
#include "
GrXferProcessor
.h"
139
const
GrXferProcessor
& thisXP = this->xferProcessor()
142
const
GrXferProcessor
& thatXP = that.xferProcessor()
GrProgramDesc.cpp
134
static bool gen_meta_key(const
GrXferProcessor
& xp,
199
const
GrXferProcessor
& xp = pipeline.getXferProcessor();
GrRenderTargetContext.h
18
#include "
GrXferProcessor
.h"
417
// be used by
GrXferProcessor
to access the destination color in 'result'. If the return
422
GrXferProcessor
::DstProxy* result);
/external/skia/src/gpu/vk/
GrVkPipeline.h
20
class
GrXferProcessor
;
46
const
GrXferProcessor
&);
GrVkPipeline.cpp
347
GrXferProcessor
::BlendInfo blendInfo;
536
const
GrXferProcessor
& xferProcessor) {
537
GrXferProcessor
::BlendInfo blendInfo;
/external/skia/tests/
GrPorterDuffTest.cpp
17
#include "
GrXferProcessor
.h"
86
sk_sp<const
GrXferProcessor
> xp(
106
GrXferProcessor
::BlendInfo fBlendInfo;
109
static void GetXPOutputTypes(const
GrXferProcessor
* xp, int* outPrimary, int* outSecondary) {
[
all
...]
/external/skia/src/gpu/gl/
GrGLProgram.cpp
18
#include "
GrXferProcessor
.h"
93
const
GrXferProcessor
& xp = pipeline.getXferProcessor();
GrGLGpu.h
22
#include "
GrXferProcessor
.h"
283
void flushBlend(const
GrXferProcessor
::BlendInfo& blendInfo, const GrSwizzle&);
Completed in 218 milliseconds
1
2