DescriptionAdjusts 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" #Messages
Total messages: 18 (0 generated)
|