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

Issue 1965973002: Disable unpack row length when uploading mips (Closed)

Created:
4 years, 7 months ago by ericrk
Modified:
4 years, 7 months ago
Reviewers:
cblume, bsalomon
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Disable unpack row length when uploading mips When uploading multiple mip levels, the current path which uses GL_UNPACK_ROW_LENGTH doesn't work (it fails to reset this value, and is set incorrectly for subsequent mip levels). This leads to crashes as the buffer Skia provides to GL is not sized correctly. This change temporarily disables the GL_UNPACK_ROW_LENGTH path when we are uploading mips. This path was an optimization, so everything should continue working as expected. This is a temporary workaround until we can re-structure the code to set GL_UNPACK_ROW_LENGTH per mip level. BUG=609612 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1965973002 Committed: https://skia.googlesource.com/skia/+/154349b6fff27a19533ae528d43a5b52e4e11d3d

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/gpu/gl/GrGLGpu.cpp View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
ericrk
4 years, 7 months ago (2016-05-10 20:28:08 UTC) #3
bsalomon
lgtm
4 years, 7 months ago (2016-05-10 20:31:19 UTC) #4
bsalomon
Curious why this never caused any of our tests to fail.
4 years, 7 months ago (2016-05-10 20:32:02 UTC) #5
cblume
On 2016/05/10 20:32:02, bsalomon wrote: > Curious why this never caused any of our tests ...
4 years, 7 months ago (2016-05-10 21:02:17 UTC) #6
ericrk
On 2016/05/10 21:02:17, cblume wrote: > On 2016/05/10 20:32:02, bsalomon wrote: > > Curious why ...
4 years, 7 months ago (2016-05-10 21:18:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965973002/20001
4 years, 7 months ago (2016-05-10 21:18:23 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 21:36:57 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/154349b6fff27a19533ae528d43a5b52e4e11d3d

Powered by Google App Engine
This is Rietveld 408576698