~canonical-dx-team/nux/nux.fix-702538

« back to all changes in this revision

Viewing changes to Nux/PaintLayer.h

  • Committer: Jay Taoko
  • Date: 2011-01-04 03:57:29 UTC
  • mfrom: (157.1.13 nux-holidays)
  • Revision ID: jay.taoko@canonical.com-20110104035729-0xh3iabo7e7dk371
* Added support to copy a texture from the current render target
* Blur, Color matrix, Exponent shaders
* Gaussian blur
* Bug fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  class TextureLayer: public AbstractPaintLayer
81
81
  {
82
82
  public:
83
 
    TextureLayer (IntrusiveSP< IOpenGLBaseTexture > device_texture, TexCoordXForm texxform, const Color &color, bool WriteAlpha = false, const ROPConfig &ROP = ROPConfig::Default);
 
83
    TextureLayer (ObjectPtr< IOpenGLBaseTexture > device_texture, TexCoordXForm texxform, const Color &color, bool WriteAlpha = false, const ROPConfig &ROP = ROPConfig::Default);
84
84
    virtual void Renderlayer (GraphicsEngine &GfxContext);
85
85
    virtual AbstractPaintLayer *Clone() const;
86
86
 
87
87
  private:
88
 
    IntrusiveSP< IOpenGLBaseTexture > m_device_texture;
 
88
    ObjectPtr< IOpenGLBaseTexture > m_device_texture;
89
89
    Color m_color;
90
90
    bool m_write_alpha;
91
91
    ROPConfig m_rop;