Similar Threads:
1.Speed of bitmaps
Hi,
I am doing some time-critical work with bitmaps (a remote desktop monitoring
app). I have two questions about bitmaps:
1. After taking a screenshot of the desktop, I have a device-dependant
bitmap. Why does it take ~30ms to convert it from a DDB to a DIB? The color
depth does not change, so what causes this delay? In other words, what is
the CPU doing?
2. What is the fastest way to get access to the bitmap so that it can be
compressed. One way would be to call SaveToStream(), but this moves 4 MB of
data (bitmap size) which is pointless and a waste of 20ms. Once I have
access to the bitmap, I can compress it. I could use ScanLine I think, but
this would be missing the header data.
--
Regards,
djc
2.Help with loading bitmaps
I've been reading bitmaps using the glaux libraries in windows. But I
haven't been able to find the glaux libraries for linux, where I want to do
my developing (mesa does not come with glaux). Can anyone help me with
finding the glaux libraries for linux, or with finding a solution to
loading bitmaps that doesn't involve glaux or using other APIs?
--Kupad
3.Loading texture bitmaps! (opengl)
"DigitalDragon" < XXXX@XXXXX.COM > wrote in message
news:c7gkdh$l32$ XXXX@XXXXX.COM ...
>>
>>This question has probably been asked dozens of times,
>>but I'm a newie. So, I'm wondering if there is an alternative
>>to the "auxDIBImageLoad()" function??
>>
>>I need a function that will load a bitmap stored in an
>>applications resources or resource script. Does such
>>a function exist? (BTW, I'm using VisualC++ 6.0)
>
>
> i suggest you make your own loading function, it's a very simple format.
>
Ok! I checked glaux.h header file, and I found the definition of
an "AUX_RGBImageRec" structure. auxDIBImageLoad() returns
a pointer to this structure. It looks like this :
typedef struct _AUX_RGBImageRec {
GLint sizeX, sizeY;
unsigned char *data;
} AUX_RGBImageRec;
So, after I read my bitmap from a resource script, I need to
store the bitmap bips in the "data" field?? Is that right?
And, I'm guessing that the sizeX and sizeY fields store the
bitmap dimensions??
Can anybody recommend a simple algorithm or an easy
win32 function that will load a bitmap into the "data" field?
thanks!
---------
S
4.Loading texture bitmaps!
This question has probably been asked dozens of times,
but I'm a newie. So, I'm wondering if there is an alternative
to the "auxDIBImageLoadA()" function??
I need a function that will load a bitmap stored in an
applications resources or resource script. Does such
a function exist?
(BTW, I'm using VisualC++ 6.0)
Thanks!
--------
S
5.Loading bitmaps to use in texturing
Hello,
Can anyone guide me to a library that can load a bitmap to use in
texturing.
I don't want to use glaux sine it's outdated and has known memory
leaks.
Thanks in advance,
6. texture loading speed. DXT1 versus PNG`
7. JPEG loading speed
8. Movie Factory 2, is processor speed, graphics card speed important