+ unsigned width = state->framebuffer->get_width();
+ unsigned height = state->framebuffer->get_height();
+ if(target.get_width()!=width || target.get_height()!=height)
+ throw incompatible_data("Renderer::resolve_multisample");
+
+ pipeline_state.set_framebuffer(state->framebuffer);
+ commands.use_pipeline(&pipeline_state);
+ commands.resolve_multisample(target);
+}
+
+void Renderer::begin_query(const QueryPool &pool, unsigned index)
+{
+ commands.begin_query(pool, index);
+}
+
+void Renderer::end_query(const QueryPool &pool, unsigned index)
+{
+ commands.end_query(pool, index);