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

Side by Side Diff: include/gpu/gl/SkNullGLContext.h

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: fix windows and android? Created 4 years, 8 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 | « include/gpu/gl/SkGLContext.h ('k') | include/gpu/gl/angle/SkANGLEGLContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8 #ifndef SkNullGLContext_DEFINED
9 #define SkNullGLContext_DEFINED
10
11 #include "gl/SkGLContext.h"
12
13 class SK_API SkNullGLContext : public SkGLContext {
14 public:
15 ~SkNullGLContext() override;
16 static SkNullGLContext* Create();
17
18 private:
19 SkNullGLContext();
20
21 void onPlatformMakeCurrent() const override {};
22 void onPlatformSwapBuffers() const override {}
23 GrGLFuncPtr onPlatformGetProcAddress(const char*) const override { return nu llptr; }
24 };
25
26 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/SkGLContext.h ('k') | include/gpu/gl/angle/SkANGLEGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698