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

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed)

Created:
5 years, 1 month ago by tfarina
Modified:
5 years, 1 month ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui/gl: Move GLImage into gl namespace. BUG=461575 R=piman@chromium.org,sievers@chromium.org, TBR=fsamuel@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/df856e02c830fb37ca5afceac7a12b4bddf37a84 Cr-Commit-Position: refs/heads/master@{#356825}

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : fix gl_unittests #

Total comments: 2

Patch Set 4 : fix cc_unittests and compositor_unittests #

Patch Set 5 : android fix #

Patch Set 6 : REBASE #

Patch Set 7 : GLImageSurfaceTexture #

Patch Set 8 : GLImageStub #

Patch Set 9 : more fixes #

Patch Set 10 : GLImageEGL #

Patch Set 11 : GLImageIOSurface #

Patch Set 12 : finish it - done - enough for today #

Patch Set 13 : fixes #

Patch Set 14 : gl::GLImageSharedMemory #

Patch Set 15 : gl::GLImageSharedMemory #

Patch Set 16 : gl::GLImageGLX #

Patch Set 17 : fix ozone #

Patch Set 18 : ozone demo #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -362 lines) Patch
M cc/test/test_image_factory.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/test/test_image_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_io_surface.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_io_surface.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -5 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_surface_texture.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M content/common/gpu/image_transport_surface_overlay_mac.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/image_transport_surface_overlay_mac.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/android_deferred_rendering_backing_strategy.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/android_deferred_rendering_backing_strategy.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/avda_codec_image.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_drm_picture.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_drm_picture.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_picture.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_tfp_picture.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +6 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_tfp_picture.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/stream_texture_android.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +11 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 3 4 5 6 7 7 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/image_factory.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/image_manager.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/image_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.cc View 1 2 3 4 9 chunks +18 lines, -19 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 3 chunks +7 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M tools/valgrind/drmemory/suppressions_full.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image.h View 4 chunks +9 lines, -9 lines 0 comments Download
M ui/gl/gl_image_egl.h View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -11 lines 0 comments Download
M ui/gl/gl_image_egl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +12 lines, -12 lines 0 comments Download
M ui/gl/gl_image_glx.h View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -11 lines 0 comments Download
M ui/gl/gl_image_glx.cc View 1 2 3 4 5 6 7 8 9 12 chunks +26 lines, -26 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -16 lines 0 comments Download
M ui/gl/gl_image_io_surface.mm View 1 2 3 4 5 6 7 8 9 10 7 chunks +16 lines, -13 lines 0 comments Download
M ui/gl/gl_image_memory.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -15 lines 0 comments Download
M ui/gl/gl_image_memory.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +16 lines, -14 lines 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -6 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_ref_counted_memory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -3 lines 0 comments Download
M ui/gl/gl_image_shared_memory.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gl/gl_image_shared_memory.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -7 lines 0 comments Download
M ui/gl/gl_image_shared_memory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -7 lines 0 comments Download
M ui/gl/gl_image_stub.h View 1 2 3 4 5 6 7 3 chunks +9 lines, -9 lines 0 comments Download
M ui/gl/gl_image_stub.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -10 lines 0 comments Download
M ui/gl/gl_image_surface_texture.h View 1 2 3 4 5 6 2 chunks +15 lines, -12 lines 0 comments Download
M ui/gl/gl_image_surface_texture.cc View 1 2 3 4 5 6 5 chunks +13 lines, -12 lines 0 comments Download
M ui/gl/gl_surface.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M ui/gl/gl_surface.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/test/gl_image_test_template.h View 1 2 2 chunks +3 lines, -3 lines 2 comments Download
M ui/ozone/demo/surfaceless_gl_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 40 (20 generated)
tfarina
Should be good now. I will fix any failures reported by the trybots. PTAL
5 years, 1 month ago (2015-10-27 00:40:26 UTC) #1
piman
there's a couple of compile issues left apparently. I think we should move the derived ...
5 years, 1 month ago (2015-10-27 01:11:26 UTC) #2
tfarina
Antoine, I think this is in a good size. For me it is already exploding ...
5 years, 1 month ago (2015-10-28 03:58:40 UTC) #3
piman
LGTM after compile issues are fixed. Please prioritize moving the remaining derived classes so that ...
5 years, 1 month ago (2015-10-28 16:59:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/240001
5 years, 1 month ago (2015-10-28 18:18:09 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/71857) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-10-28 18:29:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/260001
5 years, 1 month ago (2015-10-28 18:36:08 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/150431) linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 1 month ago (2015-10-28 18:54:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/280001
5 years, 1 month ago (2015-10-28 19:06:40 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/99614)
5 years, 1 month ago (2015-10-28 19:18:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/300001
5 years, 1 month ago (2015-10-28 19:28:08 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/113542)
5 years, 1 month ago (2015-10-28 19:40:58 UTC) #24
tfarina
+Fady for components/mus/gles2!
5 years, 1 month ago (2015-10-28 19:43:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/290071 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/290071
5 years, 1 month ago (2015-10-28 20:55:26 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/113585)
5 years, 1 month ago (2015-10-28 21:06:42 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421903006/290071 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421903006/290071
5 years, 1 month ago (2015-10-29 11:50:32 UTC) #35
commit-bot: I haz the power
Committed patchset #18 (id:290071)
5 years, 1 month ago (2015-10-29 12:50:53 UTC) #36
commit-bot: I haz the power
Patchset 18 (id:??) landed as https://crrev.com/df856e02c830fb37ca5afceac7a12b4bddf37a84 Cr-Commit-Position: refs/heads/master@{#356825}
5 years, 1 month ago (2015-10-29 12:51:31 UTC) #37
reveman
https://codereview.chromium.org/1421903006/diff/290071/ui/gl/test/gl_image_test_template.h File ui/gl/test/gl_image_test_template.h (right): https://codereview.chromium.org/1421903006/diff/290071/ui/gl/test/gl_image_test_template.h#newcode61 ui/gl/test/gl_image_test_template.h:61: scoped_refptr<gl::GLImage> small_image = All these tests classes will be ...
5 years, 1 month ago (2015-10-29 19:46:42 UTC) #39
tfarina
5 years, 1 month ago (2015-10-29 20:52:05 UTC) #40
Message was sent while issue was closed.
https://codereview.chromium.org/1421903006/diff/290071/ui/gl/test/gl_image_te...
File ui/gl/test/gl_image_test_template.h (right):

https://codereview.chromium.org/1421903006/diff/290071/ui/gl/test/gl_image_te...
ui/gl/test/gl_image_test_template.h:61: scoped_refptr<gl::GLImage> small_image =
On 2015/10/29 19:46:42, reveman wrote:
> All these tests classes will be moved to gl namespace in follow up patches
too,
> correct? 

Correct.

Powered by Google App Engine
This is Rietveld 408576698