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

Issue 604853003: Add support for EGL on linux (Closed)

Created:
6 years, 2 months ago by derekf
Modified:
6 years, 2 months ago
Reviewers:
bsalomon, borenet, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add support for EGL on linux Allow setting skia_egl=1 to build skia against EGL instead of GLX on unix Committed: https://skia.googlesource.com/skia/+/29dda80c0178371feea3aa81d72e1f8ff3b17bb6

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Allow setting SK_EGL=0 #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -512 lines) Patch
M gyp/common_variables.gypi View 1 5 chunks +7 lines, -0 lines 0 comments Download
M gyp/gpu.gyp View 1 2 4 chunks +33 lines, -1 line 0 comments Download
M gyp/gpu.gypi View 1 2 chunks +4 lines, -3 lines 0 comments Download
M include/core/SkPostConfig.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M include/gpu/gl/SkNativeGLContext.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
D src/gpu/gl/android/SkNativeGLContext_android.cpp View 1 chunk +0 lines, -182 lines 0 comments Download
A + src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp View 1 chunk +6 lines, -11 lines 0 comments Download
A + src/gpu/gl/egl/SkNativeGLContext_egl.cpp View 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/gpu/gl/glx/SkNativeGLContext_glx.cpp View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp View 1 1 chunk +0 lines, -27 lines 0 comments Download
D src/gpu/gl/unix/SkNativeGLContext_unix.cpp View 1 1 chunk +0 lines, -288 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
derekf
Continuation of previous attempt at: https://codereview.chromium.org/543363004/ The first attempt removed some #if defined(BUILD_FOR_ANDROID) and BUILD_FOR_NACL ...
6 years, 2 months ago (2014-09-25 18:13:13 UTC) #4
bsalomon
On 2014/09/25 18:13:13, derekf wrote: > Continuation of previous attempt at: https://codereview.chromium.org/543363004/ > > > ...
6 years, 2 months ago (2014-09-27 13:59:49 UTC) #5
bsalomon
https://codereview.chromium.org/604853003/diff/40001/gyp/gpu.gyp File gyp/gpu.gyp (right): https://codereview.chromium.org/604853003/diff/40001/gyp/gpu.gyp#newcode15 gyp/gpu.gyp:15: ['exclude', 'GrGLCreateNativeInterface_egl.cpp'], Can this be excluded based on whether ...
6 years, 2 months ago (2014-09-27 14:00:54 UTC) #6
derekf
renames _unix -> _glx uses SkPostConfig.h to ensure SK_EGL is set when needed moves the ...
6 years, 2 months ago (2014-09-29 22:18:37 UTC) #10
bsalomon
https://codereview.chromium.org/604853003/diff/120001/include/core/SkPostConfig.h File include/core/SkPostConfig.h (right): https://codereview.chromium.org/604853003/diff/120001/include/core/SkPostConfig.h#newcode416 include/core/SkPostConfig.h:416: #ifndef SK_EGL I think the problem here is that ...
6 years, 2 months ago (2014-09-30 13:43:58 UTC) #11
derekf
PTAL I've made SK_EGL=1 or 0 and now test value instead of presence
6 years, 2 months ago (2014-10-01 15:56:20 UTC) #12
bsalomon
I'd remove the extraneous "== 1"s but otherwise lgtm https://codereview.chromium.org/604853003/diff/140001/include/gpu/gl/SkNativeGLContext.h File include/gpu/gl/SkNativeGLContext.h (right): https://codereview.chromium.org/604853003/diff/140001/include/gpu/gl/SkNativeGLContext.h#newcode38 include/gpu/gl/SkNativeGLContext.h:38: ...
6 years, 2 months ago (2014-10-01 16:00:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/604853003/160001
6 years, 2 months ago (2014-10-01 17:43:20 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-01 17:52:57 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:160001) as 29dda80c0178371feea3aa81d72e1f8ff3b17bb6

Powered by Google App Engine
This is Rietveld 408576698