05-07-2009
can anybody explain the procedure more in depth? the link above is down. hope sombody can help me.
10 More Discussions You Might Find Interesting
1. Programming
Hello,
Can some one tell how to read the thread IDs of the current process in Sun Solaris.
Any help will be appreciated.
regards,
Murali (0 Replies)
Discussion started by: hmurali
0 Replies
2. Shell Programming and Scripting
Hello all
im trying to build small script in tcsh that will monitor some process
that are making some api calles to some server .
first of all im trying to find way to see how many threads each process is using , and else how can i print each
Thread id .
can it be done ? ( using sunOs ) (2 Replies)
Discussion started by: umen
2 Replies
3. Shell Programming and Scripting
I have no idea how to do this:
Let's say the user opens an "xclock &" in one of my scripts and I don't want him to be able to re-open one with the script. How could I test that? Possibly with a message saying that "The <xclock(or w/e other process like xcalc)> is already running in the... (3 Replies)
Discussion started by: Yakuzan
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I was logged in on a server, by ssh, with a vim open, when the battery of my laptop got empty.
When I return to the server by ssh, I can see my previous ssh session still open, and the vim process running (ttyp0). Is there a way to attach that vim to my new session (ttyp4)?
Here's part... (2 Replies)
Discussion started by: raphinou
2 Replies
5. Programming
How do I run a process from a C++ p_thread and obtain its PID? Right now I am doing in a p_thread:
system("ampl method.run");
and into the main function (after running the thread mentioned before):
sleep(5); //Just to be sure that the thread is executing the ampl command
system("ps... (1 Reply)
Discussion started by: riccollado
1 Replies
6. UNIX for Dummies Questions & Answers
i want to know a difference between process and thread,give a program to tell the difference (2 Replies)
Discussion started by: annapurna konga
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I want to know a command/program to get thread count for a process id in unix box.
Please help me in this regard. (1 Reply)
Discussion started by: manaac
1 Replies
8. Programming
Hey everyone,
I have a process that is crashing, and I'd like to have some way to see where it crashes. Is this possible? (2 Replies)
Discussion started by: ctote
2 Replies
9. Shell Programming and Scripting
I use top -H -p 1256 to show process 1256, and then press "f" then press "j" to display it is running on which core, is there a better mothed, I want to be automated to get this (1 Reply)
Discussion started by: yanglei_fage
1 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
is there any way, I can start any process for e.g. run a shell script (infinite loop) and attach it to port 2222?
I am trying to create a scenario where an application will start running at port 2222 and I will telnet the same to confirm, application port is listening.
So,... (1 Reply)
Discussion started by: vivekpandit7
1 Replies
LEARN ABOUT CENTOS
gldepthfunc
GLDEPTHFUNC(3G) OpenGL Manual GLDEPTHFUNC(3G)
NAME
glDepthFunc - specify the value used for depth buffer comparisons
C SPECIFICATION
void glDepthFunc(GLenum func);
PARAMETERS
func
Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL,
and GL_ALWAYS are accepted. The initial value is GL_LESS.
DESCRIPTION
glDepthFunc specifies the function used to compare each incoming pixel depth value with the depth value present in the depth buffer. The
comparison is performed only if depth testing is enabled. (See glEnable() and glDisable() of GL_DEPTH_TEST.)
func specifies the conditions under which the pixel will be drawn. The comparison functions are as follows:
GL_NEVER
Never passes.
GL_LESS
Passes if the incoming depth value is less than the stored depth value.
GL_EQUAL
Passes if the incoming depth value is equal to the stored depth value.
GL_LEQUAL
Passes if the incoming depth value is less than or equal to the stored depth value.
GL_GREATER
Passes if the incoming depth value is greater than the stored depth value.
GL_NOTEQUAL
Passes if the incoming depth value is not equal to the stored depth value.
GL_GEQUAL
Passes if the incoming depth value is greater than or equal to the stored depth value.
GL_ALWAYS
Always passes.
The initial value of func is GL_LESS. Initially, depth testing is disabled. If depth testing is disabled or if no depth buffer exists, it
is as if the depth test always passes.
NOTES
Even if the depth buffer exists and the depth mask is non-zero, the depth buffer is not updated if the depth test is disabled. In order to
unconditionally write to the depth buffer, the depth test should be enabled and set to GL_ALWAYS.
ERRORS
GL_INVALID_ENUM is generated if func is not an accepted value.
ASSOCIATED GETS
glGet() with argument GL_DEPTH_FUNC
glIsEnabled() with argument GL_DEPTH_TEST
SEE ALSO
glDepthRange(), glEnable(), glPolygonOffset()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLDEPTHFUNC(3G)