Jump to content
  • Advertisement
Sign in to follow this  
KennithTheMenith

glDrawPixels and memory

This topic is 5126 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there, can anyone tell me if it is possible to call glDrawPixels to draw an image to video memory where the pixels along a row are not contiguous in processor memory (as discrete but regular rows can be drawn calling glPixelStorei with GL_UNPACK_ROW_LENGTH, for example)? To clarify, from image in memory: p0 b b b b b p1 b b b b b p2 b b b b b p3 b b b b b p4 b b b b b p5 b b b b b p6 b b b b b p7 b b b b b to: p0 p1 p2 p3 p4 p5 p6 p7 where b = buffer pixel, range 0->inf and pN = desired image pixel. I am not sure if this is actually possible or there if there is some setting that I have missed. Thanks. [Edited by - KennithTheMenith on November 29, 2004 9:35:10 AM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!