~ubuntu-branches/ubuntu/oneiric/nux/oneiric-updates

« back to all changes in this revision

Viewing changes to gputests/texture_blur.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-25 13:42:45 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825134245-edi1g8cm2iqibae7
Tags: 1.4.0-0ubuntu1
* New upstream version:
  - "scrolling down in a lens brings it back to the top automatically" 
    (lp: #821534)
* debian/rules: updated shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
  graphics_display->ShowWindow();
45
45
 
46
 
  nux::IntrusiveSP<nux::IOpenGLFrameBufferObject> fbo;
47
 
  nux::IntrusiveSP<nux::IOpenGLBaseTexture> texture_rt;
48
 
  nux::IntrusiveSP<nux::IOpenGLBaseTexture> depth_rt;
 
46
  nux::ObjectPtr<nux::IOpenGLFrameBufferObject> fbo;
 
47
  nux::ObjectPtr<nux::IOpenGLBaseTexture> texture_rt;
 
48
  nux::ObjectPtr<nux::IOpenGLBaseTexture> depth_rt;
49
49
 
50
50
  fbo         = graphics_display->GetGpuDevice ()->CreateFrameBufferObject ();
51
51
  texture_rt  = graphics_display->GetGpuDevice ()->CreateSystemCapableDeviceTexture (graphics_display->GetWindowWidth(), graphics_display->GetWindowHeight(), 1, nux::BITFMT_R8G8B8A8);