view Renderer/Engine/viewerNONE.h @ 1996:9657434c21a4 draft

change memory allocate function malloc() to manager->allocate in my_read
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 18:49:21 +0900
parents c9d0683c9b39
children
line wrap: on
line source

#ifndef INCLUDED_VIEWER_NONE
#define INCLUDED_VIEWER_NONE

#include "ViewerDevice.h"

class ViewerNONE : public ViewerDevice {
public:
    ViewerNONE(TaskManager* manager) {};
    ViewerNONE() {};
    virtual ~ViewerNONE();

    /* override function */
    Uint32 *video_init(TaskManager *manager, int bpp, int width, int height);
    void clean_pixels(){};
    void clear_screen(){};
    void free_device(){};
    uint32_t* flip_screen(uint32_t *);

};

#endif