Changeset 54905 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Mar 23, 2015 11:20:58 AM (10 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 24 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk
r53852 r54905 29 29 $(VBOX_PATH_CROGL_GENFILES)/ 30 30 endif 31 32 ifeq ($(KBUILD_TARGET),darwin) 33 #VBOX_WITH_CR_DISPLAY_LISTS=1 34 endif 35 36 ifdef VBOX_WITH_CR_DISPLAY_LISTS 37 LIBRARIES += VBoxOGLcrdlm 38 DLLS += VBoxOGLexpandospu 39 endif # VBOX_WITH_CR_DISPLAY_LISTS 31 40 32 41 ifeq ($(KBUILD_TARGET),darwin) … … 155 164 $(VBOX_PATH_CROGL_GENFILES)/server_simpleget.c \ 156 165 $(VBOX_PATH_CROGL_GENFILES)/server_dispatch.h 166 ifdef VBOX_WITH_CR_DISPLAY_LISTS 167 VBoxOGLcrserverlib_DEFS += VBOX_WITH_CR_DISPLAY_LISTS 168 endif 157 169 ifdef VBOXCR_LOGFPS 158 170 VBoxOGLcrserverlib_DEFS += VBOXCR_LOGFPS … … 255 267 256 268 269 ifdef VBOX_WITH_CR_DISPLAY_LISTS 270 # 271 # VBoxOGLcrdlm 272 # 273 274 VBoxOGLcrdlm_TEMPLATE = VBOXCROGLR3HOSTLIB 275 VBoxOGLcrdlm_INCS = \ 276 dlm 277 VBoxOGLcrdlm_INTERMEDIATES = \ 278 $(VBOX_PATH_CROGL_GENFILES)/cr_dlm.h \ 279 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.h 280 281 VBoxOGLcrdlm_SOURCES = \ 282 dlm/dlm.c \ 283 dlm/dlm_arrays.c \ 284 dlm/dlm_bbox.c \ 285 dlm/dlm_calllist.c \ 286 dlm/dlm_checklist.c \ 287 dlm/dlm_error.c \ 288 dlm/dlm_lists.c \ 289 dlm/dlm_pointers.c \ 290 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.c 291 292 VBoxOGLcrdlm_CLEAN = \ 293 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.c \ 294 $(VBOX_PATH_CROGL_GENFILES)/cr_dlm.h \ 295 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.h 296 # 297 # Generate files for VBoxOGLcrdlm. 298 # 299 $(VBOX_PATH_CROGL_GENFILES)/cr_dlm.h: \ 300 $(addprefix $(PATH_SUB_CURRENT)/dlm/, dlm_header.py) \ 301 $(VBOX_CROGL_API_FILES) \ 302 | $$(dir $$@) 303 $(call MSG_GENERATE,python,$@,$<) 304 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< header $(VBOX_PATH_CROGL_GLAPI) > $@ 305 306 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.h: \ 307 $(addprefix $(PATH_SUB_CURRENT)/dlm/, dlm_generated.py dlm_special) \ 308 $(VBOX_PATH_CROGL_GENFILES)/cr_dlm.h \ 309 $(VBOX_CROGL_API_FILES) \ 310 | $$(dir $$@) 311 $(call MSG_GENERATE,python,$@,$<) 312 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< headers $(<D) $(VBOX_PATH_CROGL_GLAPI) > $@ 313 314 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.c: \ 315 $(addprefix $(PATH_SUB_CURRENT)/dlm/, dlm_generated.py dlm_special) \ 316 $(VBOX_PATH_CROGL_GENFILES)/dlm_generated.h \ 317 $(VBOX_CROGL_API_FILES) \ 318 | $$(dir $$@) 319 $(call MSG_GENERATE,python,$@,$<) 320 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< source $(<D) $(VBOX_PATH_CROGL_GLAPI) > $@ 321 322 323 # 324 # VBoxOGLexpandospu 325 # 326 VBoxOGLexpandospu_TEMPLATE = VBOXCROGLR3HOSTDLL 327 VBoxOGLexpandospu_INCS = \ 328 expando 329 VBoxOGLexpandospu_SOURCES = \ 330 expando/expandospu.c \ 331 expando/expandospu_config.c \ 332 expando/expandospu_init.c \ 333 $(VBOX_PATH_CROGL_GENFILES)/expando.c 334 VBoxOGLexpandospu_CLEAN = \ 335 $(VBOX_PATH_CROGL_GENFILES)/expando.c 336 VBoxOGLexpandospu_CLEAN = \ 337 $(VBOX_PATH_CROGL_GENFILES)/expando.c 338 VBoxOGLexpandospu_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLexpandospu.dylib 339 VBoxOGLexpandospu_LIBS = \ 340 $(PATH_STAGE_LIB)/VBoxOGLcrdlm$(VBOX_SUFF_LIB) \ 341 $(PATH_STAGE_LIB)/VBoxOGLhostcrstate$(VBOX_SUFF_LIB) \ 342 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \ 343 $(VBOX_LIB_OGL_HOSTCRUTIL) \ 344 $(LIB_RUNTIME) 345 # 346 # Generate files for VBoxOGLexpandospu. 347 # 348 $(VBOX_PATH_CROGL_GENFILES)/expando.c: \ 349 $(addprefix $(PATH_SUB_CURRENT)/expando/, expando.py expando_special) \ 350 $(VBOX_CROGL_API_FILES) \ 351 | $$(dir $$@) 352 $(call MSG_GENERATE,python,$@,$<) 353 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) $(<D) > $@ 354 endif 355 356 257 357 # 258 358 # VBoxOGLrenderspu -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.c
r54507 r54905 116 116 } 117 117 118 #ifdef VBOX_WITH_CR_DISPLAY_LISTS 119 strcpy(response, "1 0 expando"); 120 #else 118 121 strcpy(response, "1 0 render"); 122 #endif 119 123 crDebug("CRServer: my SPU chain: %s", response); 120 124 … … 286 290 CRMuralInfo *defaultMural; 287 291 292 #ifdef VBOX_WITH_CR_DISPLAY_LISTS 293 int spu_ids[1] = {0}; 294 char *spu_names[1] = {"expando"}; 295 #else 288 296 int spu_ids[1] = {0}; 289 297 char *spu_names[1] = {"render"}; 298 #endif 290 299 char *spu_dir = NULL; 291 300 int i; -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r54582 r54905 204 204 if (!fContextsDeleted) 205 205 { 206 #ifndef VBOX_WITH_CR_DISPLAY_LISTS 206 207 /* sync our state with renderspu, 207 208 * do it before mural & context deletion to avoid deleting currently set murals/contexts*/ 208 209 cr_server.head_spu->dispatch_table.MakeCurrent(CR_RENDER_DEFAULT_WINDOW_ID, 0, CR_RENDER_DEFAULT_CONTEXT_ID); 210 #endif 209 211 } 210 212 -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_init.c
r53169 r54905 187 187 #ifdef CHROMIUM_THREADSAFE 188 188 crDebug("Render SPU: thread-safe"); 189 crInitTSD(&_RenderTSD); 189 190 #endif 190 191
Note:
See TracChangeset
for help on using the changeset viewer.