|
Break //ui/gl/ dependency on //ui/ozone.
This CL removes the last code in //ui/gl that depends on //ui/ozone. It
then inverts the dependency so that //ui/ozone depends on //ui/gl and
each OzonePlatform can override GL specific classes.
GLImageOzoneNativePixmap is moved into a new target //ui/ozone/gl. This
is only possible now that the dependency problem has been fixed.
There is an issue with tests for GLImageOzoneNativePixmap. They are
still located in //ui/gl:gl_unittests as they depend on
//ui/gl:test_support. Moving the tests into //ui/ozone:ozone_unittests
has additional dependency problems. A new ozone_gl_unittests target
could be added in the future to avoid this but the remaining tests are
currently disabled anyways.
This is the finally CL in step 2 of the associated bug.
BUG= 611142
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/f63548fbd680e758624d51b9d330186442ecdc6c
Cr-Commit-Position: refs/heads/master@{#406765}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+153 lines, -382 lines) |
Patch |
|
M |
gpu/gpu_ipc_service.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/gpu/vaapi_drm_picture.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/media_gpu.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/ui/gles2/command_buffer_driver.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gl/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
ui/gl/DEPS
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/gl/gl.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
D |
ui/gl/gl_image_ozone_native_pixmap.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
D |
ui/gl/gl_image_ozone_native_pixmap.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -267 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image_ozone_native_pixmap_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_tests.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A + |
ui/gl/init/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/init/gl_init.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/init/gl_surface_ozone.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gl/test/DEPS
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/BUILD.gn
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/DEPS
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/ozone/demo/ozone_demos.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/demo/surfaceless_gl_renderer.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
ui/ozone/gl/BUILD.gn
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A + |
ui/ozone/gl/gl_image_ozone_native_pixmap.h
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
A + |
ui/ozone/gl/gl_image_ozone_native_pixmap.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
A |
ui/ozone/gl/ozone_gl.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/gl/ozone_gl_export.h
|
View
|
1
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
Total messages: 57 (30 generated)
|