integrate and link lib curl for android, add VAO support for brush draw, sync canvas with screen redraw instead of input events

This commit is contained in:
2017-03-28 20:25:23 +01:00
parent 291ba7ae78
commit 675e0148ec
11 changed files with 85 additions and 33 deletions

View File

@@ -57,6 +57,11 @@ public:
void stroke_update(glm::vec2 point, float pressure)
{
m_current_stroke->add_point(point, pressure);
}
void stroke_draw()
{
if (!(m_current_stroke && m_current_stroke->has_sample()))
return;
m_fb.bindFramebuffer();