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

Side by Side Diff: tools/viewer/sk_app/mac/WindowContextFactory_mac.h

Issue 2228883003: Add RasterWindowContext_mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comment; enable backend switching 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_mac_DEFINED 9 #ifndef WindowContextFactory_mac_DEFINED
10 #define WindowContextFactory_mac_DEFINED 10 #define WindowContextFactory_mac_DEFINED
(...skipping 11 matching lines...) Expand all
22 SDL_Window* fWindow; 22 SDL_Window* fWindow;
23 }; 23 };
24 24
25 inline WindowContext* NewVulkanForMac(const MacWindowInfo&, const DisplayParams& ) { 25 inline WindowContext* NewVulkanForMac(const MacWindowInfo&, const DisplayParams& ) {
26 // No Vulkan support on Mac. 26 // No Vulkan support on Mac.
27 return nullptr; 27 return nullptr;
28 } 28 }
29 29
30 WindowContext* NewGLForMac(const MacWindowInfo&, const DisplayParams&); 30 WindowContext* NewGLForMac(const MacWindowInfo&, const DisplayParams&);
31 31
32 WindowContext* NewRasterForMac(const MacWindowInfo&, const DisplayParams&);
33
32 } // namespace window_context_factory 34 } // namespace window_context_factory
33 35
34 } // namespace sk_app 36 } // namespace sk_app
35 37
36 #endif 38 #endif
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp ('k') | tools/viewer/sk_app/mac/Window_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698