glCompressedTexImage2D formats

by deki » Sun, 09 Aug 2009 03:14:53 GMT

Sponsored Links
 Hi List,

I am relatively new to opengl/android so bear with me. My questions

1) what compressed formats are supported for glCompressedTexImage2D on
android? looking for hardware accelerated compressed texture formats
(like DXT1/DXT5 on PC, or PVR on IPhone).
2) are these formats different for different android phones?
3) if enumerated, are there a couple of main formats available, what
are they?
4) are there tools to convert images to those formats?

Thank you



Other Threads

1. ClassNotFoundException when inflating other package class which is prebuilt-in.

I am working on a project that need to inflating class form other
Say the shared package called com.helloWidget.sharedresource, the
package using shared class called
In com.helloWidget.sharedresource, there is a commonWidget class
extends from ViewGroup and contains several View objects.
The Activity in will inflate the commonWidget
class when being created.
Here are the code example:
      LayoutInflater inflater = (LayoutInflater)
      inflater = inflater.cloneInContext(shareContext);
      Resources shareres = shareContext.getResources();
      int resID = shareres.getIdentifier("commonWidget ", "layout",
      View v = inflater.inflate(shareres.getLayout(resID), null);

android:sharedUserId="helloWidget.uid.shared"  are declared in both
AndroidManifest.xml of two packages.

When I install two packages into emulator, it works fine.
com.helloWidget.sharedresource.commonWidget can be inflated correctly.
Here comes the strange thing, I put two applications into android
source code tree, and build a "system.img" out. And I am sure the two
packages are built-in successfully.
I start the system.img in emulator,  launch the, and
then ClassNotFoundException occured !
com.helloWidget.sharedresource.commonWidget can not be found.
Then I removed the package "com.helloWidget.sharedresource" from the
build, and build another system.img
After this image started in emulator,  install the package
Magically it works again. com.helloWidget.sharedresource.commonWidget
can be found and inflated correctly.

It's very strange. The built-in package supposed to be found, or it
need extra install process?
Does anyone have any idea here?


2. 833Mhz Cortex-A8 runs Android and its full source code is available.

I think this device is not a consumer product.
It seems to be aiming developers.

Well optimized Android porting source is very good reference.
3D performance is also great.
But, the most importance part is hardwired video codec.

You can see full source code as well as hardware information via this


3. ClassNotFoundException when inflating other package class which is prebuilt-in.

4. reducing system image size

5. Init.rc file

6. Sales from android market

7. httppost bufferedreader problem