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

Issue 2336613002: glTexStorage requires sized formats, ensure that we're following that rule (Closed)

Created:
4 years, 3 months ago by Brian Osman
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

glTexStorage requires sized formats, ensure that we're following that rule In some situations (at least ANGLE ES3), we were passing GL_BGRA, rather than GL_BGRA8. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2336613002 Committed: https://skia.googlesource.com/skia/+/81a8485997162a6f2bef84b1130033b1222c722c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change variable names and add comments to clarify what's happening #

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

Messages

Total messages: 12 (6 generated)
Brian Osman
Thanks to Geoff for noticing this while investigating our ES3 issues. https://codereview.chromium.org/2336613002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): ...
4 years, 3 months ago (2016-09-12 15:08:17 UTC) #5
bsalomon
https://codereview.chromium.org/2336613002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/2336613002/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode996 src/gpu/gl/GrGLGpu.cpp:996: GrGLenum sizedInternalFormat, On 2016/09/12 15:08:17, Brian Osman wrote: > ...
4 years, 3 months ago (2016-09-12 15:14:55 UTC) #6
Brian Osman
Renamed the variable, and added some comments to explain what's going on.
4 years, 3 months ago (2016-09-12 15:23:53 UTC) #7
bsalomon
lgtm
4 years, 3 months ago (2016-09-12 15:28:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2336613002/20001
4 years, 3 months ago (2016-09-12 15:31:28 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 16:05:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/81a8485997162a6f2bef84b1130033b1222c722c

Powered by Google App Engine
This is Rietveld 408576698