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

Issue 762113003: Add extra safety check to the EGL context setup. (Closed)

Created:
6 years ago by joakim.landberg
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add extra safety check to the EGL context setup. Adds a check to make sure eglChooseConfig actually found a valid config. Besides checking for EGL errors, we also have to handle the case when no matching configs are found, i.e when num_config is 0. BUG=skia: Committed: https://skia.googlesource.com/skia/+/bb25e44593ff9c318d9fe1dbb5cf30bc2b89eb76

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
joakim.landberg
6 years ago (2014-11-28 09:54:22 UTC) #2
djsollen
6 years ago (2014-12-01 13:06:16 UTC) #4
bsalomon
lgtm
6 years ago (2014-12-01 14:25:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/762113003/1
6 years ago (2014-12-01 14:26:40 UTC) #7
commit-bot: I haz the power
6 years ago (2014-12-01 14:46:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/bb25e44593ff9c318d9fe1dbb5cf30bc2b89eb76

Powered by Google App Engine
This is Rietveld 408576698