OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:texUnitIdx
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/skia/src/gpu/gl/
GrGLProgram.cpp
79
GrGLint
texUnitIdx
= 0;
81
fProgramDataManager.setSampler(fBuiltinUniformHandles.fDstCopySamplerUni,
texUnitIdx
);
82
fDstCopyTexUnit =
texUnitIdx
++;
85
fGeometryProcessor->initSamplers(fProgramDataManager, &
texUnitIdx
);
87
fColorEffects->initSamplers(fProgramDataManager, &
texUnitIdx
);
88
fCoverageEffects->initSamplers(fProgramDataManager, &
texUnitIdx
);
GrGLProgramEffects.cpp
62
void GrGLProgramEffects::initSamplers(const GrGLProgramDataManager& programResourceManager, int*
texUnitIdx
) {
70
programResourceManager.setSampler(samplers[s].fUniform, *
texUnitIdx
);
71
samplers[s].fTextureUnit = (*
texUnitIdx
)++;
GrGLProgramEffects.h
36
* Assigns a texture unit to each sampler. It starts on *
texUnitIdx
and writes the next
37
* available unit to *
texUnitIdx
when it returns.
39
void initSamplers(const GrGLProgramDataManager&, int*
texUnitIdx
);
/external/skia/src/gpu/gl/
GrGLProgram.cpp
85
GrGLint
texUnitIdx
= 0;
87
fUniformManager->setSampler(fBuilderOutput.fUniformHandles.fDstCopySamplerUni,
texUnitIdx
);
88
fDstCopyTexUnit =
texUnitIdx
++;
90
fBuilderOutput.fColorEffects->initSamplers(*fUniformManager, &
texUnitIdx
);
91
fBuilderOutput.fCoverageEffects->initSamplers(*fUniformManager, &
texUnitIdx
);
GrGLProgramEffects.h
42
* Assigns a texture unit to each sampler. It starts on *
texUnitIdx
and writes the next
43
* available unit to *
texUnitIdx
when it returns.
45
void initSamplers(const GrGLUniformManager&, int*
texUnitIdx
);
GrGLProgramEffects.cpp
233
void GrGLProgramEffects::initSamplers(const GrGLUniformManager& uniformManager, int*
texUnitIdx
) {
241
uniformManager.setSampler(samplers[s].fUniform, *
texUnitIdx
);
242
samplers[s].fTextureUnit = (*
texUnitIdx
)++;
Completed in 192 milliseconds