From: <bug...@fr...> - 2005-12-18 02:38:30
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=4197 ------- Additional Comments From ak...@po... 2005-12-18 13:33 ------- Just FYI, the reasons GL function calls aren't inlined are (1) the code executed for a call depends on the current RenderMode, whether display list construction is active, etc., so inlined code would have to include an expensive multiway test; (2) the code executed for a call is device-dependent in the general case, so there's no reliable way to know what to inline at compile time even for a single "preferred" RenderMode. The current way of doing things evolved to handle those problems, plus API functions that are supported by some drivers but not others (a subject that may be more complicated than we need to get into at the moment, so I'll leave it at that). Why are the fine-grained calls in the API in the first place? To (1) reduce cache pressure for apps that mix graphics-related and non-graphics data; (2) keep data flowing from the CPU to the GPU so that parallelism is maximized. Newer apps tend to be designed differently, so don't use the fine-grained calls heavily, but there are a lot of large older apps that really care about their performance. Carry on... Allen -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |