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

Side by Side Diff: tools/viewer/sk_app/unix/WindowContextFactory_unix.h

Issue 2165813002: Add sw support to viewer on Linux. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 4 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2016 Google Inc. 3 * Copyright 2016 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef WindowContextFactory_unix_DEFINED 9 #ifndef WindowContextFactory_unix_DEFINED
10 #define WindowContextFactory_unix_DEFINED 10 #define WindowContextFactory_unix_DEFINED
(...skipping 12 matching lines...) Expand all
23 struct XlibWindowInfo { 23 struct XlibWindowInfo {
24 Display* fDisplay; 24 Display* fDisplay;
25 XWindow fWindow; 25 XWindow fWindow;
26 XVisualInfo* fVisualInfo; 26 XVisualInfo* fVisualInfo;
27 }; 27 };
28 28
29 WindowContext* NewVulkanForXlib(const XlibWindowInfo&, const DisplayParams&); 29 WindowContext* NewVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
30 30
31 WindowContext* NewGLForXlib(const XlibWindowInfo&, const DisplayParams&); 31 WindowContext* NewGLForXlib(const XlibWindowInfo&, const DisplayParams&);
32 32
33 WindowContext* NewRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
34
33 } // namespace window_context_factory 35 } // namespace window_context_factory
34 36
35 } // namespace sk_app 37 } // namespace sk_app
36 38
37 #endif 39 #endif
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp ('k') | tools/viewer/sk_app/unix/Window_unix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698