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

Unified Diff: ui/gfx/gl/gl.gyp

Issue 6839008: Split EGLContext in GLContextEGL and GLSurfaceEGL. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gl/egl_util.cc ('k') | ui/gfx/gl/gl_context_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl.gyp
===================================================================
--- ui/gfx/gl/gl.gyp (revision 81471)
+++ ui/gfx/gl/gl.gyp (working copy)
@@ -55,7 +55,6 @@
],
},
'sources': [
- 'gl_bindings.gypi',
'gl_bindings.h',
'gl_bindings_skia_in_process.cc',
'gl_bindings_skia_in_process.h',
@@ -75,6 +74,8 @@
'gl_implementation_win.cc',
'gl_interface.cc',
'gl_interface.h',
+ 'gl_surface.cc',
+ 'gl_surface.h',
'gl_switches.cc',
'gl_switches.h',
'<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc',
@@ -115,25 +116,38 @@
},
],
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="win"', {
'sources': [
+ 'egl_util.cc',
+ 'egl_util.h',
'gl_context_egl.cc',
'gl_context_egl.h',
+ 'gl_surface_egl.cc',
+ 'gl_surface_egl.h',
'<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc',
'<(gl_binding_output_dir)/gl_bindings_autogen_egl.h',
- '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc',
- '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h',
],
'include_dirs': [
- # We don't use angle, but pull the EGL/GLES headers from there.
'<(DEPTH)/third_party/angle/include',
],
+ }],
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ 'sources': [
+ '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc',
+ '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h',
+ ],
'all_dependent_settings': {
'defines': [
'GL_GLEXT_PROTOTYPES',
],
},
}],
+ ['OS=="win"', {
+ 'sources': [
+ '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc',
+ '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h',
+ ],
+ }],
['OS=="mac"', {
'link_settings': {
'libraries': [
@@ -141,19 +155,6 @@
],
},
}],
- ['OS=="win"', {
- 'sources': [
- 'gl_context_egl.cc',
- 'gl_context_egl.h',
- '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc',
- '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h',
- '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc',
- '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h',
- ],
- 'include_dirs': [
- '<(DEPTH)/third_party/angle/include',
- ],
- }],
],
},
],
« no previous file with comments | « ui/gfx/gl/egl_util.cc ('k') | ui/gfx/gl/gl_context_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698