Changeset 33549 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c
- Timestamp:
- Oct 28, 2010 10:48:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c
r31808 r33549 164 164 GLsizei stride, const GLvoid *pointer, CRClientState *c) 165 165 { 166 /*crDebug("crUnpackSetClientPointerByIndex: %i(s=%i, t=0x%x, n=%i, str=%i) -> %p", index, size, type, normalized, stride, pointer);*/ 167 166 168 if (index<7) 167 169 { … … 225 227 offset = 2*sizeof(int)+12; 226 228 229 /*crDebug("crUnpackExtendLockArraysEXT(%i, %i) ne=%i", first, count, numenabled);*/ 230 227 231 for (i=0; i<numenabled; ++i) 228 232 { … … 234 238 crMemcpy(data+first*cp->bytesPerIndex, DATA_POINTER(offset, GLvoid), count*cp->bytesPerIndex); 235 239 offset += count*cp->bytesPerIndex; 240 /*crDebug("crUnpackExtendLockArraysEXT: old cp(%i): en/l=%i(%i) p=%p size=%i type=0x%x n=%i str=%i pp=%p pstr=%i", 241 index, cp->enabled, cp->locked, cp->p, cp->size, cp->type, cp->normalized, cp->stride, cp->prevPtr, cp->prevStride);*/ 236 242 crUnpackSetClientPointerByIndex(index, cp->size, cp->type, cp->normalized, 0, data, c); 243 /*crDebug("crUnpackExtendLockArraysEXT: new cp(%i): en/l=%i(%i) p=%p size=%i type=0x%x n=%i str=%i pp=%p pstr=%i", 244 index, cp->enabled, cp->locked, cp->p, cp->size, cp->type, cp->normalized, cp->stride, cp->prevPtr, cp->prevStride);*/ 237 245 } 238 246 cr_unpackDispatch.LockArraysEXT(first, count); … … 246 254 CRClientPointer *cp; 247 255 256 /*crDebug("crUnpackExtendUnlockArraysEXT");*/ 257 248 258 cr_unpackDispatch.UnlockArraysEXT(); 249 259 … … 253 263 if (cp->enabled) 254 264 { 265 /*crDebug("crUnpackExtendUnlockArraysEXT: old cp(%i): en/l=%i(%i) p=%p size=%i type=0x%x n=%i str=%i pp=%p pstr=%i", 266 i, cp->enabled, cp->locked, cp->p, cp->size, cp->type, cp->normalized, cp->stride, cp->prevPtr, cp->prevStride);*/ 255 267 crUnpackSetClientPointerByIndex(i, cp->size, cp->type, cp->normalized, cp->prevStride, cp->prevPtr, c); 256 } 257 } 258 } 268 /*crDebug("crUnpackExtendUnlockArraysEXT: new cp(%i): en/l=%i(%i) p=%p size=%i type=0x%x n=%i str=%i pp=%p pstr=%i", 269 i, cp->enabled, cp->locked, cp->p, cp->size, cp->type, cp->normalized, cp->stride, cp->prevPtr, cp->prevStride);*/ 270 } 271 } 272 }
Note:
See TracChangeset
for help on using the changeset viewer.