Changeset 15296


Ignore:
Timestamp:
04/16/12 19:16:20 (10 years ago)
Author:
nit
Message:

update

Location:
titan/titan
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/fb.h

    r15226 r15296  
    9090       
    9191        if(ostrcmp(name, FB) == 0)
    92 #ifdef NOHWBLIT
    93                 newnode->varfbsize = newnode->width * newnode->height * newnode->colbytes;
    94 #else
    95                 newnode->varfbsize = 1920 * 1080 * newnode->colbytes;
    96 #endif
     92                setfbvarsize(newnode);
    9793        else if(ostrcmp(name, FB1) == 0)
    9894                newnode->varfbsize = 720 * 576 * newnode->colbytes;
  • titan/titan/i386port.h

    r15227 r15296  
    11#ifndef I386PORT_H
    22#define I386PORT_H
     3
     4void setfbvarsize(struct fb* newnode)
     5{
     6        if(newnode != NULL)
     7                newnode->varfbsize = newnode->width * newnode->height * newnode->colbytes;
     8}
    39
    410void enablemanualblit()
  • titan/titan/mipselport.h

    r15169 r15296  
    66#define FBIO_BLIT 0x22
    77#endif
     8
     9void setfbvarsize(struct fb* newnode)
     10{
     11        if(newnode != NULL)
     12                newnode->varfbsize = 1920 * 1080 * newnode->colbytes;
     13}
    814
    915void enablemanualblit()
  • titan/titan/sh4port.h

    r15273 r15296  
    55#include <libmmeimage.h>
    66#include <linux/stmfb.h>
     7
     8void setfbvarsize(struct fb* newnode)
     9{
     10        if(newnode != NULL)
     11                newnode->varfbsize = 1920 * 1080 * newnode->colbytes;
     12}
    713
    814void enablemanualblit()
Note: See TracChangeset for help on using the changeset viewer.