| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "o3d/gpu_plugin/np_utils/dynamic_np_object.h" | 5 #include "o3d/gpu_plugin/np_utils/dynamic_np_object.h" |
| 6 | 6 |
| 7 namespace o3d { | 7 namespace o3d { |
| 8 namespace gpu_plugin { | 8 namespace gpu_plugin { |
| 9 | 9 |
| 10 DynamicNPObject::DynamicNPObject(NPP npp) : BaseNPObject(npp) { | 10 DynamicNPObject::DynamicNPObject(NPP npp) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 void DynamicNPObject::Invalidate() { | 13 void DynamicNPObject::Invalidate() { |
| 14 for (PropertyMap::iterator it = properties_.begin(); | 14 for (PropertyMap::iterator it = properties_.begin(); |
| 15 it != properties_.end(); | 15 it != properties_.end(); |
| 16 ++it) { | 16 ++it) { |
| 17 it->second.Invalidate(); | 17 it->second.Invalidate(); |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 | 20 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 it != properties_.end(); | 52 it != properties_.end(); |
| 53 ++it) { | 53 ++it) { |
| 54 (*names)[i] = it->first; | 54 (*names)[i] = it->first; |
| 55 ++i; | 55 ++i; |
| 56 } | 56 } |
| 57 | 57 |
| 58 return true; | 58 return true; |
| 59 } | 59 } |
| 60 } // namespace gpu_plugin | 60 } // namespace gpu_plugin |
| 61 } // namespace o3d | 61 } // namespace o3d |
| OLD | NEW |