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

Issue 301793003: During image destroy, delete textures only if we have a GL context. (Closed)

Created:
6 years, 6 months ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
reveman, no sievers
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

During image destroy, delete textures only if we have a GL context. This adds Destroy function for ImageManager and invoke it from command decoder destroy path with GL context info. This is to ensure that when we destroy the image, textures to which the image is bound to, is deleted only if we have a GL context. BUG=375507 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286811

Patch Set 1 #

Total comments: 5

Patch Set 2 : Destroy GLImage during ContextGroup destroy #

Total comments: 14

Patch Set 3 : change destroy flow for all GLImage types. #

Total comments: 17

Patch Set 4 : WIP - review comments addressed. #

Total comments: 11

Patch Set 5 : Move ImageManager destroy to GPUChannel + review comments #

Total comments: 10

Patch Set 6 : WIP - review comments addressed. #

Total comments: 6

Patch Set 7 : WIP - review comments addressed #

Total comments: 8

Patch Set 8 : WIP - Avoid optional image manager creation/destroy in context group #

Total comments: 5

Patch Set 9 : rebased to ToT #

Total comments: 11

Patch Set 10 : review comments addressed. #

Patch Set 11 : prevent crash when accessing destroyed glimage while doing bind/releaseTexImage. #

Total comments: 3

Patch Set 12 : review comments addressed. #

Total comments: 22

Patch Set 13 : review comments addressed. #

Patch Set 14 : build issues addressed. #

Total comments: 30

Patch Set 15 : review comments addressed. #

Total comments: 6

Patch Set 16 : review comment addressed. #

Total comments: 3

Patch Set 17 : review comment addressed. #

Total comments: 8

Patch Set 18 : review comments updated. #

Total comments: 5

Patch Set 19 : reverted to check images in cmd buffer. #

Total comments: 8

Patch Set 20 : Add early-outs for image add/remove. #

Total comments: 4

Patch Set 21 : style nits #

Patch Set 22 : rebased to ToT #

Patch Set 23 : resolve android clang dbg build issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -51 lines) Patch
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +21 lines, -9 lines 0 comments Download
M content/common/gpu/stream_texture_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 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 14 15 16 17 18 19 20 21 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.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 gpu/command_buffer/service/image_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 17 18 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/image_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 17 18 2 chunks +13 lines, -1 line 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M ui/gl/gl_image.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_android_native_buffer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_android_native_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +12 lines, -6 lines 0 comments Download
M ui/gl/gl_image_egl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_egl.cc View 1 2 3 4 5 6 7 8 11 12 2 chunks +4 lines, -2 lines 0 comments Download
M ui/gl/gl_image_glx.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_glx.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -3 lines 0 comments Download
M ui/gl/gl_image_io_surface.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 ui/gl/gl_image_io_surface.cc View 1 2 3 4 5 6 7 8 9 13 14 2 chunks +7 lines, -1 line 0 comments Download
M ui/gl/gl_image_memory.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_memory.cc View 1 2 3 4 5 6 7 8 11 12 13 14 3 chunks +8 lines, -2 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_ref_counted_memory.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_image_shared_memory.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_shared_memory.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gl/gl_image_stub.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_stub.cc View 1 2 3 9 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_surface_texture.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_surface_texture.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 85 (1 generated)
sohanjg
Can you PTAL. Thanks. https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc File ui/gl/gl_image_shm.cc (right): https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc#newcode121 ui/gl/gl_image_shm.cc:121: } Wouldnt we end up ...
6 years, 6 months ago (2014-05-28 10:16:00 UTC) #1
no sievers
https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc File ui/gl/gl_image_shm.cc (right): https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc#newcode121 ui/gl/gl_image_shm.cc:121: } On 2014/05/28 10:16:00, sohanjg wrote: > Wouldnt we ...
6 years, 6 months ago (2014-05-28 18:55:32 UTC) #2
reveman
https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc File ui/gl/gl_image_shm.cc (right): https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc#newcode121 ui/gl/gl_image_shm.cc:121: } On 2014/05/28 18:55:32, sievers wrote: > On 2014/05/28 ...
6 years, 6 months ago (2014-05-28 20:23:33 UTC) #3
no sievers
https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc File ui/gl/gl_image_shm.cc (right): https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc#newcode121 ui/gl/gl_image_shm.cc:121: } On 2014/05/28 20:23:33, reveman wrote: > On 2014/05/28 ...
6 years, 6 months ago (2014-05-28 21:02:39 UTC) #4
reveman
https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc File ui/gl/gl_image_shm.cc (right): https://codereview.chromium.org/301793003/diff/1/ui/gl/gl_image_shm.cc#newcode121 ui/gl/gl_image_shm.cc:121: } On 2014/05/28 21:02:39, sievers wrote: > On 2014/05/28 ...
6 years, 6 months ago (2014-05-28 21:14:56 UTC) #5
no sievers
Or simpler: If we add ImageManager::Destroy(bool have_context) (similar to TextureManager etc.) and call that from ...
6 years, 6 months ago (2014-05-28 22:02:21 UTC) #6
reveman
On 2014/05/28 22:02:21, sievers wrote: > Or simpler: If we add ImageManager::Destroy(bool have_context) (similar to ...
6 years, 6 months ago (2014-05-28 22:06:37 UTC) #7
sohanjg
On 2014/05/28 22:06:37, reveman wrote: > On 2014/05/28 22:02:21, sievers wrote: > > Or simpler: ...
6 years, 6 months ago (2014-05-29 07:55:40 UTC) #8
reveman
If you're changing the system for how GLImage instances are destroyed then you'll need to ...
6 years, 6 months ago (2014-05-29 16:30:33 UTC) #9
sohanjg
On 2014/05/29 16:30:33, reveman wrote: > If you're changing the system for how GLImage instances ...
6 years, 6 months ago (2014-05-30 12:43:57 UTC) #10
reveman
On 2014/05/30 12:43:57, sohanjg wrote: > On 2014/05/29 16:30:33, reveman wrote: > > If you're ...
6 years, 6 months ago (2014-05-30 16:19:21 UTC) #11
reveman
https://codereview.chromium.org/301793003/diff/60001/ui/gl/gl_image_android_native_buffer.cc File ui/gl/gl_image_android_native_buffer.cc (right): https://codereview.chromium.org/301793003/diff/60001/ui/gl/gl_image_android_native_buffer.cc#newcode43 ui/gl/gl_image_android_native_buffer.cc:43: glDeleteTextures(1, &texture_id_for_unbind_); doesn't work as you set texture_id_for_unbind_ to ...
6 years, 6 months ago (2014-05-31 05:05:06 UTC) #12
sohanjg
Please take a look. Thanks. https://codereview.chromium.org/301793003/diff/60001/gpu/command_buffer/service/context_group.cc File gpu/command_buffer/service/context_group.cc (right): https://codereview.chromium.org/301793003/diff/60001/gpu/command_buffer/service/context_group.cc#newcode330 gpu/command_buffer/service/context_group.cc:330: if we try "removing ...
6 years, 6 months ago (2014-06-02 13:59:41 UTC) #13
reveman
https://codereview.chromium.org/301793003/diff/60001/gpu/command_buffer/service/context_group.cc File gpu/command_buffer/service/context_group.cc (right): https://codereview.chromium.org/301793003/diff/60001/gpu/command_buffer/service/context_group.cc#newcode330 gpu/command_buffer/service/context_group.cc:330: On 2014/06/02 13:59:42, sohanjg wrote: > if we try ...
6 years, 6 months ago (2014-06-02 14:34:47 UTC) #14
reveman
https://codereview.chromium.org/301793003/diff/80001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/80001/gpu/command_buffer/service/image_manager.cc#newcode55 gpu/command_buffer/service/image_manager.cc:55: // This will be handled as part of ::Destroy. ...
6 years, 6 months ago (2014-06-02 14:59:16 UTC) #15
sohanjg
Can you PTAL. Thanks. https://codereview.chromium.org/301793003/diff/80001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/80001/gpu/command_buffer/service/image_manager.cc#newcode55 gpu/command_buffer/service/image_manager.cc:55: // This will be handled ...
6 years, 6 months ago (2014-06-02 15:39:10 UTC) #16
reveman
You also need to remove the optional creation of an ImageManager instance in ContextGroup or ...
6 years, 6 months ago (2014-06-02 16:45:29 UTC) #17
sohanjg
I have kept the image manager instance in context group (and deleted it during destroy), ...
6 years, 6 months ago (2014-06-03 05:48:33 UTC) #18
reveman
https://codereview.chromium.org/301793003/diff/120001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/120001/content/common/gpu/gpu_channel.cc#newcode409 content/common/gpu/gpu_channel.cc:409: image_manager_->Destroy(true); true? Do you always have a context current ...
6 years, 6 months ago (2014-06-03 13:57:39 UTC) #19
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/301793003/diff/120001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/120001/content/common/gpu/gpu_channel.cc#newcode409 content/common/gpu/gpu_channel.cc:409: image_manager_->Destroy(true); On ...
6 years, 6 months ago (2014-06-03 15:09:19 UTC) #20
reveman
Also still need to remove the optional creation of an ImageManager instance in ContextGroup. https://codereview.chromium.org/301793003/diff/140001/content/common/gpu/gpu_channel.cc ...
6 years, 6 months ago (2014-06-03 15:57:53 UTC) #21
sohanjg
Please take a look. Thanks. https://codereview.chromium.org/301793003/diff/140001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/140001/content/common/gpu/gpu_channel.cc#newcode410 content/common/gpu/gpu_channel.cc:410: image_manager_->Destroy(have_context); On 2014/06/03 15:57:54, ...
6 years, 6 months ago (2014-06-04 06:39:02 UTC) #22
reveman
https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 content/common/gpu/gpu_channel.cc:411: lost_context = it.GetCurrentValue()->CheckContextLost(); This will set lost_context to whatever ...
6 years, 6 months ago (2014-06-04 15:29:35 UTC) #23
sohanjg
https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 content/common/gpu/gpu_channel.cc:411: lost_context = it.GetCurrentValue()->CheckContextLost(); On 2014/06/04 15:29:35, reveman wrote: > ...
6 years, 6 months ago (2014-06-05 02:57:57 UTC) #24
sohanjg
https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 content/common/gpu/gpu_channel.cc:411: lost_context = it.GetCurrentValue()->CheckContextLost(); On 2014/06/05 02:57:57, sohanjg wrote: > ...
6 years, 6 months ago (2014-06-05 06:33:57 UTC) #25
reveman
https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 content/common/gpu/gpu_channel.cc:411: lost_context = it.GetCurrentValue()->CheckContextLost(); On 2014/06/05 06:33:57, sohanjg wrote: > ...
6 years, 6 months ago (2014-06-05 15:58:00 UTC) #26
sohanjg
https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 content/common/gpu/gpu_channel.cc:411: lost_context = it.GetCurrentValue()->CheckContextLost(); On 2014/06/05 15:58:01, reveman wrote: > ...
6 years, 6 months ago (2014-06-06 02:30:03 UTC) #27
reveman
On 2014/06/06 02:30:03, sohanjg wrote: > https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc > File content/common/gpu/gpu_channel.cc (right): > > https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc#newcode411 > ...
6 years, 6 months ago (2014-06-06 05:29:05 UTC) #28
sohanjg
On 2014/06/06 05:29:05, reveman wrote: > On 2014/06/06 02:30:03, sohanjg wrote: > > > https://codereview.chromium.org/301793003/diff/160001/content/common/gpu/gpu_channel.cc ...
6 years, 6 months ago (2014-06-26 01:20:43 UTC) #29
reveman
I think you should be able to land this now after rebasing.
6 years, 5 months ago (2014-07-18 16:15:19 UTC) #30
sohanjg
On 2014/07/18 16:15:19, reveman wrote: > I think you should be able to land this ...
6 years, 5 months ago (2014-07-21 14:45:03 UTC) #31
reveman
https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3496 gpu/command_buffer/service/gles2_cmd_decoder.cc:3496: if (image_manager()) { nit: image_manager_.get() for consistency https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3497 gpu/command_buffer/service/gles2_cmd_decoder.cc:3497: ...
6 years, 5 months ago (2014-07-21 15:12:24 UTC) #32
sohanjg
can you please take a look. do we want explicit gl image destroy when we ...
6 years, 5 months ago (2014-07-21 15:39:52 UTC) #33
reveman
https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/image_manager.cc#newcode30 gpu/command_buffer/service/image_manager.cc:30: images_.erase(service_id); On 2014/07/21 15:39:51, sohanjg wrote: > On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 15:59:10 UTC) #34
sohanjg
On 2014/07/21 15:59:10, reveman wrote: > https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/image_manager.cc > File gpu/command_buffer/service/image_manager.cc (right): > > https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/image_manager.cc#newcode30 > ...
6 years, 5 months ago (2014-07-23 14:00:33 UTC) #35
sohanjg
On 2014/07/23 14:00:33, sohanjg wrote: > On 2014/07/21 15:59:10, reveman wrote: > > > https://codereview.chromium.org/301793003/diff/180001/gpu/command_buffer/service/image_manager.cc ...
6 years, 5 months ago (2014-07-23 14:28:22 UTC) #36
reveman
On 2014/07/23 14:28:22, sohanjg wrote: > On 2014/07/23 14:00:33, sohanjg wrote: > > On 2014/07/21 ...
6 years, 5 months ago (2014-07-23 16:18:31 UTC) #37
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/301793003/diff/240001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/240001/gpu/command_buffer/service/image_manager.cc#newcode30 gpu/command_buffer/service/image_manager.cc:30: LookupImage(service_id)->Destroy(true); Will ...
6 years, 5 months ago (2014-07-24 13:24:10 UTC) #38
reveman
Can you verify that this bug is still an issue before you do more work ...
6 years, 5 months ago (2014-07-24 13:51:55 UTC) #39
sohanjg
On 2014/07/24 13:51:55, reveman wrote: > Can you verify that this bug is still an ...
6 years, 5 months ago (2014-07-24 14:41:46 UTC) #40
reveman
On 2014/07/24 14:41:46, sohanjg wrote: > On 2014/07/24 13:51:55, reveman wrote: > > Can you ...
6 years, 5 months ago (2014-07-24 14:52:28 UTC) #41
sohanjg
Please take a look, thanks. https://codereview.chromium.org/301793003/diff/240001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/240001/gpu/command_buffer/service/image_manager.cc#newcode30 gpu/command_buffer/service/image_manager.cc:30: LookupImage(service_id)->Destroy(true); On 2014/07/24 13:51:55, ...
6 years, 5 months ago (2014-07-24 15:26:59 UTC) #42
reveman
https://codereview.chromium.org/301793003/diff/260001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/260001/gpu/command_buffer/service/image_manager.cc#newcode27 gpu/command_buffer/service/image_manager.cc:27: images_[service_id] = image; This could drop a GLImage reference ...
6 years, 5 months ago (2014-07-24 16:22:04 UTC) #43
sohanjg
Please take a look, thanks. https://codereview.chromium.org/301793003/diff/260001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/260001/gpu/command_buffer/service/image_manager.cc#newcode27 gpu/command_buffer/service/image_manager.cc:27: images_[service_id] = image; On ...
6 years, 5 months ago (2014-07-25 10:54:22 UTC) #44
reveman
https://codereview.chromium.org/301793003/diff/320001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/320001/content/common/gpu/gpu_command_buffer_stub.cc#newcode949 content/common/gpu/gpu_command_buffer_stub.cc:949: if (id <= 0) { I don't think this ...
6 years, 5 months ago (2014-07-25 19:00:24 UTC) #45
sohanjg
Please take a look, thanks. https://codereview.chromium.org/301793003/diff/320001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/320001/content/common/gpu/gpu_command_buffer_stub.cc#newcode949 content/common/gpu/gpu_command_buffer_stub.cc:949: if (id <= 0) ...
6 years, 5 months ago (2014-07-26 10:42:23 UTC) #46
reveman
lgtm with nits and please update the description https://codereview.chromium.org/301793003/diff/340001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/340001/content/common/gpu/gpu_command_buffer_stub.cc#newcode964 content/common/gpu/gpu_command_buffer_stub.cc:964: LOG(ERROR) ...
6 years, 4 months ago (2014-07-27 23:58:33 UTC) #47
sohanjg
Thank you for your time on this :) https://codereview.chromium.org/301793003/diff/340001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/340001/content/common/gpu/gpu_command_buffer_stub.cc#newcode964 content/common/gpu/gpu_command_buffer_stub.cc:964: LOG(ERROR) ...
6 years, 4 months ago (2014-07-28 10:15:58 UTC) #48
sohanjg
On 2014/07/28 10:15:58, sohanjg wrote: > Thank you for your time on this :) > ...
6 years, 4 months ago (2014-07-28 17:27:39 UTC) #49
no sievers
gpu/ lgtm https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc#newcode964 content/common/gpu/gpu_command_buffer_stub.cc:964: LOG(ERROR) << "Image with ID doesn't exist."; ...
6 years, 4 months ago (2014-07-28 17:38:26 UTC) #50
no sievers
actually one thing: The ImageManager is currently referenced by ContextGroup. You should probably move the ...
6 years, 4 months ago (2014-07-28 17:41:14 UTC) #51
sohanjg
On 2014/07/28 17:41:14, sievers wrote: > actually one thing: > > The ImageManager is currently ...
6 years, 4 months ago (2014-07-28 17:53:11 UTC) #52
reveman
FYI, the context group doesn't have an ImageManager reference anymore. It's own by the decoder ...
6 years, 4 months ago (2014-07-28 18:00:00 UTC) #53
sohanjg
https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc#newcode964 content/common/gpu/gpu_command_buffer_stub.cc:964: LOG(ERROR) << "Image with ID doesn't exist."; On 2014/07/28 ...
6 years, 4 months ago (2014-07-30 10:30:27 UTC) #54
no sievers
On 2014/07/30 10:30:27, sohanjg wrote: > https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc > File content/common/gpu/gpu_command_buffer_stub.cc (right): > > https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc#newcode964 > ...
6 years, 4 months ago (2014-07-30 10:41:47 UTC) #55
sohanjg
On 2014/07/30 10:41:47, sievers wrote: > On 2014/07/30 10:30:27, sohanjg wrote: > > > https://codereview.chromium.org/301793003/diff/360001/content/common/gpu/gpu_command_buffer_stub.cc ...
6 years, 4 months ago (2014-07-30 12:09:35 UTC) #56
no sievers
https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc#newcode32 gpu/command_buffer/service/image_manager.cc:32: images_[service_id] = image; ok now that you have moved ...
6 years, 4 months ago (2014-07-30 12:34:08 UTC) #57
no sievers
https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc#newcode32 gpu/command_buffer/service/image_manager.cc:32: images_[service_id] = image; On 2014/07/30 12:34:08, sievers wrote: > ...
6 years, 4 months ago (2014-07-30 12:40:42 UTC) #58
sohanjg
Please take a look, thanks. https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc#newcode32 gpu/command_buffer/service/image_manager.cc:32: images_[service_id] = image; On ...
6 years, 4 months ago (2014-07-30 13:08:02 UTC) #59
no sievers
https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc File gpu/command_buffer/service/image_manager.cc (right): https://codereview.chromium.org/301793003/diff/380001/gpu/command_buffer/service/image_manager.cc#newcode32 gpu/command_buffer/service/image_manager.cc:32: images_[service_id] = image; On 2014/07/30 13:08:02, sohanjg wrote: > ...
6 years, 4 months ago (2014-07-30 13:23:01 UTC) #60
reveman
https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc#newcode950 content/common/gpu/gpu_command_buffer_stub.cc:950: return; I just remembered the second reason to why ...
6 years, 4 months ago (2014-07-30 14:11:12 UTC) #61
no sievers
https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc#newcode950 content/common/gpu/gpu_command_buffer_stub.cc:950: return; On 2014/07/30 14:11:12, reveman wrote: > I just ...
6 years, 4 months ago (2014-07-30 14:46:46 UTC) #62
sohanjg
Moved the image checks to command buffer. https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/400001/content/common/gpu/gpu_command_buffer_stub.cc#newcode950 content/common/gpu/gpu_command_buffer_stub.cc:950: return; On ...
6 years, 4 months ago (2014-07-30 15:02:44 UTC) #63
no sievers
lgtm https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc#newcode951 content/common/gpu/gpu_command_buffer_stub.cc:951: return; Now you can move 949-952 to before ...
6 years, 4 months ago (2014-07-30 15:11:29 UTC) #64
reveman
https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc#newcode946 content/common/gpu/gpu_command_buffer_stub.cc:946: if (decoder_) { What if this check fails? That ...
6 years, 4 months ago (2014-07-30 15:16:06 UTC) #65
sohanjg
https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/420001/content/common/gpu/gpu_command_buffer_stub.cc#newcode946 content/common/gpu/gpu_command_buffer_stub.cc:946: if (decoder_) { On 2014/07/30 15:16:04, reveman wrote: > ...
6 years, 4 months ago (2014-07-30 15:34:45 UTC) #66
reveman
lgtm with minor styling nits https://codereview.chromium.org/301793003/diff/440001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/440001/content/common/gpu/gpu_command_buffer_stub.cc#newcode963 content/common/gpu/gpu_command_buffer_stub.cc:963: return; nit: blank line ...
6 years, 4 months ago (2014-07-30 16:00:04 UTC) #67
sohanjg
https://codereview.chromium.org/301793003/diff/440001/content/common/gpu/gpu_command_buffer_stub.cc File content/common/gpu/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/301793003/diff/440001/content/common/gpu/gpu_command_buffer_stub.cc#newcode963 content/common/gpu/gpu_command_buffer_stub.cc:963: return; On 2014/07/30 16:00:04, reveman wrote: > nit: blank ...
6 years, 4 months ago (2014-07-30 16:04:38 UTC) #68
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-07-30 16:33:17 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/301793003/460001
6 years, 4 months ago (2014-07-30 16:34:53 UTC) #70
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-07-30 16:46:01 UTC) #71
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 16:47:54 UTC) #72
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/35379) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/1215) ios_rel_device_ninja ...
6 years, 4 months ago (2014-07-30 16:47:55 UTC) #73
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-07-30 17:08:45 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/301793003/460001
6 years, 4 months ago (2014-07-30 17:10:04 UTC) #75
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-07-30 17:28:11 UTC) #76
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 17:32:19 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/46107) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/35403) android_aosp ...
6 years, 4 months ago (2014-07-30 17:32:20 UTC) #78
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-07-31 08:20:38 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/301793003/480001
6 years, 4 months ago (2014-07-31 08:23:41 UTC) #80
sohanjg
The CQ bit was unchecked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-07-31 08:38:07 UTC) #81
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-07-31 08:39:50 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/301793003/500001
6 years, 4 months ago (2014-07-31 08:42:21 UTC) #83
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 15:01:32 UTC) #84
Message was sent while issue was closed.
Change committed as 286811

Powered by Google App Engine
This is Rietveld 408576698