~ubuntu-branches/ubuntu/trusty/libavg/trusty-proposed

« back to all changes in this revision

Viewing changes to src/player/OffscreenCanvas.h

  • Committer: Package Import Robot
  • Author(s): OXullo Intersecans
  • Date: 2011-12-06 22:44:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111206224456-qc7250z3ya1vi8s9
Tags: 1.7.0-0ubuntu1
* New upstream release (LP: #899183)
* Remove patches 0002-libav-0.7.patch, 0003-fglrx-segfault-on-startup.patch
  now merged to upstream
* Remove unnecessary .la files
* Update debian/watch file
* Fix debian/copyright dep-5 compliancy
* Update standards to version 3.9.2
* Add man pages for avg_checktouch, avg_checkvsync, avg_showsvg
* Minor debian/rules enhancement
* Add librsvg2-dev, libgdk-pixbuf2.0-dev to Build-Depends
* Proper transition to dh_python2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
//  libavg - Media Playback Engine. 
3
 
//  Copyright (C) 2003-2008 Ulrich von Zadow
 
3
//  Copyright (C) 2003-2011 Ulrich von Zadow
4
4
//
5
5
//  This library is free software; you can redistribute it and/or
6
6
//  modify it under the terms of the GNU Lesser General Public
40
40
        OffscreenCanvas(Player * pPlayer);
41
41
        virtual ~OffscreenCanvas();
42
42
        virtual void setRoot(NodePtr pRootNode);
43
 
        virtual void initPlayback(SDLDisplayEngine* pDisplayEngine, 
44
 
                AudioEngine* pAudioEngine);
 
43
        virtual void initPlayback();
45
44
        virtual void stopPlayback();
46
45
 
47
 
        virtual void render();
48
46
        virtual BitmapPtr screenshot() const;
 
47
        virtual BitmapPtr screenshot(bool bIgnoreAlpha) const;
49
48
        bool getHandleEvents() const;
50
49
        int getMultiSampleSamples() const;
51
50
        bool getMipmap() const;
52
51
        bool getAutoRender() const;
53
52
        void setAutoRender(bool bAutoRender);
 
53
        void manualRender(); // This is the render that can be called from python.
54
54
 
55
55
        std::string getID() const;
56
56
        bool isRunning() const;
57
57
        GLTexturePtr getTex() const;
 
58
        FBOPtr getFBO() const;
58
59
 
59
60
        void registerCameraNode(CameraNode* pCameraNode);
60
61
        void unregisterCameraNode();
71
72
        static bool isMultisampleSupported();
72
73
        void dump() const;
73
74
 
 
75
    protected:
 
76
        virtual void render();
 
77
 
74
78
    private:
75
79
        FBOPtr m_pFBO;
76
80
        bool m_bUseMipmaps;