OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/common/gpu/client/command_buffer_proxy_impl.h" | 5 #include "content/common/gpu/client/command_buffer_proxy_impl.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 | 546 |
547 void CommandBufferProxyImpl::SendManagedMemoryStats( | 547 void CommandBufferProxyImpl::SendManagedMemoryStats( |
548 const GpuManagedMemoryStats& stats) { | 548 const GpuManagedMemoryStats& stats) { |
549 if (last_state_.error != gpu::error::kNoError) | 549 if (last_state_.error != gpu::error::kNoError) |
550 return; | 550 return; |
551 | 551 |
552 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_, | 552 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_, |
553 stats)); | 553 stats)); |
554 } | 554 } |
555 | 555 |
| 556 gfx::GpuMemoryBuffer* CommandBufferProxyImpl::CreateGpuMemoryBuffer( |
| 557 size_t width, |
| 558 size_t height, |
| 559 unsigned internalformat, |
| 560 int32* id) { |
| 561 NOTREACHED(); |
| 562 return NULL; |
| 563 } |
| 564 |
| 565 void CommandBufferProxyImpl::DestroyGpuMemoryBuffer(int32 id) { |
| 566 NOTREACHED(); |
| 567 } |
| 568 |
556 } // namespace content | 569 } // namespace content |
OLD | NEW |