Searched refs:mLights (Results 1 – 8 of 8) sorted by relevance
47 : mLights(std::move(lights)) {} in Light()51 auto it = mLights.find(type); in setLight()53 if (it == mLights.end()) { in setLight()80 Type *types = new Type[mLights.size()]; in getSupportedTypes()83 for(auto const &pair : mLights) { in getSupportedTypes()91 hidl_types.setToExternal(types, mLights.size()); in getSupportedTypes()125 for (auto const& pair : mLights) { in debug()
51 std::map<Type, light_device_t*> mLights;
47 : mLights(std::move(lights)) {} in Light()51 auto it = mLights.find(type); in setLight()53 if (it == mLights.end()) return Status::LIGHT_NOT_SUPPORTED; in setLight()78 std::vector<Type> types(mLights.size()); in getSupportedTypes()81 for (const auto& pair : mLights) { in getSupportedTypes()117 for (const auto& pair : mLights) { in debug()
50 std::map<Type, light_device_t*> mLights;
154 android::base::loadBufferPtr<Light>(stream, mLights); in GLEScmContext()182 mLights[0].diffuse[0] = 1.0f; in GLEScmContext()183 mLights[0].diffuse[1] = 1.0f; in GLEScmContext()184 mLights[0].diffuse[2] = 1.0f; in GLEScmContext()185 mLights[0].diffuse[3] = 1.0f; in GLEScmContext()186 mLights[0].specular[0] = 1.0f; in GLEScmContext()187 mLights[0].specular[1] = 1.0f; in GLEScmContext()188 mLights[0].specular[2] = 1.0f; in GLEScmContext()189 mLights[0].specular[3] = 1.0f; in GLEScmContext()231 return mLights[lightIndex]; in getLightInfo()[all …]
252 Light mLights[kMaxLights] = {}; variable