Hi, Michel, Thank you so much for your information. I tried to set those registers you told me, but my bitblt operation still doesn't work. What confused me is that how the graphic card knows that the source image is saved with lineal trajectory instead of rectangular trajectory? Because it seems that register DP_SRC_SOURCE should be the one to set how the source image is saved, but there is no option for saving source image in frame buffer with lineal trajectory which is what I really want. Do you have any idea about this?
Thanks again, jing Quoting Michel D�nzer <[EMAIL PROTECTED]>: > On Fre, 2003-02-07 at 07:55, [EMAIL PROTECTED] wrote: > > > > I want to transfer a block of image data from source offset in > > off_screen to a specified rectangular area in on_screen area. > > If the source image is saved with rectangular trajectory, > > I can set some registers such as SRC_Y_X, DR_MIX, > > DP_CNTL,DST_Y_X and DST_HEIGHT_WIDTH to transfer pixels from > > SRC_Y_X to DST_Y_X. However, in order to save memory space, I > > want to save the image data in frame buffer with lineal > > trajectory instead of a rectangular area. Can I still transfer > > the image pixels by just setting some registers? > > > > If I can, which register is for src offset? > > (I assume this is about Radeons) > > The GMC_SRC_PITCH_OFFSET_CNTL bit in the DP_GUI_MASTER_CNTL register > controls whether the default offset, pitch and tiling are used for > the > source or whether the SRC_PITCH_OFFSET register is used. > > > Hope this helps, > > > -- > Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) > developer > XFree86 and DRI project member / CS student, Free Software > enthusiast > > _______________________________________________ > Devel mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/devel > _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
