Merge "Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats." into gingerbread

This commit is contained in:
Dan Morrill
2010-10-13 15:20:34 -07:00
committed by Android (Google) Code Review

View File

@@ -871,6 +871,15 @@ int doDump(Bundle* bundle)
error.string());
goto bail;
}
} else if (tag == "uses-gl-texture") {
String8 name = getAttribute(tree, NAME_ATTR, &error);
if (name != "" && error == "") {
printf("uses-gl-texture:'%s'\n", name.string());
} else {
fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n",
error.string());
goto bail;
}
}
} else if (depth == 3 && withinApplication) {
withinActivity = false;