Changeset 23277 in vbox
- Timestamp:
- Sep 24, 2009 9:38:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_glsl.c
r23274 r23277 45 45 void SERVER_DISPATCH_APIENTRY crServerDispatchDeleteShader(GLuint shader) 46 46 { 47 48 47 crStateDeleteShader(shader); 48 cr_server.head_spu->dispatch_table.DeleteShader(crStateGetShaderHWID(shader)); 49 49 } 50 50 51 51 void SERVER_DISPATCH_APIENTRY crServerDispatchAttachShader(GLuint program, GLuint shader) 52 52 { 53 54 53 crStateAttachShader(program, shader); 54 cr_server.head_spu->dispatch_table.AttachShader(crStateGetProgramHWID(program), crStateGetShaderHWID(shader)); 55 55 } 56 56 57 57 void SERVER_DISPATCH_APIENTRY crServerDispatchDetachShader(GLuint program, GLuint shader) 58 58 { 59 60 59 crStateDetachShader(program, shader); 60 cr_server.head_spu->dispatch_table.DetachShader(crStateGetProgramHWID(program), crStateGetShaderHWID(shader)); 61 61 } 62 62 63 63 void SERVER_DISPATCH_APIENTRY crServerDispatchLinkProgram(GLuint program) 64 64 { 65 66 65 crStateLinkProgram(program); 66 cr_server.head_spu->dispatch_table.LinkProgram(crStateGetProgramHWID(program)); 67 67 } 68 68 69 69 void SERVER_DISPATCH_APIENTRY crServerDispatchUseProgram(GLuint program) 70 70 { 71 72 71 crStateUseProgram(program); 72 cr_server.head_spu->dispatch_table.UseProgram(crStateGetProgramHWID(program)); 73 73 } 74 74 75 75 void SERVER_DISPATCH_APIENTRY crServerDispatchDeleteProgram(GLuint program) 76 76 { 77 78 77 crStateDeleteProgram(program); 78 cr_server.head_spu->dispatch_table.DeleteProgram(crStateGetProgramHWID(program)); 79 79 } 80 80 81 81 void SERVER_DISPATCH_APIENTRY crServerDispatchValidateProgram(GLuint program) 82 82 { 83 84 83 crStateValidateProgram(program); 84 cr_server.head_spu->dispatch_table.ValidateProgram(crStateGetProgramHWID(program)); 85 85 } 86 86 87 87 void SERVER_DISPATCH_APIENTRY crServerDispatchBindAttribLocation(GLuint program, GLuint index, const char * name) 88 88 { 89 90 89 crStateBindAttribLocation(program, index, name); 90 cr_server.head_spu->dispatch_table.BindAttribLocation(crStateGetProgramHWID(program), index, name); 91 91 } 92 92
Note:
See TracChangeset
for help on using the changeset viewer.