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

Side by Side Diff: ui/gfx/ozone/impl/buffer_generator_ozone.h

Issue 26866006: [Ozone] Adding a software surface implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 (c) 2013 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 #ifndef UI_GFX_OZONE_IMPL_BUFFER_GENERATOR_OZONE_H_
6 #define UI_GFX_OZONE_IMPL_BUFFER_GENERATOR_OZONE_H_
7
8 #include "base/basictypes.h"
9
10 namespace gfx {
11
12 class DrmSkBitmapOzone;
13
14 // Generates the backing buffers. Using a generator to allow injecting different
15 // implementations of the buffer (for example, mocks when testing).
16 class BufferGeneratorOzone {
17 public:
18 BufferGeneratorOzone();
19 virtual ~BufferGeneratorOzone();
20
21 // Creates an un-initialized buffer.
22 virtual DrmSkBitmapOzone* CreateBuffer(int fd);
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(BufferGeneratorOzone);
26 };
27
28 } // namespace gfx
29
30 #endif // UI_GFX_OZONE_IMPL_BUFFER_GENERATOR_OZONE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/ozone/impl/buffer_generator_ozone.cc » ('j') | ui/gfx/ozone/impl/software_surface_ozone.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698