am 5c62ab0a: 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

Merge commit '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1' into gingerbread-plus-aosp

* commit '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1':
  Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
This commit is contained in:
Dan Morrill
2010-10-13 15:23:27 -07:00
committed by Android Git Automerger

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;