Changeset 33475 in vbox for trunk/src/VBox/GuestHost/OpenGL/packer/pack_pixels.c
- Timestamp:
- Oct 26, 2010 5:23:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_pixels.c
r27983 r33475 64 64 int *writeback) 65 65 { 66 GET_PACKER_CONTEXT(pc);66 CR_GET_PACKER_CONTEXT(pc); 67 67 unsigned char *data_ptr; 68 68 GLint stride = 0; … … 89 89 } 90 90 91 GET_BUFFERED_POINTER(pc, 48 + sizeof(CRNetworkPointer) );91 CR_GET_BUFFERED_POINTER(pc, 48 + sizeof(CRNetworkPointer) ); 92 92 WRITE_DATA( 0, GLint, x ); 93 93 WRITE_DATA( 4, GLint, y ); … … 104 104 WRITE_NETWORK_POINTER( 48, (char *) pixels ); 105 105 WRITE_OPCODE( pc, CR_READPIXELS_OPCODE ); 106 CR_UNLOCK_PACKER_CONTEXT(pc); 106 107 } 107 108 … … 205 206 int * writeback ) 206 207 { 207 GET_PACKER_CONTEXT(pc);208 CR_GET_PACKER_CONTEXT(pc); 208 209 unsigned char *data_ptr; 209 210 (void) pc; 210 GET_BUFFERED_POINTER( pc, 40 );211 CR_GET_BUFFERED_POINTER( pc, 40 ); 211 212 WRITE_DATA( 0, GLint, 40 ); 212 213 WRITE_DATA( 4, GLenum, CR_GETTEXIMAGE_EXTEND_OPCODE ); … … 218 219 WRITE_NETWORK_POINTER( 32, (void *) writeback ); 219 220 WRITE_OPCODE( pc, CR_EXTEND_OPCODE ); 220 } 221 CR_UNLOCK_PACKER_CONTEXT(pc); 222 }
Note:
See TracChangeset
for help on using the changeset viewer.