X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fview.h;h=9e3017cc4033d159801923de87f04a375238a3f9;hp=344c5609b5dc2243db29557bb11f4a7367a23c57;hb=396b22d11e8041a00b33ca874a5be3853c09d6c0;hpb=ddf7783ce69eb619f5a6b12e779c134279aa2ac6 diff --git a/src/view.h b/src/view.h index 344c560..9e3017c 100644 --- a/src/view.h +++ b/src/view.h @@ -41,6 +41,7 @@ namespace IPDF bool m_render_inited; ShaderProgram m_rect_outline_shader; ShaderProgram m_rect_filled_shader; + ShaderProgram m_circle_filled_shader; // Stores the view bounds. GraphicsBuffer m_bounds_ubo; // Stores the bounds for _all_ objects. @@ -48,12 +49,14 @@ namespace IPDF // Stores indices into the objbounds vbo for each type of object. GraphicsBuffer m_outline_ibo; // Rectangle outline GraphicsBuffer m_filled_ibo; // Filled rectangle + GraphicsBuffer m_circle_ibo; // Filled circle FrameBuffer m_cached_display; Document & m_document; Rect m_bounds; Colour m_colour; uint32_t m_rendered_filled; uint32_t m_rendered_outline; + uint32_t m_rendered_circle; }; }