Changeset 33540 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Timestamp:
- Oct 28, 2010 9:27:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_clip.c
r15532 r33540 157 157 /* 158 158 * First, compute normals for the clip poly. This 159 * breaks for multiple (3+) adjacent colinear vertic ies159 * breaks for multiple (3+) adjacent colinear vertices 160 160 */ 161 161 clip_normals = (double *)crAlloc(nclip_to_vert*2*sizeof(double)); … … 307 307 } 308 308 309 /* can't sub ract something from nothing! */309 /* can't subtract something from nothing! */ 310 310 if (got_intr) 311 311 *head = intr; … … 382 382 /* 383 383 * Here we generate all valid bitmaps to represent union/difference 384 * co nbinations. Each bitmap is N elements long, where N is the384 * combinations. Each bitmap is N elements long, where N is the 385 385 * number of polys [quads] that we are testing for overlap 386 386 */ … … 451 451 * In the map, 1 == union, 0 == difference 452 452 * 453 * (*res)[a] is the head of a poly list for all the polys that conver 453 * (*res)[a] is the head of a poly list for all the polys that convert 454 454 * regions of overlap between a+1 polys ((*res)[0] == NULL) 455 455 */ -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getteximage.c
r32240 r33540 25 25 GLvoid *pbo_offset; 26 26 27 /*pixels are actual y a pointer to location of 8byte network pointer in hgcm buffer28 regar less of guest/host bitness we're using only 4lower bytes as there're no27 /*pixels are actually a pointer to location of 8byte network pointer in hgcm buffer 28 regardless of guest/host bitness we're using only 4lower bytes as there're no 29 29 pbo>4gb (yet?) 30 30 */ -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_glsl.c
r31808 r33540 2 2 3 3 /** @file 4 * VBox OpenGL: GLSL related fu cntions4 * VBox OpenGL: GLSL related functions 5 5 */ 6 6 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_lists.c
r32255 r33540 23 23 * By zeroing the 'shared_display_lists' configuration option, we can tell 24 24 * the server to make list K be unique for all N clients. We do this by 25 * translating K into a new, unique ID depend ant on which client we're25 * translating K into a new, unique ID dependent on which client we're 26 26 * talking to (curClient->number). 27 27 * -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r33319 r33540 677 677 g_hackVBoxServerSaveLoadCallsLeft--; 678 678 679 /* Do nothing until lwe're being called last time */679 /* Do nothing until we're being called last time */ 680 680 if (g_hackVBoxServerSaveLoadCallsLeft>0) 681 681 { … … 795 795 g_hackVBoxServerSaveLoadCallsLeft--; 796 796 797 /* Do nothing until lwe're being called last time */797 /* Do nothing until we're being called last time */ 798 798 if (g_hackVBoxServerSaveLoadCallsLeft>0) 799 799 { -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_projmatrix.c
r27889 r33540 21 21 22 22 /* 23 * Determine which view and projection matrices to use when in stere mode.23 * Determine which view and projection matrices to use when in stereo mode. 24 24 * Return 0 = left eye, 1 = right eye. 25 25 */ … … 142 142 * If you're not using Cg, you may have to tell Chromium which program 143 143 * parameters contain the projection matrix. 144 * In this case, look at the OpenGL appli ation's vertex program code to144 * In this case, look at the OpenGL application's vertex program code to 145 145 * determine which program parameters contain the projection matrix. 146 146 * Then set the crserver's 'vertprog_projection_param' config option to -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_readpixels.c
r27983 r33540 36 36 GLvoid *pbo_offset; 37 37 38 /*pixels are actual y a pointer to location of 8byte network pointer in hgcm buffer39 regar less of guest/host bitness we're using only 4lower bytes as there're no38 /*pixels are actually a pointer to location of 8byte network pointer in hgcm buffer 39 regardless of guest/host bitness we're using only 4lower bytes as there're no 40 40 pbo>4gb (yet?) 41 41 */ -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_viewport.c
r27889 r33540 147 147 p.y2 = (GLfloat) (extent->clippedImagewindow.y2 - vpy) / vph; 148 148 149 /* XXX not sure this clamping is really nee ed anymore149 /* XXX not sure this clamping is really need anymore 150 150 */ 151 151 if (p.x1 < 0.0) {
Note:
See TracChangeset
for help on using the changeset viewer.