Subversion Repositories HelenOS

Rev

Rev 4676 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4676 Rev 4685
Line 131... Line 131...
131
            fb_scanline = fb_linebytes * (fb_depth >> 3);
131
            fb_scanline = fb_linebytes * (fb_depth >> 3);
132
            visual = VISUAL_INDIRECT_8;
132
            visual = VISUAL_INDIRECT_8;
133
            break;
133
            break;
134
        case 16:
134
        case 16:
135
            fb_scanline = fb_linebytes * (fb_depth >> 3);
135
            fb_scanline = fb_linebytes * (fb_depth >> 3);
136
            visual = VISUAL_BGR_5_6_5;
136
            visual = VISUAL_RGB_5_6_5_BE;
137
            break;
137
            break;
138
        case 24:
138
        case 24:
139
            fb_scanline = fb_linebytes * 4;
139
            fb_scanline = fb_linebytes * 4;
140
            visual = VISUAL_BGR_8_8_8_0;
140
            visual = VISUAL_BGR_8_8_8_0;
141
            break;
141
            break;
Line 175... Line 175...
175
            fb_scanline = fb_linebytes * (fb_depth >> 3);
175
            fb_scanline = fb_linebytes * (fb_depth >> 3);
176
            visual = VISUAL_INDIRECT_8;
176
            visual = VISUAL_INDIRECT_8;
177
            break;
177
            break;
178
        case 16:
178
        case 16:
179
            fb_scanline = fb_linebytes * (fb_depth >> 3);
179
            fb_scanline = fb_linebytes * (fb_depth >> 3);
180
            visual = VISUAL_BGR_5_6_5;
180
            visual = VISUAL_RGB_5_6_5_BE;
181
            break;
181
            break;
182
        case 24:
182
        case 24:
183
            fb_scanline = fb_linebytes * 4;
183
            fb_scanline = fb_linebytes * 4;
184
            visual = VISUAL_BGR_8_8_8_0;
184
            visual = VISUAL_BGR_8_8_8_0;
185
            break;
185
            break;