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

Side by Side Diff: ui/ozone/platform/drm/gpu/gbm_surfaceless.cc

Issue 1736883002: Ozone: Fix egl surface type for gbm_surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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/ozone/platform/drm/gpu/gbm_surfaceless.h" 5 #include "ui/ozone/platform/drm/gpu/gbm_surfaceless.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "third_party/khronos/EGL/egl.h" 9 #include "third_party/khronos/EGL/egl.h"
10 #include "ui/ozone/common/egl_util.h" 10 #include "ui/ozone/common/egl_util.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 8, 66 8,
67 EGL_BLUE_SIZE, 67 EGL_BLUE_SIZE,
68 8, 68 8,
69 EGL_GREEN_SIZE, 69 EGL_GREEN_SIZE,
70 8, 70 8,
71 EGL_RED_SIZE, 71 EGL_RED_SIZE,
72 8, 72 8,
73 EGL_RENDERABLE_TYPE, 73 EGL_RENDERABLE_TYPE,
74 EGL_OPENGL_ES2_BIT, 74 EGL_OPENGL_ES2_BIT,
75 EGL_SURFACE_TYPE, 75 EGL_SURFACE_TYPE,
76 EGL_WINDOW_BIT, 76 EGL_DONT_CARE,
77 EGL_NONE}; 77 EGL_NONE};
78 return ChooseEGLConfig(egl, config_attribs); 78 return ChooseEGLConfig(egl, config_attribs);
79 } 79 }
80 80
81 } // namespace ui 81 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698