Home
last modified time | relevance | path

Searched refs:GrEffectStage (Results 1 – 25 of 48) sorted by relevance

12

/external/skia/include/gpu/
DGrEffectStage.h21 class GrEffectStage {
23 explicit GrEffectStage(const GrEffectRef* effectRef, int attrIndex0 = -1, int attrIndex1 = -1)
30 GrEffectStage(const GrEffectStage& other) { in GrEffectStage() function
36 explicit GrEffectStage(const DeferredStage& deferredStage) { in GrEffectStage() function
40 GrEffectStage& operator= (const GrEffectStage& other) {
50 bool operator== (const GrEffectStage& other) const {
69 bool operator!= (const GrEffectStage& s) const { return !(*this == s); }
92 friend class GrEffectStage;
139 void saveFrom(const GrEffectStage& stage) { in saveFrom()
153 void restoreTo(GrEffectStage* stage) const { in restoreTo()
[all …]
DGrPaint.h95 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrEffectStage, (effect, attr0, attr1));
107 SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrEffectStage, (effect, attr0, attr1));
129 const GrEffectStage& getColorStage(int s) const { return fColorStages[s]; } in getColorStage()
130 const GrEffectStage& getCoverageStage(int s) const { return fCoverageStages[s]; } in getCoverageStage()
218 SkSTArray<4, GrEffectStage> fColorStages;
219 SkSTArray<2, GrEffectStage> fCoverageStages;
DGrDrawEffect.h21 GrDrawEffect(const GrEffectStage& stage, bool explicitLocalCoords) in GrDrawEffect()
46 const GrEffectStage* fEffectStage;
/external/chromium_org/third_party/skia/include/gpu/
DGrEffectStage.h21 class GrEffectStage {
23 explicit GrEffectStage(const GrEffectRef* effectRef, int attrIndex0 = -1, int attrIndex1 = -1)
30 GrEffectStage(const GrEffectStage& other) { in GrEffectStage() function
36 explicit GrEffectStage(const DeferredStage& deferredStage) { in GrEffectStage() function
40 GrEffectStage& operator= (const GrEffectStage& other) {
50 bool operator== (const GrEffectStage& other) const {
69 bool operator!= (const GrEffectStage& s) const { return !(*this == s); }
92 friend class GrEffectStage;
139 void saveFrom(const GrEffectStage& stage) { in saveFrom()
153 void restoreTo(GrEffectStage* stage) const { in restoreTo()
[all …]
DGrPaint.h95 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrEffectStage, (effect, attr0, attr1));
107 SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrEffectStage, (effect, attr0, attr1));
129 const GrEffectStage& getColorStage(int s) const { return fColorStages[s]; } in getColorStage()
130 const GrEffectStage& getCoverageStage(int s) const { return fCoverageStages[s]; } in getCoverageStage()
218 SkSTArray<4, GrEffectStage> fColorStages;
219 SkSTArray<2, GrEffectStage> fCoverageStages;
DGrDrawEffect.h21 GrDrawEffect(const GrEffectStage& stage, bool explicitLocalCoords) in GrDrawEffect()
46 const GrEffectStage* fEffectStage;
/external/skia/src/gpu/gl/
DGrGLProgram.h43 const GrEffectStage* colorStages[],
44 const GrEffectStage* coverageStages[]);
129 const GrEffectStage* colorStages[],
130 const GrEffectStage* coverageStages[],
155 const GrEffectStage* colorStages[],
156 const GrEffectStage* coverageStages[]);
165 const GrEffectStage* colorStages[],
166 const GrEffectStage* coverageStages[]);
DGrGLProgramEffects.h16 class GrEffectStage; variable
52 const GrEffectStage* effectStages[]) = 0;
137 virtual void emitEffect(const GrEffectStage&,
153 const GrEffectStage* effectStages[]) SK_OVERRIDE;
169 const GrEffectStage&,
178 void emitAttributes(GrGLFullShaderBuilder*, const GrEffectStage&);
218 virtual void emitEffect(const GrEffectStage&,
247 const GrEffectStage* effectStages[]) SK_OVERRIDE;
262 const GrEffectStage&,
306 virtual void emitEffect(const GrEffectStage&,
DGrGLShaderBuilder.h23 class GrEffectStage; variable
186 virtual GrGLProgramEffects* createAndEmitEffects(const GrEffectStage* effectStages[],
246 const GrEffectStage* effectStages[],
267 const GrEffectStage* effectStage() const { in effectStage()
279 AutoStageRestore(CodeStage* codeStage, const GrEffectStage* newStage) { in AutoStageRestore()
300 const GrEffectStage* fSavedEffectStage;
306 const GrEffectStage* fEffectStage;
415 const GrEffectStage* effectStages[],
464 const GrEffectStage* effectStages[],
DGrGLProgram.cpp25 const GrEffectStage* colorStages[], in Create()
26 const GrEffectStage* coverageStages[]) { in Create()
37 const GrEffectStage* colorStages[], in GrGLProgram()
38 const GrEffectStage* coverageStages[]) in GrGLProgram()
98 const GrEffectStage* colorStages[], in genProgram()
99 const GrEffectStage* coverageStages[]) { in genProgram()
195 const GrEffectStage* colorStages[], in setData()
196 const GrEffectStage* coverageStages[], in setData()
DGrGLProgramDesc.h54 const GrEffectStage* stages[],
73 SkTArray<const GrEffectStage*, true>* outColorStages,
74 SkTArray<const GrEffectStage*, true>* outCoverageStages,
DGrGLProgramDesc.cpp18 inline GrGLEffect::EffectKey get_key_and_update_stats(const GrEffectStage& stage, in get_key_and_update_stats()
46 SkTArray<const GrEffectStage*, true>* colorStages, in Build() argument
47 SkTArray<const GrEffectStage*, true>* coverageStages, in Build()
262 SkTArray<const GrEffectStage*, true>* array; in Build()
DGrGLProgramEffects.cpp263 const GrEffectStage& stage, in emitEffect()
298 const GrEffectStage& stage) { in emitAttributes()
405 const GrEffectStage* effectStages[]) { in setData()
461 void GrGLVertexProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, in emitEffect()
473 const GrEffectStage& stage, in emitEffect()
521 const GrEffectStage* effectStages[]) { in setData()
579 void GrGLTexGenProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, in emitEffect()
DGrGpuGL_program.cpp92 const GrEffectStage* colorStages[], in getProgram()
93 const GrEffectStage* coverageStages[]) { in getProgram()
232 SkSTArray<8, const GrEffectStage*, true> colorStages; in flushGraphicsState()
233 SkSTArray<8, const GrEffectStage*, true> coverageStages; in flushGraphicsState()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLProgram.h43 const GrEffectStage* colorStages[],
44 const GrEffectStage* coverageStages[]);
129 const GrEffectStage* colorStages[],
130 const GrEffectStage* coverageStages[],
155 const GrEffectStage* colorStages[],
156 const GrEffectStage* coverageStages[]);
165 const GrEffectStage* colorStages[],
166 const GrEffectStage* coverageStages[]);
DGrGLProgramEffects.h16 class GrEffectStage; variable
52 const GrEffectStage* effectStages[]) = 0;
137 virtual void emitEffect(const GrEffectStage&,
153 const GrEffectStage* effectStages[]) SK_OVERRIDE;
169 const GrEffectStage&,
178 void emitAttributes(GrGLFullShaderBuilder*, const GrEffectStage&);
218 virtual void emitEffect(const GrEffectStage&,
247 const GrEffectStage* effectStages[]) SK_OVERRIDE;
262 const GrEffectStage&,
306 virtual void emitEffect(const GrEffectStage&,
DGrGLShaderBuilder.h23 class GrEffectStage; variable
186 virtual GrGLProgramEffects* createAndEmitEffects(const GrEffectStage* effectStages[],
246 const GrEffectStage* effectStages[],
267 const GrEffectStage* effectStage() const { in effectStage()
279 AutoStageRestore(CodeStage* codeStage, const GrEffectStage* newStage) { in AutoStageRestore()
300 const GrEffectStage* fSavedEffectStage;
306 const GrEffectStage* fEffectStage;
415 const GrEffectStage* effectStages[],
464 const GrEffectStage* effectStages[],
DGrGLProgram.cpp25 const GrEffectStage* colorStages[], in Create()
26 const GrEffectStage* coverageStages[]) { in Create()
37 const GrEffectStage* colorStages[], in GrGLProgram()
38 const GrEffectStage* coverageStages[]) in GrGLProgram()
98 const GrEffectStage* colorStages[], in genProgram()
99 const GrEffectStage* coverageStages[]) { in genProgram()
195 const GrEffectStage* colorStages[], in setData()
196 const GrEffectStage* coverageStages[], in setData()
DGrGLProgramDesc.h54 const GrEffectStage* stages[],
73 SkTArray<const GrEffectStage*, true>* outColorStages,
74 SkTArray<const GrEffectStage*, true>* outCoverageStages,
DGrGLProgramDesc.cpp18 inline GrGLEffect::EffectKey get_key_and_update_stats(const GrEffectStage& stage, in get_key_and_update_stats()
46 SkTArray<const GrEffectStage*, true>* colorStages, in Build() argument
47 SkTArray<const GrEffectStage*, true>* coverageStages, in Build()
262 SkTArray<const GrEffectStage*, true>* array; in Build()
DGrGLProgramEffects.cpp263 const GrEffectStage& stage, in emitEffect()
298 const GrEffectStage& stage) { in emitAttributes()
405 const GrEffectStage* effectStages[]) { in setData()
461 void GrGLVertexProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, in emitEffect()
473 const GrEffectStage& stage, in emitEffect()
521 const GrEffectStage* effectStages[]) { in setData()
579 void GrGLTexGenProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, in emitEffect()
DGrGpuGL_program.cpp92 const GrEffectStage* colorStages[], in getProgram()
93 const GrEffectStage* coverageStages[]) { in getProgram()
232 SkSTArray<8, const GrEffectStage*, true> colorStages; in flushGraphicsState()
233 SkSTArray<8, const GrEffectStage*, true> coverageStages; in flushGraphicsState()
/external/skia/src/gpu/
DGrDrawState.h346 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrEffectStage, (effect, attr0, attr1));
352 SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrEffectStage, (effect, attr0, attr1));
425 const GrEffectStage& getColorStage(int stageIdx) const { return fColorStages[stageIdx]; } in getColorStage()
426 const GrEffectStage& getCoverageStage(int stageIdx) const { return fCoverageStages[stageIdx]; } in getCoverageStage()
620 SkAutoSTArray<8, GrEffectStage::SavedCoordChange> fSavedCoordChanges;
948 GrEffectStage::SavedCoordChange fCoordChange;
992 SkNEW_APPEND_TO_TARRAY(&drawState->fColorStages, GrEffectStage, (fStages[i])); in restoreTo()
998 GrEffectStage, (fStages[i + fColorStageCnt])); in restoreTo()
1026 typedef SkAutoSTArray<8, GrEffectStage::DeferredStage> DeferredStageArray;
1041 typedef SkSTArray<4, GrEffectStage> EffectStageArray;
/external/chromium_org/third_party/skia/src/gpu/
DGrDrawState.h346 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrEffectStage, (effect, attr0, attr1));
352 SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrEffectStage, (effect, attr0, attr1));
425 const GrEffectStage& getColorStage(int stageIdx) const { return fColorStages[stageIdx]; } in getColorStage()
426 const GrEffectStage& getCoverageStage(int stageIdx) const { return fCoverageStages[stageIdx]; } in getCoverageStage()
620 SkAutoSTArray<8, GrEffectStage::SavedCoordChange> fSavedCoordChanges;
948 GrEffectStage::SavedCoordChange fCoordChange;
992 SkNEW_APPEND_TO_TARRAY(&drawState->fColorStages, GrEffectStage, (fStages[i])); in restoreTo()
998 GrEffectStage, (fStages[i + fColorStageCnt])); in restoreTo()
1026 typedef SkAutoSTArray<8, GrEffectStage::DeferredStage> DeferredStageArray;
1041 typedef SkSTArray<4, GrEffectStage> EffectStageArray;
/external/skia/tests/
DGLProgramsTest.cpp29 const GrEffectStage* stages[], in setRandom()
166 SkAutoSTMalloc<8, const GrEffectStage*> stages(numStages); in programUnitTest()
200 GrEffectStage* stage = SkNEW_ARGS(GrEffectStage, in programUnitTest()

12