void MirBufferSGTexture::bind()
{
    Q_ASSERT(hasBuffer());
    glBindTexture(GL_TEXTURE_2D, m_textureId);
    updateBindOptions(true/* force */);

    auto const texture_source =
        dynamic_cast<mrg::TextureSource*>(m_mirBuffer->native_buffer_base());   
<=== HERE
    if (!texture_source)
        throw std::logic_error("Buffer does not support GL rendering");

    texture_source->gl_bind_to_texture();
}


** Changed in: mir (Ubuntu)
   Importance: Undecided => High

** Changed in: qtmir (Ubuntu)
   Importance: Undecided => High

** Also affects: mir
   Importance: Undecided
       Status: New

** Changed in: mir
   Importance: Undecided => High

** Also affects: qtmir
   Importance: Undecided
       Status: New

** Changed in: qtmir
   Importance: Undecided => High

-- 
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/1562929

Title:
  
/usr/bin/unity8:11:MirBufferSGTexture::bind:QSGOpaqueTextureMaterialShader::updateState:QSGBatchRenderer::Renderer::renderMergedBatch:QSGBatchRenderer::Renderer::renderBatches:QSGBatchRenderer::Renderer::render

Status in Mir:
  New
Status in QtMir:
  New
Status in mir package in Ubuntu:
  New
Status in qtmir package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Incomplete

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding unity8.  This problem was most recently seen with version
  8.11+16.04.20160212-0ubuntu1, the problem page at
  https://errors.ubuntu.com/problem/19793421351843883e38b847db6ed8bced7cbbc4
  contains more details.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to