Skip to content

Commit

Permalink
Refactored page renderer to correctly render overlapping items. Rende…
Browse files Browse the repository at this point in the history
…r images 8 lines at a time. In some cases reduces memory and CPU usage
  • Loading branch information
jhhoward committed Mar 28, 2024
1 parent 204d772 commit 69c61f5
Show file tree
Hide file tree
Showing 4 changed files with 230 additions and 145 deletions.
1 change: 0 additions & 1 deletion src/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Node::Node(Type inType, void* inData)
, parent(nullptr)
, next(nullptr)
, firstChild(nullptr)
, nextNodeToRender(nullptr)
, data(inData)
{
anchor.Clear();
Expand Down
2 changes: 0 additions & 2 deletions src/Node.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ class Node
Node* next;
Node* firstChild;

Node* nextNodeToRender;

void* data;

protected:
Expand Down
Loading

0 comments on commit 69c61f5

Please sign in to comment.