Changeset 46396 in vbox
- Timestamp:
- Jun 5, 2013 3:22:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
r46395 r46396 1326 1326 } 1327 1327 1328 GLvoid SERVER_DISPATCH_APIENTRY crServerDispatchDrawArrays(GLenum mode, GLint first, GLsizei count)1329 {1330 GLenum status = cr_server.head_spu->dispatch_table.CheckFramebufferStatusEXT(GL_DRAW_FRAMEBUFFER_EXT);1331 Assert(GL_FRAMEBUFFER_COMPLETE == status);1332 while ((status = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR) {/*Assert(0);*/}1333 CR_SERVER_DUMP_DRAW_ENTER();1334 cr_server.head_spu->dispatch_table.DrawArrays(mode, first, count);1335 CR_SERVER_DUMP_DRAW_LEAVE();1336 while ((status = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR) {Assert(0);}1337 }1338 1339 GLvoid SERVER_DISPATCH_APIENTRY crServerDispatchDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices)1340 {1341 GLenum status = cr_server.head_spu->dispatch_table.CheckFramebufferStatusEXT(GL_DRAW_FRAMEBUFFER_EXT);1342 Assert(GL_FRAMEBUFFER_COMPLETE == status);1343 while ((status = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR) {/*Assert(0);*/}1344 CR_SERVER_DUMP_DRAW_ENTER();1345 cr_server.head_spu->dispatch_table.DrawElements(mode, count, type, indices);1346 CR_SERVER_DUMP_DRAW_LEAVE();1347 while ((status = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR) {Assert(0);}1348 }1349 1350 1328 void SERVER_DISPATCH_APIENTRY 1351 1329 crServerMakeTmpCtxCurrent( GLint window, GLint nativeWindow, GLint context )
Note:
See TracChangeset
for help on using the changeset viewer.