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