Removed old drawing program cache
This commit is contained in:
parent
19f8c99b66
commit
9845d14a83
7 changed files with 8 additions and 68 deletions
|
|
@ -30,14 +30,6 @@ class MainProgram {
|
|||
|
||||
Vector3f userColor;
|
||||
|
||||
struct DrawingProgramImageCache {
|
||||
bool refresh = true;
|
||||
sk_sp<SkSurface> surface;
|
||||
std::shared_ptr<DrawComponent> firstCompUpdate = nullptr;
|
||||
SkCanvas* canvas;
|
||||
bool disableDrawCache = false;
|
||||
} drawProgCache;
|
||||
|
||||
struct Window {
|
||||
Vector2i size = {-1, -1};
|
||||
Vector2i pos = {-1, -1};
|
||||
|
|
@ -86,8 +78,6 @@ class MainProgram {
|
|||
void update();
|
||||
void draw(SkCanvas* canvas);
|
||||
|
||||
void init_draw_program_cache();
|
||||
|
||||
bool setToQuit = false;
|
||||
|
||||
void early_destroy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue