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.c2075 const D3DLIGHT9 *pLight ) in NineDevice9_SetLight() argument
2080 DBG("This=%p Index=%u pLight=%p\n", This, Index, pLight); in NineDevice9_SetLight()
2081 if (pLight) in NineDevice9_SetLight()
2082 nine_dump_D3DLIGHT9(DBG_FF, pLight); in NineDevice9_SetLight()
2084 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2085 user_assert(pLight->Type < NINED3DLIGHT_INVALID, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2089 hr = nine_state_set_light(&state->ff, Index, pLight); in NineDevice9_SetLight()
2093 if (pLight->Type != D3DLIGHT_DIRECTIONAL && in NineDevice9_SetLight()
2094 pLight->Attenuation0 == 0.0f && in NineDevice9_SetLight()
2095 pLight->Attenuation1 == 0.0f && in NineDevice9_SetLight()
[all …]
Ddevice9.h487 const D3DLIGHT9 *pLight );
492 D3DLIGHT9 *pLight );
Dnine_state.h452 const D3DLIGHT9 *pLight);
Dnine_state.c1802 ARG_COPY_REF(D3DLIGHT9, pLight)) in CSMT_ITEM_NO_WAIT() argument
1806 (void)nine_state_set_light(&context->ff, Index, pLight); in CSMT_ITEM_NO_WAIT()
3673 const D3DLIGHT9 *pLight) in nine_state_set_light() argument
3690 ff_state->light[Index] = *pLight; in nine_state_set_light()
3692 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);