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

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

Issue 341433007: Revert of Support using OpenGL ES context on desktop (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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/GrContextFactory.h ('k') | include/gpu/gl/SkDebugGLContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 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 #ifndef SkANGLEGLContext_DEFINED 8 #ifndef SkANGLEGLContext_DEFINED
9 #define SkANGLEGLContext_DEFINED 9 #define SkANGLEGLContext_DEFINED
10 10
(...skipping 18 matching lines...) Expand all
29 AutoContextRestore(); 29 AutoContextRestore();
30 ~AutoContextRestore(); 30 ~AutoContextRestore();
31 31
32 private: 32 private:
33 EGLContext fOldEGLContext; 33 EGLContext fOldEGLContext;
34 EGLDisplay fOldDisplay; 34 EGLDisplay fOldDisplay;
35 EGLSurface fOldSurface; 35 EGLSurface fOldSurface;
36 }; 36 };
37 37
38 protected: 38 protected:
39 virtual const GrGLInterface* createGLContext( 39 virtual const GrGLInterface* createGLContext() SK_OVERRIDE;
40 GrGLStandard forcedGpuAPI) SK_OVERRIDE;
41 virtual void destroyGLContext() SK_OVERRIDE; 40 virtual void destroyGLContext() SK_OVERRIDE;
42 41
43 private: 42 private:
44 EGLContext fContext; 43 EGLContext fContext;
45 EGLDisplay fDisplay; 44 EGLDisplay fDisplay;
46 EGLSurface fSurface; 45 EGLSurface fSurface;
47 }; 46 };
48 47
49 #endif 48 #endif
50 49
51 #endif 50 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContextFactory.h ('k') | include/gpu/gl/SkDebugGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698