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

Issue 184233002: Fix the issue that it may get wrong stride in cc::ResourceProvider::MapImage. (Closed)

Created:
6 years, 9 months ago by Jun Jiang
Modified:
6 years, 9 months ago
Reviewers:
reveman, junj, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adjusts the call sequences in cc::ResourceProvider::MapImage to map image first and then call GetStride. Current call sequences may get wrong stride for the on-going SurfaceTexture-based GpuMemoryBuffer for Android. BUG=347890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255330

Patch Set 1 #

Total comments: 4

Patch Set 2 : add comments and DCHECK #

Total comments: 4

Patch Set 3 : remove platform-specific comments and generate a GL_INVALID_OPERATION #

Total comments: 2

Patch Set 4 : change error hints and run "git cl format" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M cc/resources/resource_provider.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
junj
It is a small fix for the regression introduced in recent refactoring. reveman, please help ...
6 years, 9 months ago (2014-02-28 07:51:45 UTC) #1
reveman
I understand that you want to change this for future SurfaceTexture support but why does ...
6 years, 9 months ago (2014-03-01 23:04:10 UTC) #2
junj
Hi, reveman. Thanks for your comments and suggestions. The stride issue is expected to affect ...
6 years, 9 months ago (2014-03-03 10:52:29 UTC) #3
reveman
https://codereview.chromium.org/184233002/diff/40001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/184233002/diff/40001/cc/resources/resource_provider.cc#newcode2155 cc/resources/resource_provider.cc:2155: // MapImage() first and then call GetStride(). No need ...
6 years, 9 months ago (2014-03-03 16:57:47 UTC) #4
junj
Hi, reveman. Thanks for your comments. Please help to take a look again. https://codereview.chromium.org/184233002/diff/40001/cc/resources/resource_provider.cc File ...
6 years, 9 months ago (2014-03-04 11:11:23 UTC) #5
reveman
lgtm with nit. +piman for owner review https://codereview.chromium.org/184233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/184233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc#newcode3913 gpu/command_buffer/client/gles2_implementation.cc:3913: "MapImageCHROMIUM should ...
6 years, 9 months ago (2014-03-04 15:17:31 UTC) #6
junj
reveman, thanks for your suggestions. piman, Could you help to have a look ? Thanks. ...
6 years, 9 months ago (2014-03-05 07:50:57 UTC) #7
piman
lgtm
6 years, 9 months ago (2014-03-05 18:52:57 UTC) #8
junj
On 2014/03/05 18:52:57, piman wrote: > lgtm reveman and piman, thanks for reviewing the patch. ...
6 years, 9 months ago (2014-03-06 01:29:15 UTC) #9
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-06 01:29:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/184233002/80001
6 years, 9 months ago (2014-03-06 01:31:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/184233002/80001
6 years, 9 months ago (2014-03-06 02:58:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/184233002/80001
6 years, 9 months ago (2014-03-06 03:20:16 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 06:50:31 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=276148
6 years, 9 months ago (2014-03-06 06:50:31 UTC) #15
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-06 08:49:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/184233002/80001
6 years, 9 months ago (2014-03-06 08:50:13 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 14:00:46 UTC) #18
Message was sent while issue was closed.
Change committed as 255330

Powered by Google App Engine
This is Rietveld 408576698