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

Issue 1420033005: Create swizzle table inside of glsl caps (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : cleaning #

Total comments: 4

Patch Set 4 : Use swizzle map for all swizzling #

Patch Set 5 : review nits #

Patch Set 6 : #

Patch Set 7 : nit #

Patch Set 8 : #

Total comments: 6

Patch Set 9 : review nits #

Patch Set 10 : #

Patch Set 11 : rebase #

Patch Set 12 : cast to bool #

Patch Set 13 : Fix for breaking bots #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -104 lines) Patch
M include/gpu/GrCaps.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M include/gpu/GrContextOptions.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -1 line 0 comments Download
M src/gpu/GrCaps.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +41 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +26 lines, -17 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -19 lines 0 comments Download
M src/gpu/gl/builders/GrGLShaderBuilder.h View 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/gl/builders/GrGLShaderBuilder.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +44 lines, -36 lines 0 comments Download
M src/gpu/glsl/GrGLSLCaps.h View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLCaps.cpp View 3 chunks +11 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLTextureSampler.h View 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
egdaniel
This is the swizzle table that we talked about last week.
5 years, 1 month ago (2015-11-02 20:28:02 UTC) #2
bsalomon
Should the GL_ARB_texture_swizzle code use your table as well? https://codereview.chromium.org/1420033005/diff/40001/src/gpu/glsl/GrGLSLCaps.h File src/gpu/glsl/GrGLSLCaps.h (right): https://codereview.chromium.org/1420033005/diff/40001/src/gpu/glsl/GrGLSLCaps.h#newcode86 src/gpu/glsl/GrGLSLCaps.h:86: ...
5 years, 1 month ago (2015-11-02 20:44:59 UTC) #3
egdaniel
Now updated to use the new map when setting swizzling params for all cases. https://codereview.chromium.org/1420033005/diff/40001/src/gpu/glsl/GrGLSLCaps.h ...
5 years, 1 month ago (2015-11-02 22:14:12 UTC) #4
bsalomon
lgtm, minor suggestions inline. It's nice to clean this up a bit. https://codereview.chromium.org/1420033005/diff/140001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp ...
5 years, 1 month ago (2015-11-03 14:45:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420033005/10012 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420033005/10012
5 years, 1 month ago (2015-11-03 15:20:10 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/3957) Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 1 month ago (2015-11-03 15:20:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420033005/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420033005/190001
5 years, 1 month ago (2015-11-03 15:23:53 UTC) #13
egdaniel
https://codereview.chromium.org/1420033005/diff/140001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1420033005/diff/140001/src/gpu/gl/GrGLGpu.cpp#newcode2415 src/gpu/gl/GrGLGpu.cpp:2415: void GrGLGpu::GetTexParamSwizzle(GrPixelConfig config, On 2015/11/03 14:45:51, bsalomon wrote: > ...
5 years, 1 month ago (2015-11-03 15:23:56 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4088)
5 years, 1 month ago (2015-11-03 15:26:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420033005/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420033005/210001
5 years, 1 month ago (2015-11-03 15:58:42 UTC) #19
commit-bot: I haz the power
Committed patchset #12 (id:210001) as https://skia.googlesource.com/skia/+/4036674952f341dab0695c3b054fefa5bb8cdec1
5 years, 1 month ago (2015-11-03 16:15:31 UTC) #20
egdaniel
A revert of this CL (patchset #12 id:210001) has been created in https://codereview.chromium.org/1426653008/ by egdaniel@google.com. ...
5 years, 1 month ago (2015-11-03 18:32:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420033005/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420033005/250001
5 years, 1 month ago (2015-11-03 20:41:04 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 12:23:56 UTC) #26
Message was sent while issue was closed.
Committed patchset #14 (id:250001) as
https://skia.googlesource.com/skia/+/b7e7d5748d74c7482436b33733d7770484bb62e3

Powered by Google App Engine
This is Rietveld 408576698