- Timestamp:
- Oct 26, 2017 5:24:52 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 113 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.scm-settings
r69390 r69392 54 54 --filter-out-dirs "/src/apps/kchmviewer*/." 55 55 56 --filter-out-dirs "/src/VBox/GuestHost/OpenGL/*/."57 56 --filter-out-dirs "/src/VBox/Devices/Graphics/shaderlib*/." 58 57 --filter-out-dirs "/src/VBox/Devices/Graphics/vmsvga/." -
trunk/src/VBox/GuestHost/OpenGL/error/error.def
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/error/error.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/error/errorspu_init.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/glapi_parser/apiutil.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/opcodes.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_arrays.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_beginend.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_bounds.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_buffer.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_bufferobject.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_client.c
-
Property svn:keywords
changed from
Id
toId Revision
r69046 r69392 673 673 if (elementsBuffer && elementsBuffer->id) 674 674 { 675 /* @todo not sure it's possible, and not sure what to do*/675 /** @todo not sure it's possible, and not sure what to do*/ 676 676 if (!elementsBuffer->data) 677 677 { … … 720 720 if (elementsBuffer && elementsBuffer->id) 721 721 { 722 /* @todo not sure it's possible, and not sure what to do*/722 /** @todo not sure it's possible, and not sure what to do*/ 723 723 if (!elementsBuffer->data) 724 724 { -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_clipplane.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_context.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_current.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_currentheader.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_currenttypes.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_error.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_extensions.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_feedback.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_fence.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_fog.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_framebuffer.c
r62492 r69392 21 21 #include "cr_string.h" 22 22 23 void PACK_APIENTRY 23 void PACK_APIENTRY 24 24 crPackDeleteRenderbuffersEXT(GLsizei n, const GLuint * renderbuffers) 25 25 { … … 38 38 } 39 39 40 void PACK_APIENTRY 40 void PACK_APIENTRY 41 41 crPackDeleteFramebuffersEXT(GLsizei n, const GLuint * framebuffers) 42 42 { … … 55 55 } 56 56 57 void PACK_APIENTRY 57 void PACK_APIENTRY 58 58 crPackDeleteRenderbuffersEXTSWAP(GLsizei n, const GLuint * renderbuffers) 59 59 { … … 63 63 } 64 64 65 void PACK_APIENTRY 65 void PACK_APIENTRY 66 66 crPackDeleteFramebuffersEXTSWAP(GLsizei n, const GLuint * framebuffers) 67 67 { -
trunk/src/VBox/GuestHost/OpenGL/packer/pack_header.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_init.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_lights.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_lists.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_map.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_materials.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_matrices.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_misc.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_pica.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_pixelmap.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_pixels.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_point.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_program.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_regcombiner.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_shaders.c
-
Property svn:keywords
changed from
Id
toId Revision
r62814 r69392 56 56 packet_length += pLocalLength[i]; 57 57 } 58 58 59 59 if (length) 60 60 { … … 408 408 } 409 409 410 /* @todo next 8 functions are bit hacky,410 /** @todo next 8 functions are bit hacky, 411 411 * we expect packspu to pass a single structure with all output parameters via first output pointer. 412 412 * it'd be better to add CRMessageMultiReadback one day. … … 474 474 void PACK_APIENTRY crPackGetAttachedObjectsARB(VBoxGLhandleARB containerObj, GLsizei maxCount, GLsizei * count, VBoxGLhandleARB * obj, int * writeback) 475 475 { 476 477 478 479 480 481 482 483 484 485 486 487 476 CR_GET_PACKER_CONTEXT(pc); 477 unsigned char *data_ptr; 478 (void) pc; (void) obj; 479 CR_GET_BUFFERED_POINTER(pc, 32); 480 WRITE_DATA(0, GLint, 32); 481 WRITE_DATA(4, GLenum, CR_GETATTACHEDOBJECTSARB_EXTEND_OPCODE); 482 WRITE_DATA(8, VBoxGLhandleARB, containerObj); 483 WRITE_DATA(12, GLsizei, maxCount); 484 WRITE_NETWORK_POINTER(16, (void *) count); 485 WRITE_NETWORK_POINTER(24, (void *) writeback); 486 WRITE_OPCODE(pc, CR_EXTEND_OPCODE); 487 CR_CMDBLOCK_CHECK_FLUSH(pc); 488 488 CR_UNLOCK_PACKER_CONTEXT(pc); 489 489 } … … 491 491 void PACK_APIENTRY crPackGetInfoLogARB(VBoxGLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog, int * writeback) 492 492 { 493 494 495 496 497 498 499 500 501 502 503 504 493 CR_GET_PACKER_CONTEXT(pc); 494 unsigned char *data_ptr; 495 (void) pc; (void) infoLog; 496 CR_GET_BUFFERED_POINTER(pc, 32); 497 WRITE_DATA(0, GLint, 32); 498 WRITE_DATA(4, GLenum, CR_GETINFOLOGARB_EXTEND_OPCODE); 499 WRITE_DATA(8, VBoxGLhandleARB, obj); 500 WRITE_DATA(12, GLsizei, maxLength); 501 WRITE_NETWORK_POINTER(16, (void *) length); 502 WRITE_NETWORK_POINTER(24, (void *) writeback); 503 WRITE_OPCODE(pc, CR_EXTEND_OPCODE); 504 CR_CMDBLOCK_CHECK_FLUSH(pc); 505 505 CR_UNLOCK_PACKER_CONTEXT(pc); 506 506 } … … 562 562 void PACK_APIENTRY crPackGetUniformsLocations(GLuint program, GLsizei maxcbData, GLsizei * cbData, GLvoid * pData, int * writeback) 563 563 { 564 564 CR_GET_PACKER_CONTEXT(pc); 565 565 unsigned char *data_ptr; 566 566 (void) pData; -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_stipple.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_swap.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_swap_lists.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_swap_map.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_swap_pixelmap.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_swap_texture.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_texture.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_visibleregion.c
- Property svn:executable deleted
-
Property svn:keywords
changed from
Id
toId Revision
-
trunk/src/VBox/GuestHost/OpenGL/packer/packer.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/packer_bbox.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/packer/packer_defs.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/choosevisual.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/dispatch.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/dispatchheader.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/glloader.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/loader.def
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuchange.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spucopy.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuinit.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/convert.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/gendiffcode.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/get_components.py
-
Property svn:keywords
changed from
Id
toId Revision
r63939 r69392 140 140 """) 141 141 142 -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_attrib.c
-
Property svn:keywords
changed from
Id
toId Revision
r44326 r69392 56 56 } 57 57 58 /* @todo check if NV rect needed too*/58 /** @todo check if NV rect needed too*/ 59 59 static void 60 60 copy_texunit(CRTextureUnit *dest, const CRTextureUnit *src) -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_buffer.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_bufferobject.c
-
Property svn:keywords
changed from
Id
toId Revision
r63199 r69392 997 997 if (pBufferObj->data) 998 998 { 999 /* @todo http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt999 /** @todo http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt 1000 1000 "While it is entirely legal to create a buffer object by binding 1001 1001 it to GL_ARRAY_BUFFER and loading it with data, then using it … … 1125 1125 } 1126 1126 1127 -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_client.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_current.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_current.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_defs.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_diff.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_enable.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_error.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_evaluators.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_feedback.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_fence.c
-
Property svn:keywords
changed from
Id
toId Revision
r63199 r69392 49 49 } 50 50 51 -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_flush.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_fog.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_framebuffer.c
r63199 r69392 175 175 int u; 176 176 177 if (!pFBO) 177 if (!pFBO) 178 178 return; 179 179 … … 394 394 } 395 395 396 /* @todo: http://www.opengl.org/registry/specs/ARB/framebuffer_object.txt396 /** @todo http://www.opengl.org/registry/specs/ARB/framebuffer_object.txt 397 397 * FBO status might change when binding a different FBO here...but I doubt it happens. 398 398 * So no status reset here until a proper check. … … 479 479 } 480 480 481 /* @todo:move this function somewhere else*/481 /** @todo move this function somewhere else*/ 482 482 /*return floor of base 2 log of x. log(0)==0*/ 483 483 static unsigned int crLog2Floor(unsigned int x) … … 874 874 { 875 875 (void)target; 876 /* @todo*/876 /** @todo */ 877 877 } 878 878 … … 900 900 case GL_TEXTURE: 901 901 CRASSERT(pAP->name!=0); 902 902 903 903 tobj = (CRTextureObj *) crHashtableSearch(ctx->shared->textureTable, pAP->name); 904 904 if (tobj) … … 987 987 diff_api.BindRenderbufferEXT(GL_RENDERBUFFER_EXT, to->framebufferobject.renderbuffer? 988 988 to->framebufferobject.renderbuffer->hwid:0); 989 } 990 else 989 } 990 else 991 991 { 992 992 if (to->framebufferobject.drawFB!=from->framebufferobject.drawFB -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_funcs.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_get.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_getstring.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_glsl.c
r63199 r69392 139 139 140 140 pRealShader = crStateGetShaderObj(pShader->id); 141 141 142 142 if (pRealShader) 143 143 { … … 188 188 CRContext *g = GetCurrentContext(); 189 189 190 /* @todo: hack to allow crStateFreeGLSLProgram to work correctly,190 /** @todo hack to allow crStateFreeGLSLProgram to work correctly, 191 191 as the current context isn't the one being destroyed*/ 192 192 #ifdef CHROMIUM_THREADSAFE … … 671 671 pAttribs[pProgram->currentState.cAttribs].index = index; 672 672 pAttribs[pProgram->currentState.cAttribs].name = crStrdup(name); 673 673 674 674 pProgram->currentState.cAttribs++; 675 675 if (pProgram->currentState.pAttribs) crFree(pProgram->currentState.pAttribs); … … 827 827 } 828 828 829 /* @todo:one of those functions should ignore uniforms starting with "gl"*/829 /** @todo one of those functions should ignore uniforms starting with "gl"*/ 830 830 831 831 #ifdef IN_GUEST 832 DECLEXPORT(void) STATE_APIENTRY 832 DECLEXPORT(void) STATE_APIENTRY 833 833 crStateGLSLProgramCacheUniforms(GLuint program, GLsizei cbData, GLvoid *pData) 834 834 { … … 981 981 } 982 982 #else /* IN_GUEST */ 983 static GLboolean crStateGLSLProgramCacheOneUniform(GLuint location, GLsizei cbName, GLchar *pName, 983 static GLboolean crStateGLSLProgramCacheOneUniform(GLuint location, GLsizei cbName, GLchar *pName, 984 984 char **pCurrent, GLsizei *pcbWritten, GLsizei maxcbData) 985 985 { … … 1004 1004 } 1005 1005 1006 DECLEXPORT(void) STATE_APIENTRY 1006 DECLEXPORT(void) STATE_APIENTRY 1007 1007 crStateGLSLProgramCacheUniforms(GLuint program, GLsizei maxcbData, GLsizei *cbData, GLvoid *pData) 1008 1008 { … … 1021 1021 * OpenGL spec says about GL_ACTIVE_UNIFORM_MAX_LENGTH: 1022 1022 * "If no active uniform variable exist, 0 is returned." 1023 */ 1023 */ 1024 1024 diff_api.GetProgramiv(pProgram->hwid, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformLen); 1025 1025 if (maxUniformLen > 0) … … 1077 1077 *The name returned by glGetActiveUniform is driver dependent, 1078 1078 *atleast it's with [0] on win/ati and without [0] on linux/nvidia. 1079 */ 1079 */ 1080 1080 if (!pIndexStr) 1081 1081 { … … 1364 1364 CRGLSLProgram *pProgram = (CRGLSLProgram *) data2; 1365 1365 (void) key; 1366 1366 1367 1367 if (pShader->source) 1368 1368 { … … 1380 1380 CRGLSLProgram *pProgram = (CRGLSLProgram *) data2; 1381 1381 (void) key; 1382 1382 1383 1383 diff_api.DetachShader(pProgram->hwid, pShader->hwid); 1384 1384 } -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_hint.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_init.c
-
Property svn:keywords
changed from
Id
toId Revision
r63199 r69392 436 436 } 437 437 438 /* @todo crStateAttribDestroy*/438 /** @todo crStateAttribDestroy*/ 439 439 static void 440 440 crStateFreeContext(CRContext *ctx) -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_isenabled.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_lighting.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_limits.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_line.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_lists.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_multisample.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_occlude.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_pixel.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_point.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_polygon.c
-
Property svn:keywords
changed from
Id
toId Revision
r69046 r69392 186 186 } 187 187 188 /* @todo track mask if buffer is bound?*/188 /** @todo track mask if buffer is bound?*/ 189 189 if (!crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 190 190 { -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_program.c
-
Property svn:keywords
changed from
Id
toId Revision
r63459 r69392 2306 2306 } 2307 2307 2308 /* @todo support NVprograms and add some data validity checks*/2308 /** @todo support NVprograms and add some data validity checks*/ 2309 2309 static void 2310 2310 DiffProgramCallback(unsigned long key, void *pProg, void *pCtx) -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_rasterpos.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_regcombiner.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
-
Property svn:keywords
changed from
Id
toId Revision
r66835 r69392 38 38 * we'd have to update this code if we'd change state tracking. 39 39 * On the bright side it's fast, though it's not really needed as it's not that often operation. 40 * It could also worth to split those functions into appropriate parts, 40 * It could also worth to split those functions into appropriate parts, 41 41 * similar to the way context creation is being done. 42 42 * 43 43 * Second way would be to implement full dispatch api table and substitute diff_api during saving/loading. 44 * Then if we implement that api in a similar way to packer/unpacker with a change to store/load 44 * Then if we implement that api in a similar way to packer/unpacker with a change to store/load 45 45 * via provided pSSM handle instead of pack buffer, 46 46 * saving state could be done by simple diffing against empty "dummy" context. … … 400 400 int32_t rc, face, i; 401 401 GLint bound = 0; 402 402 403 403 CRASSERT(pTexture && pSSM); 404 404 … … 419 419 } 420 420 #ifdef CR_STATE_NO_TEXTURE_IMAGE_STORE 421 /* Note, this is not a bug. 421 /* Note, this is not a bug. 422 422 * Even with CR_STATE_NO_TEXTURE_IMAGE_STORE defined, it's possible that ptl->img!=NULL. 423 423 * For ex. we're saving snapshot right after it was loaded … … 515 515 #endif 516 516 517 /* @todo:ugly workaround for crashes inside ati driver,517 /** @todo ugly workaround for crashes inside ati driver, 518 518 * they overwrite their own allocated memory in cases where texlevel >=4 519 519 and width or height <=2. … … 559 559 { 560 560 int32_t rc, face, i; 561 561 562 562 CRASSERT(pTexture && pSSM); 563 563 … … 623 623 { 624 624 int32_t rc; 625 625 626 626 CRASSERT(pStack && pSSM); 627 627 … … 1221 1221 1222 1222 crStateSaveString(name, pSSM); 1223 1223 1224 1224 if (crStateIsIntUniform(type)) 1225 1225 { … … 1597 1597 1598 1598 /* Save attrib stack*/ 1599 /* @todo could go up to used stack depth here?*/1599 /** @todo could go up to used stack depth here?*/ 1600 1600 for ( i = 0 ; i < CR_MAX_ATTRIB_STACK_DEPTH ; i++) 1601 1601 { … … 2112 2112 #endif /*CR_ARB_vertex_buffer_object*/ 2113 2113 2114 /* @todo CR_NV_vertex_program*/2114 /** @todo CR_NV_vertex_program*/ 2115 2115 crStateCopyEvalPtrs1D(pTmpContext->eval.eval1D, pContext->eval.eval1D); 2116 2116 crStateCopyEvalPtrs2D(pTmpContext->eval.eval2D, pContext->eval.eval2D); 2117 2118 SLC_COPYPTR(feedback.buffer); /* @todo*/2119 SLC_COPYPTR(selection.buffer); /* @todo*/2117 2118 SLC_COPYPTR(feedback.buffer); /** @todo */ 2119 SLC_COPYPTR(selection.buffer); /** @todo */ 2120 2120 2121 2121 SLC_COPYPTR(lighting.light); … … 2125 2125 2126 2126 #if CR_ARB_occlusion_query 2127 SLC_COPYPTR(occlusion.objects); /* @todo*/2127 SLC_COPYPTR(occlusion.objects); /** @todo */ 2128 2128 #endif 2129 2129 … … 2387 2387 rc = SSMR3GetMem(pSSM, pBufferObj->data, pBufferObj->size); 2388 2388 AssertRCReturn(rc, rc); 2389 } 2389 } 2390 2390 else if (pBufferObj->id!=0 && pBufferObj->size>0) 2391 2391 { … … 2403 2403 2404 2404 if (key!=0) 2405 crHashtableAdd(pContext->shared->buffersTable, key, pBufferObj); 2405 crHashtableAdd(pContext->shared->buffersTable, key, pBufferObj); 2406 2406 } 2407 2407 /* Load pointers */ … … 2458 2458 crHashtableAdd(pContext->program.programHash, pProgram->id, pProgram); 2459 2459 //DIRTY(pProgram->dirtyProgram, pContext->neg_bitid); 2460 2460 2461 2461 } 2462 2462 /* Load Pointers */ … … 2528 2528 rc = SSMR3GetU32(pSSM, &ui); 2529 2529 AssertRCReturn(rc, rc); 2530 pContext->framebufferobject.drawFB = ui==0 ? NULL 2530 pContext->framebufferobject.drawFB = ui==0 ? NULL 2531 2531 : crHashtableSearch(pContext->shared->fbTable, ui); 2532 2532 2533 2533 rc = SSMR3GetU32(pSSM, &ui); 2534 2534 AssertRCReturn(rc, rc); 2535 pContext->framebufferobject.readFB = ui==0 ? NULL 2535 pContext->framebufferobject.readFB = ui==0 ? NULL 2536 2536 : crHashtableSearch(pContext->shared->fbTable, ui); 2537 2537 2538 2538 rc = SSMR3GetU32(pSSM, &ui); 2539 2539 AssertRCReturn(rc, rc); 2540 pContext->framebufferobject.renderbuffer = ui==0 ? NULL 2540 pContext->framebufferobject.renderbuffer = ui==0 ? NULL 2541 2541 : crHashtableSearch(pContext->shared->rbTable, ui); 2542 2542 … … 2591 2591 } 2592 2592 2593 if (pProgram->activeState.attachedShaders) 2593 if (pProgram->activeState.attachedShaders) 2594 2594 { 2595 2595 pProgram->activeState.attachedShaders = crAllocHashtable(); … … 2606 2606 } 2607 2607 2608 if (pProgram->currentState.cAttribs) 2608 if (pProgram->currentState.cAttribs) 2609 2609 pProgram->currentState.pAttribs = (CRGLSLAttrib*) crAlloc(pProgram->currentState.cAttribs*sizeof(CRGLSLAttrib)); 2610 2610 for (k=0; k<pProgram->currentState.cAttribs; ++k) … … 2615 2615 } 2616 2616 2617 if (pProgram->activeState.cAttribs) 2617 if (pProgram->activeState.cAttribs) 2618 2618 pProgram->activeState.pAttribs = (CRGLSLAttrib*) crAlloc(pProgram->activeState.cAttribs*sizeof(CRGLSLAttrib)); 2619 2619 for (k=0; k<pProgram->activeState.cAttribs; ++k) -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_stencil.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texdiff.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_teximage.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
-
Property svn:keywords
changed from
Id
toId Revision
r63199 r69392 3321 3321 * the crserverlib code be able to pass it to host ogl */ 3322 3322 3323 /* TODO:store texture priorities in the state data to be able to restore it properly3323 /** @todo store texture priorities in the state data to be able to restore it properly 3324 3324 * on save state load */ 3325 3325 } … … 3336 3336 UNUSED(textures); 3337 3337 UNUSED(residences); 3338 /* TODO:*/3338 /** @todo */ 3339 3339 return GL_TRUE; 3340 3340 } -
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_transform.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_viewport.c
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
r63369 r69392 17 17 18 18 19 /******************************************************************************* 20 * Header Files *21 ******************************************************************************* /19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 22 22 #ifdef IN_VMSVGA3D 23 23 # include <OpenGL/OpenGL.h> … … 833 833 crWarning("GL_ARB_pixel_buffer_object not supported"); 834 834 835 /* BlitFramebuffer seems to be buggy on Intel, 835 /* BlitFramebuffer seems to be buggy on Intel, 836 836 * try always glDrawXxx for now */ 837 837 if (!pBlitter->Flags.ForceDrawBlit && crStrstr(pszExtension, "GL_EXT_framebuffer_blit")) … … 1001 1001 pBlitter->pDispatch->BindFramebufferEXT(GL_DRAW_FRAMEBUFFER, pBlitter->idFBO); 1002 1002 1003 /* TODO:mag/min filters ? */1003 /** @todo mag/min filters ? */ 1004 1004 1005 1005 pBlitter->pDispatch->FramebufferTexture2DEXT(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, pDst->target, pDst->hwid, 0); … … 1161 1161 crWarning("GLSL unsuported, gl version %d", pCache->iGlVersion); 1162 1162 1163 /* @todo:we could also check for GL_ARB_shader_objects and GL_ARB_fragment_shader,1163 /** @todo we could also check for GL_ARB_shader_objects and GL_ARB_fragment_shader, 1164 1164 * but seems like chromium does not support properly gl*Object versions of shader functions used with those extensions */ 1165 1165 return false; -
trunk/src/VBox/GuestHost/OpenGL/util/compositor.cpp
r63199 r69392 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #include "../include/cr_compositor.h" 22 23 23 24 24 /******************************************************************************* 25 * Defined Constants And Macros *26 ******************************************************************************* /25 /********************************************************************************************************************************* 26 * Defined Constants And Macros * 27 *********************************************************************************************************************************/ 27 28 #define VBOXVR_SCR_COMPOSITOR_RECTS_UNDEFINED UINT32_MAX 28 29 #ifdef IN_VMSVGA3D … … 514 515 bool fPosRelated, bool *pfChanged) 515 516 { 516 /* @todo:the fChanged sate calculation is really rough now, this is enough for now though */517 /** @todo the fChanged sate calculation is really rough now, this is enough for now though */ 517 518 bool fChanged = false, fPosChanged = false; 518 519 bool fWasInList = CrVrScrCompositorEntryIsInList(pEntry); -
trunk/src/VBox/GuestHost/OpenGL/util/debug_opcodes.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/util/lowercase.py
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/util/net.c
r63199 r69392 441 441 { 442 442 #ifdef WINDOWS 443 /* @todo:do we actually need that WSA stuff with VBox at all? */443 /** @todo do we actually need that WSA stuff with VBox at all? */ 444 444 WORD wVersionRequested = MAKEWORD(2, 0); 445 445 WSADATA wsaData; -
trunk/src/VBox/GuestHost/OpenGL/util/pixel.c
r66827 r69392 1693 1693 (void)dstPacking; 1694 1694 1695 /* @todo this should be implemented properly*/1695 /** @todo this should be implemented properly*/ 1696 1696 1697 1697 #ifndef DEBUG_misha -
trunk/src/VBox/GuestHost/OpenGL/util/util.def
-
Property svn:keywords
changed from
Id
toId Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c
r68550 r69392 46 46 #endif 47 47 48 /* @todo move define somewhere else, and make sure it's less than VBGLR0_MAX_HGCM_KERNEL_PARM*/48 /** @todo move define somewhere else, and make sure it's less than VBGLR0_MAX_HGCM_KERNEL_PARM*/ 49 49 /*If we fail to pass data in one chunk, send it in chunks of this size instead*/ 50 50 #define CR_HGCM_SPLIT_BUFFER_SIZE (8*_1M) … … 545 545 546 546 #ifndef IN_GUEST 547 /* @todo get rid of it*/547 /** @todo get rid of it*/ 548 548 static bool _crVBoxHGCMWriteBytes(CRConnection *conn, const void *buf, uint32_t len) 549 549 { … … 593 593 else 594 594 # endif 595 { 595 { 596 596 rc = VbglR3HGCMCall(pData, cbData); 597 597 if (RT_SUCCESS(rc)) … … 916 916 { 917 917 #ifndef IN_GUEST 918 /** @todo remove temp buffer allocation in unpacker*/918 /** @todo remove temp buffer allocation in unpacker*/ 919 919 /* we're at the host side, so just store data until guest polls us */ 920 920 _crVBoxHGCMWriteBytes(conn, start, len); … … 1023 1023 CRASSERT(hgcm_buffer->magic == CR_VBOXHGCM_BUFFER_MAGIC); 1024 1024 1025 /* @todo wrong len for redir buffers*/1025 /** @todo wrong len for redir buffers*/ 1026 1026 conn->recv_credits += hgcm_buffer->len; 1027 1027 … … 1033 1033 #endif 1034 1034 if (g_crvboxhgcm.bufpool) { 1035 /** @todo o'rly? */1035 /** @todo o'rly? */ 1036 1036 /* pool may have been deallocated just a bit earlier in response 1037 1037 * to a SIGPIPE (Broken Pipe) signal. … … 1376 1376 } 1377 1377 1378 /* @todo same, replace DeviceIoControl with vbglR3DoIOCtl */1378 /** @todo same, replace DeviceIoControl with vbglR3DoIOCtl */ 1379 1379 static void crVBoxHGCMDoDisconnect( CRConnection *conn ) 1380 1380 { … … 2189 2189 2190 2190 /* Can't open VBox guest driver here, because it gets called for host side as well */ 2191 /* @todo as we have 2 dll versions, can do it now.*/2191 /** @todo as we have 2 dll versions, can do it now.*/ 2192 2192 2193 2193 #ifdef RT_OS_WINDOWS -
trunk/src/VBox/GuestHost/OpenGL/util/vboxhgsmi.c
r68550 r69392 618 618 { 619 619 _crVBoxHGSMIWaitCmd(pClient); 620 /* @todo:do we need to wait for completion actually?620 /** @todo do we need to wait for completion actually? 621 621 * NOTE: in case we do not need completion, 622 622 * we MUST specify bDoNotSignalCompletion flag for the command buffer */ … … 652 652 { 653 653 _crVBoxHGSMIWaitCmd(pClient); 654 /* @todo:do we need to wait for completion actually?654 /** @todo do we need to wait for completion actually? 655 655 * NOTE: in case we do not need completion, 656 656 * we MUST specify bDoNotSignalCompletion flag for the command buffer */ … … 924 924 pClient = _crVBoxHGSMIClientGet(); 925 925 #ifndef IN_GUEST 926 // @todo remove temp buffer allocation in unpacker926 /// @todo remove temp buffer allocation in unpacker 927 927 /* we're at the host side, so just store data until guest polls us */ 928 928 _crVBoxHGCMWriteBytes(conn, start, len); … … 1010 1010 else 1011 1011 { 1012 /* @todo wrong len for redir buffers*/1012 /** @todo wrong len for redir buffers*/ 1013 1013 conn->recv_credits += hgsmi_buffer->u32Len; 1014 1014 … … 1245 1245 } 1246 1246 1247 /* @todo same, replace DeviceIoControl with vbglR3DoIOCtl */1247 /** @todo same, replace DeviceIoControl with vbglR3DoIOCtl */ 1248 1248 static void crVBoxHGSMIDoDisconnect( CRConnection *conn ) 1249 1249 { … … 1261 1261 conn->cbBuffer = 0; 1262 1262 1263 // @todo hold lock here?1263 /// @todo hold lock here? 1264 1264 if (conn->type == CR_VBOXHGCM) 1265 1265 { … … 1348 1348 Assert(0); 1349 1349 1350 /* @todo */1350 /** @todo */ 1351 1351 } 1352 1352 … … 1395 1395 1396 1396 /* Can't open VBox guest driver here, because it gets called for host side as well */ 1397 /* @todo as we have 2 dll versions, can do it now.*/1397 /** @todo as we have 2 dll versions, can do it now.*/ 1398 1398 1399 1399 #ifdef RT_OS_WINDOWS … … 1483 1483 conn->allow_redir_ptr = 1; 1484 1484 1485 // @todo remove this crap at all later1485 /// @todo remove this crap at all later 1486 1486 conn->cbHostBufferAllocated = 0;//2*1024; 1487 1487 conn->pHostBuffer = NULL;//(uint8_t*) crAlloc(conn->cbHostBufferAllocated); -
trunk/src/VBox/GuestHost/OpenGL/util/vreg.cpp
r64766 r69392 16 16 */ 17 17 18 /******************************************************************************* 19 * Header Files * 20 *******************************************************************************/ 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 21 22 #ifdef IN_VMSVGA3D 22 23 # include "../include/cr_vreg.h" … … 99 100 100 101 101 /******************************************************************************* 102 * Defined Constants And Macros *103 ******************************************************************************* /102 /********************************************************************************************************************************* 103 * Defined Constants And Macros * 104 *********************************************************************************************************************************/ 104 105 #define VBOXVR_INVALID_COORD (~0U) 105 106 106 107 107 /******************************************************************************* 108 * Global Variables *109 ******************************************************************************* /108 /********************************************************************************************************************************* 109 * Global Variables * 110 *********************************************************************************************************************************/ 110 111 static volatile int32_t g_cVBoxVrInits = 0; 111 112 … … 812 813 Assert(VBoxRectCmp(pRect2, &RegRect1)); 813 814 814 /* @todo:this can have false-alarming sometimes if the separated rects will then be joind into the original rect,815 /** @todo this can have false-alarming sometimes if the separated rects will then be joind into the original rect, 815 816 * so far this should not be a problem for VReg clients, so keep it this way for now */ 816 817 fChanged = true; … … 961 962 return VINF_SUCCESS; 962 963 963 /* @todo:fChanged will have false alarming here, fix if needed */964 /** @todo fChanged will have false alarming here, fix if needed */ 964 965 VBoxVrListClear(pList); 965 966
Note:
See TracChangeset
for help on using the changeset viewer.