Lines Matching refs:spec
28 Acrylic *Acrylic::createInstance(const char *spec) in createInstance() argument
32 ALOGD_TEST("Creating a new Acrylic instance of '%s'", spec); in createInstance()
33 compositor = createAcrylicCompositorG2D(spec); in createInstance()
35 ALOGI("%s compositor added", spec); in createInstance()
38 ALOGE_IF(!compositor, "Failed to create HW2D compositor of '%s'", spec); in createInstance()
58 Acrylic *AcrylicFactory::createAcrylic(const char *spec) in createAcrylic() argument
60 if (strcmp(spec, "default_compositor") == 0) { in createAcrylic()
61 spec = LIBACRYL_DEFAULT_COMPOSITOR; in createAcrylic()
62 } else if (strcmp(spec, "default_scaler") == 0) { in createAcrylic()
63 spec = LIBACRYL_DEFAULT_SCALER; in createAcrylic()
64 } else if (strcmp(spec, "default_blter") == 0) { in createAcrylic()
65 spec = LIBACRYL_DEFAULT_BLTER; in createAcrylic()
68 return Acrylic::createInstance(spec); in createAcrylic()