Home
last modified time | relevance | path

Searched refs:pLight (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp983 if(!WriteData32(pFile, ePODFileLightIdxTgt, &s.pLight[i].nIdxTarget)) return false; in WritePOD()
984 …!WriteData32(pFile, ePODFileLightColour, s.pLight[i].pfColour, sizeof(s.pLight[i].pfColour) / size… in WritePOD()
985 if(!WriteData32(pFile, ePODFileLightType, &s.pLight[i].eType)) return false; in WritePOD()
987 if(s.pLight[i].eType != ePODDirectional) in WritePOD()
989 …if(!WriteData32(pFile, ePODFileLightConstantAttenuation, &s.pLight[i].fConstantAttenuation)) retu… in WritePOD()
990 …if(!WriteData32(pFile, ePODFileLightLinearAttenuation, &s.pLight[i].fLinearAttenuation)) return… in WritePOD()
991 …if(!WriteData32(pFile, ePODFileLightQuadraticAttenuation, &s.pLight[i].fQuadraticAttenuation)) ret… in WritePOD()
994 if(s.pLight[i].eType == ePODSpot) in WritePOD()
996 … if(!WriteData32(pFile, ePODFileLightFalloffAngle, &s.pLight[i].fFalloffAngle)) return false; in WritePOD()
997 …if(!WriteData32(pFile, ePODFileLightFalloffExponent, &s.pLight[i].fFalloffExponent)) return fal… in WritePOD()
[all …]
DPVRTModelPOD.h277 SPODLight *pLight; /*!< Light nodes array */ member
/external/mesa3d/src/gallium/state_trackers/nine/
Ddevice9.c2113 const D3DLIGHT9 *pLight ) in NineDevice9_SetLight() argument
2118 DBG("This=%p Index=%u pLight=%p\n", This, Index, pLight); in NineDevice9_SetLight()
2119 if (pLight) in NineDevice9_SetLight()
2120 nine_dump_D3DLIGHT9(DBG_FF, pLight); in NineDevice9_SetLight()
2122 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2123 user_assert(pLight->Type < NINED3DLIGHT_INVALID, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2127 hr = nine_state_set_light(&state->ff, Index, pLight); in NineDevice9_SetLight()
2131 if (pLight->Type != D3DLIGHT_DIRECTIONAL && in NineDevice9_SetLight()
2132 pLight->Attenuation0 == 0.0f && in NineDevice9_SetLight()
2133 pLight->Attenuation1 == 0.0f && in NineDevice9_SetLight()
[all …]
Ddevice9.h495 const D3DLIGHT9 *pLight );
500 D3DLIGHT9 *pLight );
Dnine_state.h450 const D3DLIGHT9 *pLight);
Dnine_state.c1893 ARG_COPY_REF(D3DLIGHT9, pLight)) in CSMT_ITEM_NO_WAIT() argument
1897 (void)nine_state_set_light(&context->ff, Index, pLight); in CSMT_ITEM_NO_WAIT()
3797 const D3DLIGHT9 *pLight) in nine_state_set_light() argument
3814 ff_state->light[Index] = *pLight; in nine_state_set_light()
3816 if (pLight->Type == D3DLIGHT_SPOT && pLight->Theta >= pLight->Phi) { in nine_state_set_light()
Dnine_lock.c1131 const D3DLIGHT9 *pLight ) in LockDevice9_SetLight() argument
1135 r = NineDevice9_SetLight(This, Index, pLight); in LockDevice9_SetLight()
1143 D3DLIGHT9 *pLight ) in LockDevice9_GetLight() argument
1147 r = NineDevice9_GetLight(This, Index, pLight); in LockDevice9_GetLight()
/external/mesa3d/include/D3D9/
Dd3d9.h209 virtual HRESULT WINAPI SetLight(DWORD Index, const D3DLIGHT9 *pLight) = 0;
210 virtual HRESULT WINAPI GetLight(DWORD Index, D3DLIGHT9 *pLight) = 0;
797 HRESULT (WINAPI *SetLight)(IDirect3DDevice9 *This, DWORD Index, const D3DLIGHT9 *pLight);
798 HRESULT (WINAPI *GetLight)(IDirect3DDevice9 *This, DWORD Index, D3DLIGHT9 *pLight);
1048 HRESULT (WINAPI *SetLight)(IDirect3DDevice9Ex *This, DWORD Index, const D3DLIGHT9 *pLight);
1049 HRESULT (WINAPI *GetLight)(IDirect3DDevice9Ex *This, DWORD Index, D3DLIGHT9 *pLight);