Hi All,
We are working in a test application which works on Graphics_SDK_4_04_00_02 for opengles2.0. We tried to render bmp and png images on HDMI display-out . Problem is images other than 2-power resolution (64x64, 128x128, 256x256 , 512x512...) is not rendering in hdmi out also width and height needs to be equal. Can any one tell what could be the reason behind this .
for plotting i am using the following the API ,
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, imagedata); // * where image-data is a pointer points to the image data array, width and height is the height and width of the image from the image header . *//
for plotting images in unequal width and height do i need to setup anything in openglside any comments will be really appreciated .please share any references from your side so that i can check my side whether the open-gl callbacks are proper or not .
Please note that ,
the code is working fine for image with same height and width and 2 power resolutions .