|
From: Brian P. <bri...@tu...> - 2008-06-13 14:25:59
|
iluvlinux wrote: > EABI toolchain is new toolchain provided by ARM > http://wiki.debian.org/ArmEabiPort http://wiki.debian.org/ArmEabiPort > > and clutter is a library that provides simple apis to users who don't know > about opengl and related stuff > http://clutter-project.org/ http://clutter-project.org/ > > > I did a hexdump of some test images in totally red, or green or blue color, > and i found that the pixel values were accurate according to the images. I > have no idea were to look into mesa code. i did hexdump in clutter code just > before it calls glTexImage2D. > > > Here are some information related to EABI todo list > http://wiki.debian.org/ArmEabiTodo http://wiki.debian.org/ArmEabiTodo > > > i have no idea about how to compile mesa with some different options ,all i > did to compile mesa is to type "make linux" and it builds cleanly. > > if you could just help me out by providing some compile options if needed > with the new tool chain, i would be highly thankful to you. I know i am > asking something that is very difficult. I kind of doubt the bug is in Mesa at this point. Mesa's glTexImage functions are used a _lot_ so they should be pretty solid. If you suspect that image data is corrupt, you could set a breakpoint at glTexImage2D() and examine the image buffer at that point. For simple formats like GL_RGBA/GL_UNSIGNED_BYTE, it's pretty easy to inspect the hexadecimal image values. -Brian > kindly help > > > thanks for your reply > varun > > > > > > Brian Paul wrote: >> 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 >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Mesa3d-users mailing list >> Mes...@li... >> https://lists.sourceforge.net/lists/listinfo/mesa3d-users >> >> > |