← Back to team overview

touch-packages team mailing list archive

[Bug 1424909] Re: ShmBuffer ignores pixel_format (only uploads BGRA correctly?)

 

** Changed in: mir
       Status: Fix Committed => Fix Released

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

Title:
  ShmBuffer ignores pixel_format (only uploads BGRA correctly?)

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  ShmBuffer ignores pixel_format. It stores the format during
  construction and then never uses it. Instead it only has BGRA logic:

  void mgm::ShmBuffer::gl_bind_to_texture()
  {
      glTexImage2D(GL_TEXTURE_2D, 0, GL_BGRA_EXT,
                   size_.width.as_int(), size_.height.as_int(),
                   0, GL_BGRA_EXT, GL_UNSIGNED_BYTE,
                   pixels);
  }

  That's a bit odd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1424909/+subscriptions