Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / gpu / command_buffer / common / id_allocator.cc
index 7802e17..507b14e 100644 (file)
@@ -10,9 +10,6 @@
 
 namespace gpu {
 
-IdAllocatorInterface::~IdAllocatorInterface() {
-}
-
 IdAllocator::IdAllocator() {}
 
 IdAllocator::~IdAllocator() {}
@@ -89,34 +86,4 @@ ResourceId IdAllocator::FindFirstUnusedId() const {
   return id;
 }
 
-NonReusedIdAllocator::NonReusedIdAllocator() : last_id_(0) {
-}
-
-NonReusedIdAllocator::~NonReusedIdAllocator() {
-}
-
-ResourceId NonReusedIdAllocator::AllocateID() {
-  return ++last_id_;
-}
-
-ResourceId NonReusedIdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) {
-  if (desired_id > last_id_)
-    last_id_ = desired_id;
-
-  return ++last_id_;
-}
-
-bool NonReusedIdAllocator::MarkAsUsed(ResourceId id) {
-  NOTREACHED();
-  return false;
-}
-
-void NonReusedIdAllocator::FreeID(ResourceId id) {
-}
-
-bool NonReusedIdAllocator::InUse(ResourceId id) const {
-  NOTREACHED();
-  return false;
-}
-
 }  // namespace gpu