~kgunn72/mir/dont-crash-when-shooting-invalid-surface

« back to all changes in this revision

Viewing changes to src/server/compositor/rendering_operator.h

  • Committer: Tarmac
  • Author(s): Alan Griffiths, Alexandros Frantzis, Daniel van Vugt, Kevin DuBois, Christopher James Halse Rogers, chris.gagnon, Mathieu Trudel-Lapierre, Robert Carr, Automatic PS uploader, Kevin Gunn, Daniel d'Andrada, Christopher James Halse Rogers, Michael Terry, Brandon Schaefer, Timo Jyrinki, Mir Team, Andreas Pokorny
  • Date: 2013-12-20 11:11:22 UTC
  • mfrom: (1169.1.1 version-0.1.3)
  • Revision ID: tarmac-20131220111122-h503fd1fnq7pn9za
Latest upstream release: Mir 0.1.3 (r1298).

Approved by Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
class RenderingOperator : public OperatorForScene
33
33
{
34
34
public:
35
 
    explicit RenderingOperator(Renderer& renderer, std::function<void(std::shared_ptr<void> const&)> save_resource);
36
 
    ~RenderingOperator();
 
35
    explicit RenderingOperator(
 
36
        Renderer& renderer,
 
37
        std::function<void(std::shared_ptr<void> const&)> save_resource,
 
38
        unsigned long frameno);
 
39
    ~RenderingOperator() = default;
37
40
 
38
41
    void operator()(CompositingCriteria const& info, BufferStream&);
39
42
 
40
43
private:
41
44
    Renderer& renderer;
42
45
    std::function<void(std::shared_ptr<void> const&)> save_resource;
 
46
    unsigned long const frameno;
43
47
};
44
48
 
45
49
}