Home
last modified time | relevance | path

Searched refs:ProgramDescription (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
DProgramCache.h46 Program* get(const ProgramDescription& description);
51 Program* generateProgram(const ProgramDescription& description, programid key);
52 String8 generateVertexShader(const ProgramDescription& description);
53 String8 generateFragmentShader(const ProgramDescription& description);
DProgramCache.cpp404 Program* ProgramCache::get(const ProgramDescription& description) { in get()
428 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { in generateProgram()
435 static inline size_t gradientIndex(const ProgramDescription& description) { in gradientIndex()
439 String8 ProgramCache::generateVertexShader(const ProgramDescription& description) { in generateVertexShader()
518 static bool shaderOp(const ProgramDescription& description, String8& shader, in shaderOp()
525 String8 ProgramCache::generateFragmentShader(const ProgramDescription& description) { in generateFragmentShader()
584 && description.colorOp == ProgramDescription::ColorFilterMode::None in generateFragmentShader()
596 description.gradientType == ProgramDescription::kGradientLinear; in generateFragmentShader()
646 if (description.colorOp == ProgramDescription::ColorFilterMode::Blend) { in generateFragmentShader()
DSkiaShader.cpp121 GLuint* textureUnit, ProgramDescription* description, in tryStoreGradient()
131 description->gradientType = ProgramDescription::kGradientLinear; in tryStoreGradient()
136 description->gradientType = ProgramDescription::kGradientCircular; in tryStoreGradient()
142 description->gradientType = ProgramDescription::kGradientSweep; in tryStoreGradient()
203 GLuint* textureUnit, ProgramDescription* description, in tryStoreBitmap()
283 ProgramDescription* description, SkiaShaderData* outData) { in storeCompose()
293 GLuint* textureUnit, ProgramDescription* description, in tryStoreCompose()
325 GLuint* textureUnit, ProgramDescription* description, in tryStoreLayer()
361 GLuint* textureUnit, ProgramDescription* description, in store()
DSkiaShader.h35 struct ProgramDescription;
91 GLuint* textureUnit, ProgramDescription* description,
DProgram.h103 struct ProgramDescription { struct
116 ProgramDescription() { in ProgramDescription() argument
309 Program(const ProgramDescription& description, const char* vertex, const char* fragment);
DGlop.h132 ProgramDescription::ColorFilterMode filterMode;
DGlopBuilder.cpp289 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend; in setFill()
301 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Matrix; in setFill()
320 mOutGlop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in setFill()
599 void verify(const ProgramDescription& description, const Glop& glop) { in verify()
708 ALOGD_IF(fill.filterMode != ProgramDescription::ColorFilterMode::None, in dump()
DCaches.h172 void setProgram(const ProgramDescription& description);
DGlopBuilder.h127 ProgramDescription mDescription;
DProgram.cpp29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { in Program()
DCaches.cpp128 void Caches::setProgram(const ProgramDescription& description) { in setProgram()
/frameworks/base/libs/hwui/tests/unit/
DGlopBuilderTests.cpp35 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) { in expectFillEq()
37 } else if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { in expectFillEq()
113 glop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in blackUnitQuadGlop()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp261 if (fill.filterMode == ProgramDescription::ColorFilterMode::Blend) { in render()
265 } else if (fill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { in render()