Bug 42313 - software rasterizer: ignore glTexCoordPointer if GL_TEXTURE_2D is disabled
Summary: software rasterizer: ignore glTexCoordPointer if GL_TEXTURE_2D is disabled
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/swrast (show other bugs)
Version: 7.11
Hardware: x86-64 (AMD64) Linux (All)
: medium trivial
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 08:45 UTC by Roman Valov
Modified: 2019-09-18 18:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Roman Valov 2011-10-27 08:45:29 UTC
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.
Comment 1 GitLab Migration User 2019-09-18 18:44:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/308.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.