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

Method new_frame

source/matplot/backend/opengl.cpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 bool opengl::new_frame() {
50 if (should_close()) {
51 return false;
52 }
53 this_window_in_context_.lock();
54 glfwMakeContextCurrent(window_);
55 // Check if there is any input to process
56 backend::opengl_embed::process_input(window_);
57 return opengl_embed::new_frame();
58 }
59
60 bool opengl::render_data() {
61 bool r = opengl_embed::render_data();

Callers 1

drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected