|
From: Brian P. <bri...@tu...> - 2008-06-12 14:05:45
|
iluvlinux wrote: > hi > > i compiled mesa with new Linux EABI toolchain > i am using mesa as a libclutter backend I've never heard of those things. > But when I try to run a application which contains some images (.jpg and > .pngs) > i can only view some colored rectangles instead of images > > earlier with gnuhash toolchain, the application runs fine, i just switched > to new EABI toolchain and every thing messed up. > > Also i want to know how mesa loads image file, it has its own architecture > or it uses some other library as libjpeg etc. Mesa is an implementation of OpenGL and has no functions for reading/writing image files whatsoever. Typically, a utility library is used to read/decompress an image file into a malloc'd block of memory. That memory/image can then be handed to OpenGL via glTexImage, or glDrawPixels, etc. for rendering/drawing. If you're working with jpegs, I suspect libjpeg is being used. -Brian |