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

Issue 1317443004: Calculate pixel config and stencil fmt pairs once per pixel config. (Closed)

Created:
5 years, 3 months ago by egdaniel
Modified:
5 years, 3 months ago
Reviewers:
jvanverth1, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Calculate pixel config and stencil fmt pairs once per pixel config. We use a temp FB and stencil buffer to test different stencil formats with a given pixel config. We then keep a map from pixel config to desired stencil format. BUG=skia: Committed: https://skia.googlesource.com/skia/+/ff1d547c72b7c70af7bddfba01d4646b2389db7a

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 8

Patch Set 3 : Review fixes #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : min/max texture nits #

Patch Set 6 : Unused variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -191 lines) Patch
M src/gpu/GrCaps.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 2 chunks +0 lines, -22 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 2 chunks +0 lines, -48 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 4 chunks +215 lines, -115 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
egdaniel
5 years, 3 months ago (2015-09-09 21:23:03 UTC) #2
bsalomon
https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp#newcode1184 src/gpu/gl/GrGLGpu.cpp:1184: int size = 16; maybe use caps()->minTextureSize()? https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp#newcode1191 src/gpu/gl/GrGLGpu.cpp:1191: ...
5 years, 3 months ago (2015-09-09 22:02:30 UTC) #3
jvanverth1
Some nits: https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp#newcode165 src/gpu/gl/GrGLGpu.cpp:165: // This value is used as the ...
5 years, 3 months ago (2015-09-10 13:35:03 UTC) #4
egdaniel
https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1317443004/diff/20001/src/gpu/gl/GrGLGpu.cpp#newcode165 src/gpu/gl/GrGLGpu.cpp:165: // This value is used as the stencil index ...
5 years, 3 months ago (2015-09-10 13:59:10 UTC) #5
bsalomon
lgtm w/ suggestion https://codereview.chromium.org/1317443004/diff/60001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1317443004/diff/60001/src/gpu/gl/GrGLGpu.cpp#newcode1184 src/gpu/gl/GrGLGpu.cpp:1184: int size = this->caps()->minTextureSize() ? this->caps()->minTextureSize() ...
5 years, 3 months ago (2015-09-10 14:30:22 UTC) #6
egdaniel
https://codereview.chromium.org/1317443004/diff/60001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1317443004/diff/60001/src/gpu/gl/GrGLGpu.cpp#newcode1184 src/gpu/gl/GrGLGpu.cpp:1184: int size = this->caps()->minTextureSize() ? this->caps()->minTextureSize() : 16; On ...
5 years, 3 months ago (2015-09-10 14:48:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317443004/70005 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317443004/70005
5 years, 3 months ago (2015-09-10 14:48:25 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/3180)
5 years, 3 months ago (2015-09-10 14:49:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317443004/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317443004/90001
5 years, 3 months ago (2015-09-10 15:32:33 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-10 15:37:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:90001) as
https://skia.googlesource.com/skia/+/ff1d547c72b7c70af7bddfba01d4646b2389db7a

Powered by Google App Engine
This is Rietveld 408576698