Subversion Repositories Kolibri OS

Rev

Rev 885 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 885 Rev 1002
Line 48... Line 48...
48
 
48
 
Line 49... Line 49...
49
           pixmap->width   = io->width;
49
           pixmap->width   = io->width;
50
           pixmap->height  = io->height;
50
           pixmap->height  = io->height;
51
           pixmap->format  = PICT_a8r8g8b8;
51
           pixmap->format  = PICT_a8r8g8b8;
52
           pixmap->flags   = io->flags;
52
           pixmap->flags   = PX_MEM_LOCAL; //io->flags;
53
           pixmap->pitch   = pitch;
53
           pixmap->pitch   = pitch;
54
           pixmap->mapped  = mapped;
54
           pixmap->mapped  = mapped;
55
           pixmap->pitch_offset =  ((pitch/64)<<22)| (((u32_t)local+rhd.fbLocation)>>10);
55
           pixmap->pitch_offset =  ((pitch/64)<<22)| (((u32_t)local+rhd.fbLocation)>>10);
56
           pixmap->local   = local+rhd.fbLocation;
56
           pixmap->local   = local+rhd.fbLocation;