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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 | 547 |
548 void CommandBufferProxyImpl::SendManagedMemoryStats( | 548 void CommandBufferProxyImpl::SendManagedMemoryStats( |
549 const GpuManagedMemoryStats& stats) { | 549 const GpuManagedMemoryStats& stats) { |
550 if (last_state_.error != gpu::error::kNoError) | 550 if (last_state_.error != gpu::error::kNoError) |
551 return; | 551 return; |
552 | 552 |
553 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_, | 553 Send(new GpuCommandBufferMsg_SendClientManagedMemoryStats(route_id_, |
554 stats)); | 554 stats)); |
555 } | 555 } |
556 | 556 |
| 557 gfx::GpuMemoryBuffer* CommandBufferProxyImpl::CreateGpuMemoryBuffer( |
| 558 size_t width, |
| 559 size_t height, |
| 560 unsigned internalformat, |
| 561 int32* id) { |
| 562 NOTREACHED(); |
| 563 return NULL; |
| 564 } |
| 565 |
| 566 void CommandBufferProxyImpl::DestroyGpuMemoryBuffer(int32 id) { |
| 567 NOTREACHED(); |
| 568 } |
| 569 |
557 } // namespace content | 570 } // namespace content |
OLD | NEW |