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

Side by Side Diff: src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm

Issue 1733323002: Clean up EGL thread state at thread exit in nanobench and DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix main thread usage also Created 4 years, 10 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 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 8
9 #include "gl/SkGLContext.h" 9 #include "gl/SkGLContext.h"
10 #import <OpenGLES/EAGL.h> 10 #import <OpenGLES/EAGL.h>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 if (kGL_GrGLStandard == forcedGpuAPI) { 97 if (kGL_GrGLStandard == forcedGpuAPI) {
98 return NULL; 98 return NULL;
99 } 99 }
100 IOSGLContext* ctx = new IOSGLContext; 100 IOSGLContext* ctx = new IOSGLContext;
101 if (!ctx->isValid()) { 101 if (!ctx->isValid()) {
102 delete ctx; 102 delete ctx;
103 return NULL; 103 return NULL;
104 } 104 }
105 return ctx; 105 return ctx;
106 } 106 }
107
108 void SkReleasePlatformGLAPIsInThread() {
109 }
OLDNEW
« no previous file with comments | « src/gpu/gl/glx/SkCreatePlatformGLContext_glx.cpp ('k') | src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698