|
First version of ANGLE GL interface
For this delivery I propose not delivering the .gyp files - since they need a lot of work (more later). I have added a new ANGLE GL interface in src/gpu/gl/angle and modified the interface validation test, bench, gm and SampleApp to use it. Everything is guarded behind a SK_ANGLE #define so w/o the .gyps no part of my changes will be compiled. Note that I have set it up so we can switch between normal native OpenGL and ANGLE merely by specifying "--angle" to gm and SampleApp (provided ANGLE is compiled in).
Elliot - here all all the problems I know of with the .gyps
1) although the SK_MESA flag is only added in common.gypi I found this wasn't sufficient and also needed to add a 'defines' block to common_conditions.gypi.
2) I don't know how to attach ANGLE to Skia correctly so currently have hard paths to the ANGLE libs I (manually) copied to third_party/externals/angle.
3) For some reason the 'libraries' and 'include_dirs' settings in gpu.gyp weren't propagating to the executables so I replicated these blocks in bench.gypi, tests.gyp, gm.gyp and SampleApp.gyp.
Total comments: 6
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+667 lines, -19 lines) |
Patch |
|
M |
bench/benchmain.cpp
|
View
|
|
4 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
gm/gmmain.cpp
|
View
|
1
2
|
6 chunks |
+28 lines, -3 lines |
0 comments
|
Download
|
|
M |
gyp/SampleApp.gyp
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/bench.gypi
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/common.gypi
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/common_conditions.gypi
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/common_variables.gypi
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/gm.gyp
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/gpu.gyp
|
View
|
|
5 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/tests.gyp
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/views.gyp
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/gl/GrGLInterface.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
include/gpu/gl/SkANGLEGLContext.h
|
View
|
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/views/SkOSWindow_Win.h
|
View
|
1
2
|
4 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.cpp
|
View
|
|
8 chunks |
+65 lines, -9 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleDegenerateTwoPtRadials.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
A |
src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
|
View
|
1
2
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/gpu/gl/angle/SkANGLEGLContext.cpp
|
View
|
1
2
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/views/win/SkOSWindow_win.cpp
|
View
|
1
2
|
5 chunks |
+118 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/GLInterfaceValidation.cpp
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/glu/libtess/sweep.c
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 11
|