Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/haiku/src/tests/kits/opengl/glsl/
H A Dshaderutil.c118 GLuint program = glCreateProgram(); in LinkShaders() local
124 glAttachShader(program, fragShader); in LinkShaders()
126 glAttachShader(program, vertShader); in LinkShaders()
129 glLinkProgram(program); in LinkShaders()
137 glGetProgramiv(program, GL_LINK_STATUS, &stat); in LinkShaders()
141 glGetProgramInfoLog(program, 1000, &len, log); in LinkShaders()
147 return program; in LinkShaders()
152 ValidateShaderProgram(GLuint program) in ValidateShaderProgram() argument
155 glValidateProgramARB(program); in ValidateShaderProgram()
156 glGetProgramiv(program, GL_VALIDATE_STATUS, &stat); in ValidateShaderProgram()
[all …]
H A Dshaderutil.h40 ValidateShaderProgram(GLuint program);
49 SetUniformValues(GLuint program, struct uniform_info uniforms[]);
52 GetUniforms(GLuint program, struct uniform_info uniforms[]);
58 GetAttribs(GLuint program, struct attrib_info attribs[]);
H A Dbrick.c24 static GLuint program; variable
86 glDeleteProgram(program); in CleanUp()
148 program = LinkShaders(vertShader, fragShader); in Init()
150 glUseProgram(program); in Init()
152 SetUniformValues(program, Uniforms); in Init()
161 assert(glIsProgram(program)); in Init()
/haiku/src/bin/
H A Dshutdown.cpp66 usage(const char *program) in usage() argument
74 "\t-d delay shutdown by <time> seconds.\n", program); in usage()
86 const char *program = strrchr(argv[0], '/'); in main() local
87 if (program == NULL) in main()
88 program = argv[0]; in main()
90 program++; in main()
93 if (strcmp(program, "reboot") == 0) in main()
95 if (strcmp(program, "shutdown") != 0) in main()
102 usage(program); in main()
153 usage(program); in main()
[all …]
H A Dlistres.cpp82 const char *program = strrchr(argv[0], '/'); in main() local
83 if (program == NULL) in main()
84 program = argv[0]; in main()
86 program++; in main()
89 printf("usage: %s <filename> [<filename> ...]\n", program); in main()
101 program, argv[i], strerror(status)); in main()
109 program, argv[i], strerror(status)); in main()
H A Dcatattr.cpp290 usage(const char* program, int returnCode) in usage() argument
297 " --data,-d\tShow the attribute data only\n", program); in usage()
306 char *program = strrchr(argv[0], '/'); in main() local
307 if (program == NULL) in main()
308 program = argv[0]; in main()
310 program++; in main()
337 return usage(program, EXIT_SUCCESS); in main()
340 return usage(program, EXIT_FAILURE); in main()
345 return usage(program, EXIT_FAILURE); in main()
356 program, fileName, attrName, strerror(status)); in main()
/haiku/src/tests/system/runtime_loader/test_suite/
H A Dload_resolve_basic123 cat > program.c << EOI
40 compile_program -o program program.c ./liba.so
43 test_run_ok ./program 1
H A Dload_resolve_weak125 cat > program.c << EOI
42 compile_program -o program program.c ./liba.so
45 test_run_ok ./program 8
H A Dload_init_order121 cat > program.c << EOI
39 compile_program -o program program.c ./liba.so -pie
42 test_run_ok ./program 11
H A Dload_resolve_weak233 cat > program.c << EOI
44 compile_program -o program program.c ./liba.so ./libb.so
47 test_run_ok ./program 2
H A Dload_resolve_order434 cat > program.c << EOI
48 compile_program -o program program.c ./libb.so
51 test_run_ok ./program 1
H A Ddlopen_resolve_basic125 cat > program.c << EOI
56 compile_program_dl -o program program.c
59 test_run_ok ./program 1
H A Dload_resolve_order243 cat > program.c << EOI
53 compile_program -o program program.c ./libb.so ./liba.so
56 test_run_ok ./program 1
H A Dload_resolve_order143 cat > program.c << EOI
53 compile_program -o program program.c ./liba.so ./libb.so
56 test_run_ok ./program 1
H A Dload_resolve_order344 cat > program.c << EOI
54 compile_program -o program program.c ./liba.so ./libb.so
57 test_run_ok ./program 1
H A Ddlopen_resolve_basic235 cat > program.c << EOI
63 compile_program_dl -o program program.c ./libb.so
66 test_run_ok ./program 1
H A Ddlopen_resolve_order136 cat > program.c << EOI
73 compile_program_dl -o program program.c
76 test_run_ok ./program 1
H A Ddlopen_resolve_basic346 cat > program.c << EOI
73 compile_program_dl -o program program.c
76 test_run_ok ./program 1
H A Dload_lookup_next157 cat > program.c << EOI
76 compile_program_dl -o program program.c ./liba.so
79 test_run_ok ./program 15
H A Ddlopen_resolve_order346 cat > program.c << EOI
80 compile_program_dl -o program program.c
83 test_run_ok ./program 2
H A Ddlopen_resolve_order746 cat > program.c << EOI
80 compile_program_dl -o program program.c
83 test_run_ok ./program 1
H A Ddlopen_lookup_order355 cat > program.c << EOI
82 compile_program_dl -o program program.c
85 test_run_ok ./program 2
H A Ddlopen_resolve_order256 cat > program.c << EOI
83 compile_program_dl -o program program.c
86 test_run_ok ./program 2
H A Ddlopen_lookup_order145 cat > program.c << EOI
86 compile_program_dl -o program program.c
89 test_run_ok ./program 1
H A Ddlopen_resolve_order456 cat > program.c << EOI
90 compile_program_dl -o program program.c
93 test_run_ok ./program 2

12345678910>>...15