Nope! Just said that blocking message output does not necessarily mean not collecting information. Of course it is highly appreciable to prevent message spamming. So, please, don't try to...
Type: Posts; User: Aleksandar
Nope! Just said that blocking message output does not necessarily mean not collecting information. Of course it is highly appreciable to prevent message spamming. So, please, don't try to...
I do. In fact, I guess most of the additional debugging code is active in both debug and non-debug profiles, and it does not affect performance (at least in a noticeable fashion). Driver...
Your discussion led me to an interesting experiment. If you don't mind, I would hijack your thread for the short survey on debug-context performance.
I have tried on several (versions of) drivers,...
I'm glad you are answering your own questions. :)
When I said slots, I meant entries in an array (or table).
Remember, also, that hash tables have to be larger than the maximum number of data...
Interestingly, I have never had such problem. Maybe because I'm using object-wrapper which fetches uniform location in the initialization function, and all access is restricted through interface...
I'm using NV PerfKit for a long time, but only the first release (called PerfSDK), that does not support Fermi/Kepler. Version 2.2 was released a year ago, but I had a problem to interpret values...
Maybe the idea is good, but I cannot approve it. Uniform locations are "slots", hence the numeration. What are the benefits of assigning number, for example 4387 instead of 0, just to cast the...
Modern GPUs have units for double precision, but they execute addition and multiplication (both in a single clock), not transcedental functions. Also, DP-to-SP units ratio is 1:3 or lower. On Fermi...
Nope!
You haven't probably seen some previous discussions on the topic. Trigonometric functions (sine and cosine), with some other transcendental are executed fully in hardware (in a single clock),...
I hope a concrete implementation (from MESA3D) would help
gluLookAt(GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx,
GLdouble centery, GLdouble centerz, GLdouble upx,...
Depends on the profile. Compatibility profile (as its name implies) is, while core profile is not.
Interesting idea, but I'm going on a trip so I will try it next week.
In testing shader I don't have any drawing. Even explicitly call glEnable(GL_RASTERIZER_DISCARD). Whole transformation is...
Thank you, guys!
My question was an a consequence of the late-night desperate thinking.
In fact, the case is quite clear.
If there are no dependences and pipeline stalls, only parameter I...
On the first glance the following question looks silly, but after trying to answer on it I realized it is quite difficult (or even impossible).
How can we estimate execution time of some function...
I guess you should read this first.
First of all, use PIXELFORMATDESCRIPTOR as a structure, and set parameters by name.
Second, unlike setting pixel format, choosing is not "malicious" operation and you can call it unlimited number of...
Yes, that's a HW implementation I was talking about.
You have found paper published at IEEE TRANSACTIONS ON COMPUTERS, VOL. 54, NO. 3, MARCH 2005.
There's another version published at Computer...
glClearColor() affects next glClear(). This should be done once per frame, or even better in some PrepareScene() function (once per application execution).Nope! glColor3f(1.0, 0.0, 0.0) is red! use...
There are a lot of meaningless statements in your code. Please consider reading chapter 2 from 7th revision of the Red Book, or some similar article about fundamentals of legacy OpenGL.Maybe...
That's the way some of us already use VAO. ;)
AFAIK VAO cannot beat single (or several) glVertexAttribPointer calls. But if you have dozen or several dozens of glVertexAttribPointers, than VAO...
That's what we all tried to explain. Single precision is terrible for many applications, but not for gl_Position.
I agree, but you have asked for gl_Position. Yes, there are problems with calculation. Unfortunately, it requires some gymnastics.
It can be downcast to floats without lost of precision of the...
But it is the problem. Why would GPU vendors cut performance to a half or more just to satisfy 1e-3% of the population? Especially when there is no reason even for them.
You still didn't answer...
OpenGL cannot render a graph! OpenGL can render only graphics primitives. A graph is a data-structure used to store some data and semantics built-in links between nodes. So, obviously you cannot...
First, that is not "my" formula. I have just picked it up from Jack G. Ganssle. Approximation should be used only on the interval [0..pi/2].
Why would you use any trigonometric approximation on any...