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

Side by Side Diff: content/common/gpu/gpu_memory_buffer_factory_win.cc

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GpuMemoryBufferFactory interface Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 "content/common/gpu/gpu_memory_buffer_factory.h"
6
7 namespace content {
8
9 // static
10 void GpuMemoryBufferFactory::Initialize() {
11 }
12
13 // static
14 bool GpuMemoryBufferFactory::CreateGpuMemoryBuffer(
15 const gfx::GpuMemoryBufferHandle& handle,
16 const gfx::Size& size,
17 unsigned internalformat,
18 unsigned usage) {
19 return false;
20 }
21
22 // static
23 void GpuMemoryBufferFactory::DestroyGpuMemoryBuffer(
24 const gfx::GpuMemoryBufferHandle& handle) {
25 }
26
27 // static
28 bool GpuMemoryBufferFactory::RequestAccessToGpuMemoryBuffer(
29 const gfx::GpuMemoryBufferHandle& handle,
30 int client_id) {
31 return true;
32 }
33
34 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698