Changeset 50041 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack
- Timestamp:
- Jan 9, 2014 4:13:28 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91522
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.2 merged: 91503-91504,91506-91508,91510,91514-91515,91521
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.2/src/VBox merged: 91503-91504,91506-91508,91510,91514-91515,91521
- Property svn:mergeinfo changed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_get.py
r44994 r50041 49 49 50 50 from get_sizes import * 51 from get_components import *52 51 53 52 easy_swaps = { … … 206 205 print '\tif (pack_spu.swap)' 207 206 print '\t{' 208 print '\t\tfor (i = 0 ; i < lookupComponents(pname) ; i++)'207 print '\t\tfor (i = 0 ; i < crStateHlpComponentsCount(pname) ; i++)' 209 208 print '\t\t{' 210 209 if hard_funcs[func_name] == 'SWAPDOUBLE': -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_getshaders.c
r44529 r50041 99 99 } 100 100 101 void PACKSPU_APIENTRY packspu_GetAttachedObjectsARB( GLhandleARB containerObj, GLsizei maxCount, GLsizei * count,GLhandleARB * obj)101 void PACKSPU_APIENTRY packspu_GetAttachedObjectsARB(VBoxGLhandleARB containerObj, GLsizei maxCount, GLsizei * count, VBoxGLhandleARB * obj) 102 102 { 103 103 GET_THREAD(thread); … … 107 107 if (!obj) return; 108 108 109 pLocal = (GLsizei*) crAlloc(maxCount*sizeof( GLhandleARB)+sizeof(GLsizei));109 pLocal = (GLsizei*) crAlloc(maxCount*sizeof(VBoxGLhandleARB)+sizeof(GLsizei)); 110 110 if (!pLocal) return; 111 111 … … 116 116 117 117 if (count) *count=*pLocal; 118 crMemcpy(obj, &pLocal[1], *pLocal*sizeof( GLhandleARB));118 crMemcpy(obj, &pLocal[1], *pLocal*sizeof(VBoxGLhandleARB)); 119 119 crFree(pLocal); 120 120 } … … 122 122 AssertCompile(sizeof(GLsizei) == 4); 123 123 124 void PACKSPU_APIENTRY packspu_GetInfoLogARB( GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog)124 void PACKSPU_APIENTRY packspu_GetInfoLogARB(VBoxGLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog) 125 125 { 126 126 GET_THREAD(thread); -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c
r49264 r50041 130 130 } 131 131 132 void PACK_APIENTRY packspu_DeleteObjectARB( GLhandleARB obj)132 void PACK_APIENTRY packspu_DeleteObjectARB(VBoxGLhandleARB obj) 133 133 { 134 134 GLuint hwid = crStateGetProgramHWID(obj);
Note:
See TracChangeset
for help on using the changeset viewer.