Subversion Repositories HelenOS

Rev

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

Rev 4348 Rev 4691
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_RGB_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_RGB_8_8_8_0;
140
            visual = VISUAL_BGR_8_8_8_0;
141
            break;
141
            break;
142
        case 32:
142
        case 32:
143
            fb_scanline = fb_linebytes * (fb_depth >> 3);
143
            fb_scanline = fb_linebytes * (fb_depth >> 3);
144
            visual = VISUAL_RGB_0_8_8_8;
144
            visual = VISUAL_RGB_0_8_8_8;
145
            break;
145
            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_RGB_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_RGB_8_8_8_0;
184
            visual = VISUAL_BGR_8_8_8_0;
185
            break;
185
            break;
186
        case 32:
186
        case 32:
187
            fb_scanline = fb_linebytes * (fb_depth >> 3);
187
            fb_scanline = fb_linebytes * (fb_depth >> 3);
188
            visual = VISUAL_RGB_0_8_8_8;
188
            visual = VISUAL_RGB_0_8_8_8;
189
            break;
189
            break;