This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Gapi and buffers


Gapi and buffers

Postby lamondo » Sep 10, 2002 @ 3:50pm

Im creating a unsigned short* buffer[320*240], and the anothe with 100* 100 dimensions.

I read a tga into the 100*100 buffer and all is fine

my problem is that when i write this to the 320*240 buffer at 0,0 it appears as interlaced for the length of the screen when i blit the buffer using gapi.

I have set a loop that should copy the pixels from one to the other with the width of the 100 as a pitch

not sure if this makes sense, but im sure somebody else has had this problem and any help would be appreciated.
lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Postby cryo » Sep 10, 2002 @ 4:38pm

User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby lamondo » Sep 10, 2002 @ 5:12pm

lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Postby cryo » Sep 10, 2002 @ 5:17pm

User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby lamondo » Sep 10, 2002 @ 5:26pm

lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Postby cryo » Sep 10, 2002 @ 5:32pm

User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby lamondo » Sep 10, 2002 @ 5:48pm

lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Postby Dan East » Sep 10, 2002 @ 8:39pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby lamondo » Sep 11, 2002 @ 10:53am

lamondo
pm Member
 
Posts: 9
Joined: Sep 6, 2002 @ 2:14pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum