From 6f51fc14d0c3df8f9153ae5df992cc2731f099c8 Mon Sep 17 00:00:00 2001 From: Dan Morrill Date: Wed, 13 Oct 2010 14:33:43 -0700 Subject: 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 --- tools/aapt/Command.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/aapt/Command.cpp') diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index f71ebb9..873ebac 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/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; -- cgit v1.1