http://bugs.freedesktop.org/show_bug.cgi?id=21867
Summary: Feature request: Configurable pixel origin
Product: Mesa
Version: CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [email protected]
In OpenGL and Direct3D 10 a pixel coordinate specifies the center of a pixel on
the screen. In Direct3D9 and earlier however, the origin is the top left corner
of a pixel.
This causes problems for Wine, because we have to move the geometry by half a
pixel to correct this difference. This is relatively painless with fixed
function vertex processing, but in vertex shaders we have to insert extra
instructions and occupy a shader constant / uniform to load these private
constants. This causes problems with apps using all 256 constants on dx9 cards,
and / or hitting the instruction limitation.
I have been told that most 3D hardware has a switch to switch between D3D and
OpenGL mode. An OpenGL extension that allows Wine to switch between these modes
would be very helpful. This switch could work as a glEnable / glDisable flag,
or if the hardware needs it, a pixel format flag or flag at context creation
would work too.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev