Searched refs:glIndex (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dstateblock.c567 if (realLight->glIndex == -1 && src->glIndex != -1)
570 This->activeLights[src->glIndex] = NULL;
572 else if (realLight->glIndex != -1 && src->glIndex == -1)
575 This->activeLights[realLight->glIndex] = src;
577 src->glIndex = realLight->glIndex;
591 if (src->glIndex != -1)
593 This->activeLights[src->glIndex]
[all...]
H A Ddevice.c2404 object->glIndex = -1;
2486 /* Update the live definitions if the light is currently assigned a glIndex */
2487 if (object->glIndex != -1 && !This->isRecordingState) {
2488 IWineD3DDeviceImpl_MarkStateDirty(This, STATE_ACTIVELIGHT(object->glIndex));
2557 if(lightInfo->glIndex != -1) {
2559 IWineD3DDeviceImpl_MarkStateDirty(This, STATE_ACTIVELIGHT(lightInfo->glIndex));
2562 This->updateStateBlock->activeLights[lightInfo->glIndex] = NULL;
2563 lightInfo->glIndex = -1;
2570 if (lightInfo->glIndex != -1) {
2579 lightInfo->glIndex
[all...]
H A Dstate.c3853 glLightfv(GL_LIGHT0 + light->glIndex, GL_POSITION, light->lightPosn);
3855 glLightfv(GL_LIGHT0 + light->glIndex, GL_SPOT_DIRECTION, light->lightDirn);
H A Dwined3d_private.h1323 LONG glIndex; member in struct:wined3d_light_info
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dstateblock.c659 if (realLight->glIndex == -1 && src->glIndex != -1)
662 dst_state->lights[src->glIndex] = NULL;
664 else if (realLight->glIndex != -1 && src->glIndex == -1)
667 dst_state->lights[realLight->glIndex] = src;
669 src->glIndex = realLight->glIndex;
683 if (src->glIndex != -1)
685 dst_state->lights[src->glIndex]
[all...]
H A Ddevice.c1832 object->glIndex = -1;
1847 /* Update the live definitions if the light is currently assigned a glIndex. */
1848 if (object->glIndex != -1 && !device->isRecordingState)
1852 device_invalidate_state(device, STATE_ACTIVELIGHT(object->glIndex));
2001 if (light_info->glIndex != -1)
2006 device_invalidate_state(device, STATE_ACTIVELIGHT(light_info->glIndex));
2009 device->updateStateBlock->state.lights[light_info->glIndex] = NULL;
2010 light_info->glIndex = -1;
2021 if (light_info->glIndex != -1)
2035 light_info->glIndex
[all...]
H A Dwined3d_private.h1399 LONG glIndex; member in struct:wined3d_light_info
H A Dstate.c3960 gl_info->gl_ops.gl.p_glLightfv(GL_LIGHT0 + light->glIndex, GL_POSITION, light->lightPosn);
3962 gl_info->gl_ops.gl.p_glLightfv(GL_LIGHT0 + light->glIndex, GL_SPOT_DIRECTION, light->lightDirn);
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dwined3d_private.h1351 LONG glIndex; member in struct:wined3d_light_info

Completed in 134 milliseconds