From 1f18df61cc6c370866e8dbb3fdac78ce18a2574e Mon Sep 17 00:00:00 2001 From: Dan Morrill Date: Wed, 13 Oct 2010 14:33:43 -0700 Subject: [PATCH] Adding a new tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats. Change-Id: I993209a673579b296007ae2ba830d0275770dd11 --- Command.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Command.cpp b/Command.cpp index f71ebb9..873ebac 100644 --- a/Command.cpp +++ b/Command.cpp @@ -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; -- 2.45.2