OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrEffectRef
(Results
1 - 25
of
55
) sorted by null
1
2
3
/external/skia/include/gpu/
GrEffectUnitTest.h
34
class
GrEffectRef
;
40
typedef
GrEffectRef
* (*CreateProc)(SkRandom*, GrContext*, GrTexture* dummyTextures[]);
47
static
GrEffectRef
* CreateStage(SkRandom* random,
65
static
GrEffectRef
* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2])
83
static
GrEffectRef
* TestCreate(SkRandom*, GrContext*, GrTexture* dummyTextures[2])
GrEffect.h
26
*
GrEffectRef
ref count reaches zero the scratch GrResources owned by the effect can be recycled
30
class
GrEffectRef
: public SkRefCnt {
32
SK_DECLARE_INST_COUNT(
GrEffectRef
);
46
explicit
GrEffectRef
(GrEffect* effect);
48
virtual ~
GrEffectRef
();
61
GrEffect subclass objects should be created by factory functions that return
GrEffectRef
.
62
There is no public way to wrap a GrEffect in a
GrEffectRef
. Thus, a factory should be a static
65
Because almost no code should ever handle a GrEffect outside of a
GrEffectRef
, we privately
122
bool isEqual(const
GrEffectRef
& other) const {
152
keeps the effect alive outside of
GrEffectRef
while allowing any resources owned by th
[
all
...]
GrBackendEffectFactory.h
26
class
GrEffectRef
;
47
virtual GrGLEffect* createGLInstance(const
GrEffectRef
&) const = 0;
GrEffectStage.h
68
GR_DEBUGCODE(mutable SkAutoTUnref<const
GrEffectRef
> fEffectRef;)
125
const
GrEffectRef
* oldEffectRef = stage->fEffectRef;
165
const
GrEffectRef
* setEffect(const
GrEffectRef
* EffectRef) {
172
const
GrEffectRef
* getEffect() const { return fEffectRef; }
176
const
GrEffectRef
* fEffectRef;
GrTBackendEffectFactory.h
51
virtual GLEffect* createGLInstance(const
GrEffectRef
& effect) const SK_OVERRIDE {
/external/skia/src/gpu/
GrEffect.cpp
63
SK_DEFINE_INST_COUNT(
GrEffectRef
)
65
GrEffectRef
::~
GrEffectRef
() {
71
void*
GrEffectRef
::operator new(size_t size) {
75
void
GrEffectRef
::operator delete(void* target) {
/external/skia/include/core/
SkColorFilter.h
18
class
GrEffectRef
;
121
virtual
GrEffectRef
* asNewEffect(GrContext*) const;
SkImageFilter.h
19
class
GrEffectRef
;
95
virtual bool asNewEffect(
GrEffectRef
** effect, GrTexture*) const;
SkShader.h
21
class
GrEffectRef
;
324
virtual
GrEffectRef
* asNewEffect(GrContext* context, const SkPaint& paint) const;
/external/skia/src/gpu/effects/
GrConvolutionEffect.h
25
static
GrEffectRef
* Create(GrTexture* tex, Direction dir, int halfWidth, const float* kernel) {
34
static
GrEffectRef
* CreateGaussian(GrTexture* tex,
GrSimpleTextureEffect.h
23
static
GrEffectRef
* Create(GrTexture* tex, const SkMatrix& matrix) {
29
static
GrEffectRef
* Create(GrTexture* tex, const SkMatrix& matrix, bool bilerp) {
34
static
GrEffectRef
* Create(GrTexture* tex, const SkMatrix& matrix, const GrTextureParams& p) {
GrConfigConversionEffect.h
38
static const
GrEffectRef
* Create(GrTexture*,
GrSimpleTextureEffect.cpp
18
GrGLSimpleTextureEffect(const GrBackendEffectFactory& factory, const
GrEffectRef
&)
70
GrEffectRef
* GrSimpleTextureEffect::TestCreate(SkRandom* random,
GrConfigConversionEffect.cpp
19
const
GrEffectRef
& s) : INHERITED (factory) {
134
GrEffectRef
* GrConfigConversionEffect::TestCreate(SkRandom* random,
229
SkAutoTUnref<
GrEffectRef
> pmToUPMEffect1(CreateEffectRef(pmToUPM1));
230
SkAutoTUnref<
GrEffectRef
> upmToPMEffect(CreateEffectRef(upmToPM));
231
SkAutoTUnref<
GrEffectRef
> pmToUPMEffect2(CreateEffectRef(pmToUPM2));
264
const
GrEffectRef
* GrConfigConversionEffect::Create(GrTexture* texture,
/external/skia/src/gpu/gl/
GrGLEffect.h
89
static EffectKey GenTextureKey(const
GrEffectRef
*, const GrGLCaps&);
103
* Extracts the GrEffect from a
GrEffectRef
and down-casts to a GrEffect subclass. Usually used
104
* in a GrGLEffect subclass's constructor (which takes const
GrEffectRef
&).
107
static const T& CastEffect(const
GrEffectRef
& effectRef) {
GrGLEffect.cpp
23
GrGLEffect::EffectKey GrGLEffect::GenTextureKey(const
GrEffectRef
* effect,
/external/skia/include/effects/
SkMagnifierImageFilter.h
19
virtual bool asNewEffect(
GrEffectRef
** effect, GrTexture* texture) const SK_OVERRIDE;
SkColorMatrixFilter.h
25
virtual
GrEffectRef
* asNewEffect(GrContext*) const SK_OVERRIDE;
SkMatrixConvolutionImageFilter.h
65
virtual bool asNewEffect(
GrEffectRef
**, GrTexture*) const SK_OVERRIDE;
/external/skia/src/core/
SkBitmapProcShader.h
36
GrEffectRef
* asNewEffect(GrContext*, const SkPaint&) const SK_OVERRIDE;
/external/skia/src/effects/gradients/
SkLinearGradient.h
25
virtual
GrEffectRef
* asNewEffect(GrContext* context, const SkPaint&) const SK_OVERRIDE;
SkRadialGradient.h
27
virtual
GrEffectRef
* asNewEffect(GrContext* context, const SkPaint&) const SK_OVERRIDE;
SkSweepGradient.h
27
virtual
GrEffectRef
* asNewEffect(GrContext* context, const SkPaint&) const SK_OVERRIDE;
SkTwoPointRadialGradient.h
26
virtual
GrEffectRef
* asNewEffect(GrContext* context, const SkPaint&) const SK_OVERRIDE;
/external/skia/tests/
GLProgramsTest.cpp
34
const
GrEffectRef
* create_random_effect(SkRandom* random,
40
GrEffectRef
* effect = GrEffectTestFactory::CreateStage(&sk_random, context, dummyTextures);
125
SkAutoTUnref<const
GrEffectRef
> effect(create_random_effect(&random,
Completed in 247 milliseconds
1
2
3