MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / render_data

Method render_data

source/matplot/backend/opengl.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 bool opengl::render_data() {
61 bool r = opengl_embed::render_data();
62 // Swap buffers and poll IO events
63 glfwSwapBuffers(window_);
64 glfwPollEvents();
65 this_window_in_context_.unlock();
66 return r;
67 }
68
69 bool opengl::should_close() {
70 return glfwWindowShouldClose(window_);

Callers 2

drawMethod · 0.45
flush_commandsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected