Lines Matching refs:spec
120 Acrylic *Acrylic::createInstance(const char *spec) in createInstance() argument
124 ALOGD_TEST("Creating a new Acrylic instance of '%s'", spec); in createInstance()
126 if (strcmp(spec, "fimg2d_gs101") == 0) { in createInstance()
129 ALOGE("Unknown HW2D compositor spec., %s", spec); in createInstance()
133 ALOGE_IF(!compositor, "Failed to create HW2D compositor of '%s'", spec); in createInstance()
153 Acrylic *AcrylicFactory::createAcrylic(const char *spec) in createAcrylic() argument
155 if (strcmp(spec, "default_compositor") == 0) { in createAcrylic()
156 spec = LIBACRYL_DEFAULT_COMPOSITOR; in createAcrylic()
157 } else if (strcmp(spec, "default_scaler") == 0) { in createAcrylic()
158 spec = LIBACRYL_DEFAULT_SCALER; in createAcrylic()
159 } else if (strcmp(spec, "default_blter") == 0) { in createAcrylic()
160 spec = LIBACRYL_DEFAULT_BLTER; in createAcrylic()
163 return Acrylic::createInstance(spec); in createAcrylic()