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

Side by Side Diff: ui/gfx/ozone/dri/dri_skbitmap.h

Issue 62953003: Support removal of DRI platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix use_ozone=0 Created 7 years, 1 month 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
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/ozone/dri/dri_skbitmap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef UI_GFX_OZONE_IMPL_DRI_SKBITMAP_H_ 5 #ifndef UI_GFX_OZONE_DRI_DRI_SKBITMAP_H_
6 #define UI_GFX_OZONE_IMPL_DRI_SKBITMAP_H_ 6 #define UI_GFX_OZONE_DRI_DRI_SKBITMAP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkBitmap.h" 9 #include "third_party/skia/include/core/SkBitmap.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 // Extend the SkBitmap interface to keep track of additional parameters used by 13 // Extend the SkBitmap interface to keep track of additional parameters used by
14 // the DRM stack when allocating buffers. 14 // the DRM stack when allocating buffers.
15 class DriSkBitmap : public SkBitmap { 15 class DriSkBitmap : public SkBitmap {
16 public: 16 public:
(...skipping 29 matching lines...) Expand all
46 46
47 // Buffer ID used by the DRI modesettings API. This is set when the buffer is 47 // Buffer ID used by the DRI modesettings API. This is set when the buffer is
48 // registered with the CRTC. 48 // registered with the CRTC.
49 uint32_t framebuffer_; 49 uint32_t framebuffer_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(DriSkBitmap); 51 DISALLOW_COPY_AND_ASSIGN(DriSkBitmap);
52 }; 52 };
53 53
54 } // namespace gfx 54 } // namespace gfx
55 55
56 #endif // UI_GFX_OZONE_IMPL_DRI_SKBITMAP_H_ 56 #endif // UI_GFX_OZONE_DRI_DRI_SKBITMAP_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/ozone/dri/dri_skbitmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698