~chrisccoulson/oxide/fix-device-scaling-mess

« back to all changes in this revision

Viewing changes to shared/browser/compositor/oxide_compositor_output_surface_gl.cc

  • Committer: Chris Coulson
  • Date: 2016-02-29 21:56:19 UTC
  • Revision ID: chris.coulson@canonical.com-20160229215619-id3sez5c7l3da9vv
Fix scaling when it's done by the QPA plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
 
195
195
  scoped_ptr<CompositorFrameData> data(new CompositorFrameData());
196
196
  data->size_in_pixels = back_buffer_->size;
 
197
  data->device_scale = device_scale_factor_;
197
198
  data->gl_frame_data = make_scoped_ptr(new GLFrameData());
198
199
  data->gl_frame_data->mailbox = back_buffer_->mailbox;
199
200