Changeset 78375 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_bufferobject.cpp
- Timestamp:
- May 3, 2019 9:51:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_bufferobject.cpp
r78263 r78375 46 46 } 47 47 48 crStateGenBuffersARB( n, local_buffers);48 crStateGenBuffersARB(&cr_server.StateTracker, n, local_buffers); 49 49 50 50 crServerReturnValue( local_buffers, n * sizeof(*local_buffers) ); … … 60 60 } 61 61 62 crStateDeleteBuffersARB( n, buffer );62 crStateDeleteBuffersARB(&cr_server.StateTracker, n, buffer ); 63 63 } 64 64 … … 101 101 crServerDispatchBindBufferARB(GLenum target, GLuint buffer) 102 102 { 103 crStateBindBufferARB( target, buffer);104 cr_server.head_spu->dispatch_table.BindBufferARB(target, crStateGetBufferHWID( buffer));103 crStateBindBufferARB(&cr_server.StateTracker, target, buffer); 104 cr_server.head_spu->dispatch_table.BindBufferARB(target, crStateGetBufferHWID(&cr_server.StateTracker, buffer)); 105 105 } 106 106 … … 110 110 /* since GenBuffersARB issued to host ogl only on bind + some other ops, the host drivers may not know about them 111 111 * so use state data*/ 112 GLboolean retval = crStateIsBufferARB( buffer);112 GLboolean retval = crStateIsBufferARB(&cr_server.StateTracker, buffer); 113 113 crServerReturnValue( &retval, sizeof(retval) ); 114 114 return retval; /* WILL PROBABLY BE IGNORED */
Note:
See TracChangeset
for help on using the changeset viewer.