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

Side by Side Diff: gpu/command_buffer/service/service_utils.h

Issue 2480373002: Refactor context creation parameters into a struct. (Closed)
Patch Set: address piman's comments Created 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2016 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 GPU_COMMAND_BUFFER_SERVICE_SERVICE_UTILS_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_SERVICE_UTILS_H_
7
8 #include "gpu/gpu_export.h"
9 #include "ui/gl/gl_context.h"
10
11 namespace gpu {
12 struct GpuPreferences;
13
14 namespace gles2 {
15 struct ContextCreationAttribHelper;
16
17 GPU_EXPORT gl::GLContextAttribs GenerateGLContextAttribs(
18 const ContextCreationAttribHelper& attribs_helper,
19 const GpuPreferences& gpu_preferences);
20
21 } // namespace gles2
22 } // namespace gpu
23
24 #endif // GPU_COMMAND_BUFFER_SERVICE_SERVICE_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698