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);
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()
201 GLuint* textureUnit, ProgramDescription* description, in tryStoreBitmap()
287 ProgramDescription* description, SkiaShaderData* outData) { in storeCompose()
297 GLuint* textureUnit, ProgramDescription* description, in tryStoreCompose()
326 GLuint* textureUnit, ProgramDescription* description, in store()
DSkiaShader.h33 struct ProgramDescription;
77 GLuint* textureUnit, ProgramDescription* description,
DProgramCache.cpp521 Program* ProgramCache::get(const ProgramDescription& description) { in get()
545 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { in generateProgram()
552 static inline size_t gradientIndex(const ProgramDescription& description) { in gradientIndex()
556 String8 ProgramCache::generateVertexShader(const ProgramDescription& description) { in generateVertexShader()
635 static bool shaderOp(const ProgramDescription& description, String8& shader, in shaderOp()
643 String8 ProgramCache::generateFragmentShader(const ProgramDescription& description) { in generateFragmentShader()
720 if (description.colorOp == ProgramDescription::ColorFilterMode::Blend) { in generateFragmentShader()
DProgram.h112 struct ProgramDescription { struct
125 ProgramDescription() { in ProgramDescription() argument
345 Program(const ProgramDescription& description, const char* vertex, const char* fragment);
DGlop.h129 ProgramDescription::ColorFilterMode filterMode;
DCaches.h174 void setProgram(const ProgramDescription& description);
DGlopBuilder.cpp278 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend; in setFill()
282 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Matrix; in setFill()
301 mOutGlop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in setFill()
571 void verify(const ProgramDescription& description, const Glop& glop) { in verify()
683 ALOGD_IF(fill.filterMode != ProgramDescription::ColorFilterMode::None, in dump()
DGlopBuilder.h129 ProgramDescription mDescription;
DProgram.cpp29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { in Program()
DCaches.cpp125 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()
114 glop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in blackUnitQuadGlop()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp283 if (fill.filterMode == ProgramDescription::ColorFilterMode::Blend) { in render()
287 } else if (fill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { in render()