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

Issue 1570173004: This CL adds glTexStorage support. (Closed)

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

Description

This CL adds glTexStorage support. For us to take advantage of immutable texture storage, we would need to know in advance that the texture will not be changing allocated size. In some cases we cannot know this in advance: we will sometimes later need mipmaps to be allocated and generated. However, in the cases where we know in advance that we are allocating mipmaps we can take advantage of immutable storage. BUG=476416 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1570173004 Committed: https://skia.googlesource.com/skia/+/790d5132620d86813380d3df251e80dd2b41a409

Patch Set 1 #

Patch Set 2 : Updating to latest mipmap code. #

Patch Set 3 : Rebasing #

Patch Set 4 : Fixing rebase mistake. #

Total comments: 4

Patch Set 5 : Moving check for TexStorage support inside allocate_and_populate_* calls. Changing the caps to indi… #

Total comments: 12

Patch Set 6 : Changing 0x16 -> 0x10 (facepalm), making isConfigTexStorageEnabled a GrGLCaps thing (not GrCaps), a… #

Patch Set 7 : Adding TODO comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -59 lines) Patch
M src/gpu/gl/GrGLCaps.h View 1 2 3 4 5 4 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 14 chunks +53 lines, -15 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 6 chunks +130 lines, -40 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
cblume
4 years, 9 months ago (2016-02-26 22:01:20 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570173004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570173004/60001
4 years, 9 months ago (2016-02-26 22:01:40 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 9 months ago (2016-02-26 22:01:41 UTC) #6
bsalomon
https://codereview.chromium.org/1570173004/diff/60001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1570173004/diff/60001/src/gpu/gl/GrGLGpu.cpp#newcode925 src/gpu/gl/GrGLGpu.cpp:925: // 565 is not a sized internal format on ...
4 years, 9 months ago (2016-02-26 22:09:54 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570173004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570173004/80001
4 years, 9 months ago (2016-02-27 00:49:38 UTC) #10
cblume
https://codereview.chromium.org/1570173004/diff/60001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1570173004/diff/60001/src/gpu/gl/GrGLGpu.cpp#newcode925 src/gpu/gl/GrGLGpu.cpp:925: // 565 is not a sized internal format on ...
4 years, 9 months ago (2016-02-27 00:49:54 UTC) #11
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Please ask for an LGTM from ...
4 years, 9 months ago (2016-02-27 04:02:22 UTC) #13
bsalomon
https://codereview.chromium.org/1570173004/diff/80001/include/gpu/GrCaps.h File include/gpu/GrCaps.h (right): https://codereview.chromium.org/1570173004/diff/80001/include/gpu/GrCaps.h#newcode237 include/gpu/GrCaps.h:237: virtual bool isConfigTexSupportEnabled(GrPixelConfig config) const = 0; We shouldn't ...
4 years, 9 months ago (2016-02-27 14:18:54 UTC) #14
cblume
https://codereview.chromium.org/1570173004/diff/80001/include/gpu/GrCaps.h File include/gpu/GrCaps.h (right): https://codereview.chromium.org/1570173004/diff/80001/include/gpu/GrCaps.h#newcode237 include/gpu/GrCaps.h:237: virtual bool isConfigTexSupportEnabled(GrPixelConfig config) const = 0; On 2016/02/27 ...
4 years, 9 months ago (2016-02-28 02:44:42 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570173004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570173004/100001
4 years, 9 months ago (2016-02-28 02:51:39 UTC) #17
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Please ask for an LGTM from ...
4 years, 9 months ago (2016-02-28 02:51:42 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570173004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570173004/100001
4 years, 9 months ago (2016-02-28 02:52:29 UTC) #21
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Please ask for an LGTM from ...
4 years, 9 months ago (2016-02-28 02:52:31 UTC) #23
bsalomon
https://codereview.chromium.org/1570173004/diff/80001/src/gpu/gl/GrGLCaps.cpp File src/gpu/gl/GrGLCaps.cpp (right): https://codereview.chromium.org/1570173004/diff/80001/src/gpu/gl/GrGLCaps.cpp#newcode1447 src/gpu/gl/GrGLCaps.cpp:1447: // only allows sized internal formats we disallow it. ...
4 years, 9 months ago (2016-02-29 14:42:28 UTC) #24
cblume
https://codereview.chromium.org/1570173004/diff/80001/src/gpu/gl/GrGLCaps.cpp File src/gpu/gl/GrGLCaps.cpp (right): https://codereview.chromium.org/1570173004/diff/80001/src/gpu/gl/GrGLCaps.cpp#newcode1447 src/gpu/gl/GrGLCaps.cpp:1447: // only allows sized internal formats we disallow it. ...
4 years, 9 months ago (2016-02-29 17:22:31 UTC) #25
bsalomon
lgtm
4 years, 9 months ago (2016-02-29 17:24:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570173004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570173004/120001
4 years, 9 months ago (2016-02-29 18:49:15 UTC) #29
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 19:13:33 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/790d5132620d86813380d3df251e80dd2b41a409

Powered by Google App Engine
This is Rietveld 408576698