diff options
| author | Dan Morrill <morrildl@google.com> | 2010-10-13 14:33:43 -0700 |
|---|---|---|
| committer | Dan Morrill <morrildl@google.com> | 2010-10-13 14:33:43 -0700 |
| commit | 6f51fc14d0c3df8f9153ae5df992cc2731f099c8 (patch) | |
| tree | ea1dc04c2e55af8a93c1bc3c7d08ce00182dca15 /tools | |
| parent | 527d8bbd79c1ff2b6e24d19fe9e7a1ecdb72891a (diff) | |
| download | frameworks_base-6f51fc14d0c3df8f9153ae5df992cc2731f099c8.zip frameworks_base-6f51fc14d0c3df8f9153ae5df992cc2731f099c8.tar.gz frameworks_base-6f51fc14d0c3df8f9153ae5df992cc2731f099c8.tar.bz2 | |
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.
Change-Id: I993209a673579b296007ae2ba830d0275770dd11
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/aapt/Command.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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; |
