Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1379)

Side by Side Diff: components/view_manager/gles2/mojo_gpu_memory_buffer_manager.cc

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/view_manager/gles2/mojo_gpu_memory_buffer_manager.h"
6
7 #include "base/logging.h"
8 #include "components/view_manager/gles2/mojo_gpu_memory_buffer.h"
9
10 namespace gles2 {
11
12 MojoGpuMemoryBufferManager::MojoGpuMemoryBufferManager() {
13 }
14
15 MojoGpuMemoryBufferManager::~MojoGpuMemoryBufferManager() {
16 }
17
18 scoped_ptr<gfx::GpuMemoryBuffer>
19 MojoGpuMemoryBufferManager::AllocateGpuMemoryBuffer(
20 const gfx::Size& size,
21 gfx::GpuMemoryBuffer::Format format,
22 gfx::GpuMemoryBuffer::Usage usage) {
23 return MojoGpuMemoryBufferImpl::Create(size, format, usage);
24 }
25
26 gfx::GpuMemoryBuffer*
27 MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
28 ClientBuffer buffer) {
29 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
30 }
31
32 void MojoGpuMemoryBufferManager::SetDestructionSyncPoint(
33 gfx::GpuMemoryBuffer* buffer, uint32 sync_point) {
34 NOTIMPLEMENTED();
35 }
36
37 } // namespace gles2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698