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
are:

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

D



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Socket set send buffer size not working

Hi all,

I am trying to change the send buffer size through setsockopt and it
doesn't seem to be working. The server socket is in the framework
layer and the client socket writes data from the linux user space.

My understanding is that if an attempt is made to write, say 1000
bytes when the buffer size is 100, the socket write call would block
(blocking mode of operation used) until bytes are read from the server
side.

I try and set a buffer size for the SND_BUF of the client socket and
it doesn't return any error. However, the client continues to write as
many bytes as it would write without the flow control code (below) in
place.
###
if (setsockopt(clientSocketHandle, SOL_SOCKET, SO_SNDBUF,
&sndBuffSize, sizeof(sndBuffSize)) < 0)
{
  //error message logged
}
###

I have tried with values starting from 0 to multiples of 1024 bytes.
Seems to have not effect whatsoever. Any help in understanding this
better would be highly appreciated.

Regards,
Santosh

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. how to enable logging (logcat) by default, during android boot

(update on this thread)

Thanks for Tony L for the suggestion..
it can be launched via init.rc as below..

service logcat /system/bin/logcat -f /dev/kmsg
       oneshot

-Deva




-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Flash on Froyo Emulator

4. Advanced UI tutorials

5. Help CSSParser.cpp build error in the 2.1 Source Code

6. Android cursor lifetime

7. App Widget Lifecycle?