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

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

Issue 351583002: Revert of Support using OpenGL ES context on desktop (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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/SkGLContextHelper.h ('k') | include/gpu/gl/SkNativeGLContext.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 2011 Google Inc. 3 * Copyright 2011 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 SkMesaGLContext_DEFINED 8 #ifndef SkMesaGLContext_DEFINED
9 #define SkMesaGLContext_DEFINED 9 #define SkMesaGLContext_DEFINED
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 private: 32 private:
33 Context fOldContext; 33 Context fOldContext;
34 GrGLint fOldWidth; 34 GrGLint fOldWidth;
35 GrGLint fOldHeight; 35 GrGLint fOldHeight;
36 GrGLint fOldFormat; 36 GrGLint fOldFormat;
37 void* fOldImage; 37 void* fOldImage;
38 }; 38 };
39 39
40 protected: 40 protected:
41 virtual const GrGLInterface* createGLContext(GrGLStandard forcedGpuAPI) SK_O VERRIDE; 41 virtual const GrGLInterface* createGLContext() SK_OVERRIDE;
42 virtual void destroyGLContext() SK_OVERRIDE; 42 virtual void destroyGLContext() SK_OVERRIDE;
43 43
44 private: 44 private:
45 Context fContext; 45 Context fContext;
46 GrGLubyte *fImage; 46 GrGLubyte *fImage;
47 }; 47 };
48 48
49 #endif 49 #endif
50 50
51 #endif 51 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/SkGLContextHelper.h ('k') | include/gpu/gl/SkNativeGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698