← Back to team overview

touch-packages team mailing list archive

[Bug 1407640] [NEW] Preview generation should not rely on glReadPixels

 

Public bug reported:

Right now, snapshot/preview generation relies on a call to
QGlFramebufferObject::toImage to obtain a QImage in
http://bazaar.launchpad.net/~phablet-team/qtvideo-
node/trunk/view/head:/src/snapshotgenerator.cpp#L118. Ultimately, this
results in a very expensive call to glReadPixels, blocking the buffer
processing of the camera app. Instead, we should avoid mapping the
pixels to main memory and just copy the texture.

** Affects: qtvideo-node (Ubuntu)
     Importance: High
     Assignee: Jim Hodapp (jhodapp)
         Status: New

** Changed in: qtvideo-node (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtvideo-node in Ubuntu.
https://bugs.launchpad.net/bugs/1407640

Title:
  Preview generation should not rely on glReadPixels

Status in qtvideo-node package in Ubuntu:
  New

Bug description:
  Right now, snapshot/preview generation relies on a call to
  QGlFramebufferObject::toImage to obtain a QImage in
  http://bazaar.launchpad.net/~phablet-team/qtvideo-
  node/trunk/view/head:/src/snapshotgenerator.cpp#L118. Ultimately, this
  results in a very expensive call to glReadPixels, blocking the buffer
  processing of the camera app. Instead, we should avoid mapping the
  pixels to main memory and just copy the texture.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtvideo-node/+bug/1407640/+subscriptions


Follow ups

References