[Mesa-dev] [Bug 42313] New: software rasterizer: ignore glTexCoordPointer if GL_TEXTURE_2D is disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 27 08:45:29 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42313

             Bug #: 42313
           Summary: software rasterizer: ignore glTexCoordPointer if
                    GL_TEXTURE_2D is disabled
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: trivial
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: roman.valov at gmail.com


Hello, fellows.

I've noticed behavior of software rasterizer is slightly differs form most of
hardware rendered implementations. At the moment I've tried it on several
platforms (mesa/i945GM, fglrx and win32/nvidia) and software rasterizer of
mesa. I'm focused to reduce excess OpenGL calls in my program due to
eliminating unnecessary state changes. This also critical due to usage of
python language.

As a result I've found that I can use glDrawArrays to draw non-textured
primitives even if glTexCoordPointer is binded to buffer (but
glDisable(GL_TEXTURE_2D) and glBindTexture(GL_TEXTURE_2D, 0) was called
before). It works fine on listed hardware platforms. But draws nothing with
mesa software rasterizer.

Is it possible to adjust behavior of mesa software rasterizer to closely match
hardware renderers in this aspect?

Thank you in advance, Roman.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list