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

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

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/ozone/dri/dri_skbitmap.h ('k') | ui/gfx/ozone/dri/dri_surface.h » ('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 #include "ui/gfx/ozone/impl/dri_skbitmap.h" 5 #include "ui/gfx/ozone/dri/dri_skbitmap.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <sys/mman.h> 8 #include <sys/mman.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <xf86drm.h> 10 #include <xf86drm.h>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "third_party/skia/include/core/SkPixelRef.h" 14 #include "third_party/skia/include/core/SkPixelRef.h"
15 15
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 return 12; 200 return 12;
201 case SkBitmap::kARGB_8888_Config: 201 case SkBitmap::kARGB_8888_Config:
202 return 24; 202 return 24;
203 default: 203 default:
204 NOTREACHED(); 204 NOTREACHED();
205 return 0; 205 return 0;
206 } 206 }
207 } 207 }
208 208
209 } // namespace gfx 209 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/ozone/dri/dri_skbitmap.h ('k') | ui/gfx/ozone/dri/dri_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698