Searched refs:pack_spu (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Additions/common/crOpenGL/pack/
H A Dpackspu_config.c17 crMemZero(pack_spu.context, CR_MAX_CONTEXTS * sizeof(ContextInfo));
18 pack_spu.numContexts = 0;
20 crMemZero(pack_spu.thread, MAX_THREADS * sizeof(ThreadInfo));
21 pack_spu.numThreads = 0;
27 sscanf( response, "%d", &(pack_spu.emit_GATHER_POST_SWAPBUFFERS) );
32 sscanf( response, "%d", &(pack_spu.swapbuffer_sync) );
53 pack_spu.emit_GATHER_POST_SWAPBUFFERS = 0;
54 pack_spu.swapbuffer_sync = 0;
55 pack_spu.name = crStrdup("vboxhgcm://llp:7000");
56 pack_spu
[all...]
H A Dpackspu_swapbuf.c18 if (pack_spu.swap)
36 if (pack_spu.swap)
52 if (pack_spu.swapbuffer_sync) {
75 if (pack_spu.swap)
93 if (pack_spu.emit_GATHER_POST_SWAPBUFFERS)
95 if (pack_spu.swap)
H A Dpackspu_init.c22 PackSPU pack_spu; variable
45 pack_spu.id = id;
50 pack_spu.bRunningUnderWDDM = !!GetModuleHandle(VBOX_MODNAME_DISPD3D);
54 memset(&pack_spu.Dumper, 0, sizeof (pack_spu.Dumper));
69 CRASSERT( thread == &(pack_spu.thread[0]) );
70 pack_spu.idxThreadInUse = 0;
82 crSPUInitDispatchTable( &(pack_spu.self) );
83 crSPUCopyDispatchTable( &(pack_spu.self), self );
95 if (pack_spu
[all...]
H A Dpackspu_texture.c47 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
51 if (pack_spu.swap)
61 if (pack_spu.swap)
H A Dpackspu_misc.c58 if (slot < 0 || slot >= pack_spu.numContexts)
64 pCtx[i] = &pack_spu.context[slot];
87 if (pack_spu.swap)
130 GLint writeback = CRPACKSPU_IS_WDDM_CRHGSMI() ? 1 : pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network;
132 if (pack_spu.swap)
145 if (pack_spu.swap)
182 if (pack_spu.thread[i].inUse
183 && (thread != &pack_spu.thread[i]) && pack_spu
[all...]
H A Dpackspu_glsl.c31 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
35 if (pack_spu.swap)
45 if (pack_spu.swap)
60 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
64 if (pack_spu.swap)
74 if (pack_spu.swap)
122 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu
[all...]
H A Dpackspu_context.c32 CRASSERT(pack_spu.numThreads == 0);
39 CRASSERT(pack_spu.numThreads < MAX_THREADS);
42 if (!pack_spu.thread[i].inUse)
44 thread = &pack_spu.thread[i];
59 thread->netServer.name = crStrdup( pack_spu.name );
60 thread->netServer.buffer_size = pack_spu.buffer_size;
69 thread->packer = crPackNewContext( pack_spu.swap );
92 pack_spu.numThreads++;
113 CRASSERT(thread->id - THREAD_OFFSET_MAGIC < RT_ELEMENTS(pack_spu.thread)
143 CRASSERT(pack_spu
[all...]
H A Dpackspu_framebuffer.c105 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
109 if (pack_spu.swap)
127 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
131 if (pack_spu.swap)
H A Dpackspu.h111 extern PackSPU pack_spu;
120 #define GET_THREAD_VAL_ID(_id) (&(pack_spu.thread[GET_THREAD_IDX(_id)]))
122 #define GET_THREAD_VAL() (&(pack_spu.thread[0]))
149 # define CRPACKSPU_IS_WDDM_CRHGSMI() (pack_spu.bRunningUnderWDDM)
H A Dpackspu_client.c18 if (pack_spu.swap)
32 if (pack_spu.swap)
46 if (pack_spu.swap)
61 if (pack_spu.swap)
75 if (pack_spu.swap)
89 if (pack_spu.swap)
103 if (pack_spu.swap)
117 if (pack_spu.swap)
131 if (pack_spu.swap)
145 if (pack_spu
[all...]
H A Dpackspu_net.c50 --pack_spu.ReadPixels;
95 if (pack_spu.swap)
206 if (pack_spu.swap)
222 if (pack_spu.swap)
262 if (pack_spu.numThreads == 0) {
272 pack_spu.swap = server->conn->swap;
H A Dpackspu_bufferobject.c138 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
142 if (pack_spu.swap)
H A Dpackspu_getstring.c25 if (pack_spu.swap)
67 if (pack_spu.swap)
H A Dpackspu_pixel.c321 pack_spu.ReadPixels++;
332 if (pack_spu.swap)
380 if (pack_spu.swap)
413 if (pack_spu.swap)
435 if (pack_spu.swap)
458 if (pack_spu.swap)
486 if (pack_spu.swap)
513 if (pack_spu.swap)
535 if (pack_spu.swap)
551 if (pack_spu
[all...]

Completed in 440 milliseconds