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

Issue 1870893002: Implement texel buffers (Closed)

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

Description

Implement texel buffers Adds a mechanism for processors to add buffer accesses and implements them in the GL backend. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870893002 Committed: https://skia.googlesource.com/skia/+/74b8d323323c8533e3e5cc7719e0bd127aacd829

Patch Set 1 #

Total comments: 9

Patch Set 2 : rebase + comments #

Patch Set 3 : GrBuffer(Access) into include/gpu #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -264 lines) Patch
M gyp/gpu.gypi View 1 2 2 chunks +2 lines, -1 line 0 comments Download
A + include/gpu/GrBuffer.h View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A include/gpu/GrBufferAccess.h View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
M include/gpu/GrFragmentProcessor.h View 4 chunks +5 lines, -0 lines 0 comments Download
M include/gpu/GrProcessor.h View 4 chunks +17 lines, -5 lines 0 comments Download
M include/gpu/GrTypesPriv.h View 8 chunks +33 lines, -17 lines 0 comments Download
D src/gpu/GrBuffer.h View 1 2 1 chunk +0 lines, -141 lines 0 comments Download
M src/gpu/GrFragmentProcessor.cpp View 2 chunks +10 lines, -1 line 0 comments Download
M src/gpu/GrProcessor.cpp View 3 chunks +12 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLBuffer.h View 2 chunks +11 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLBuffer.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLCaps.h View 2 chunks +9 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 6 chunks +18 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 4 chunks +24 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 6 chunks +104 lines, -20 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 chunks +7 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 3 chunks +23 lines, -19 lines 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 3 chunks +18 lines, -11 lines 0 comments Download
M src/gpu/glsl/GrGLSL.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.h View 3 chunks +5 lines, -2 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.cpp View 2 chunks +12 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSLPrimitiveProcessor.h View 3 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.h View 1 chunk +8 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.cpp View 7 chunks +57 lines, -27 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLXferProcessor.h View 3 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkProgramDesc.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (10 generated)
Chris Dalton
https://codereview.chromium.org/1870893002/diff/1/src/gpu/GrProcessor.cpp File src/gpu/GrProcessor.cpp (right): https://codereview.chromium.org/1870893002/diff/1/src/gpu/GrProcessor.cpp#newcode109 src/gpu/GrProcessor.cpp:109: void GrProcessor::addBufferAccess(const GrBufferAccess* access) { Is there a kosher ...
4 years, 8 months ago (2016-04-08 00:56:43 UTC) #3
bsalomon
lgtm with some minor things inline https://codereview.chromium.org/1870893002/diff/1/src/gpu/GrBufferAccess.h File src/gpu/GrBufferAccess.h (right): https://codereview.chromium.org/1870893002/diff/1/src/gpu/GrBufferAccess.h#newcode38 src/gpu/GrBufferAccess.h:38: bool operator!=(const GrBufferAccess& ...
4 years, 8 months ago (2016-04-11 16:51:38 UTC) #4
Chris Dalton
Just let me know if you would prefer the counting approach instead of "hasAttachedToTexture" (in ...
4 years, 8 months ago (2016-04-11 19:48:19 UTC) #5
bsalomon
https://codereview.chromium.org/1870893002/diff/1/src/gpu/gl/GrGLBuffer.h File src/gpu/gl/GrGLBuffer.h (right): https://codereview.chromium.org/1870893002/diff/1/src/gpu/gl/GrGLBuffer.h#newcode36 src/gpu/gl/GrGLBuffer.h:36: void setHasAttachedToTexture() { fHasAttachedToTexture = true; } On 2016/04/11 ...
4 years, 8 months ago (2016-04-11 20:37:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870893002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870893002/20001
4 years, 8 months ago (2016-04-11 20:41:44 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/1880)
4 years, 8 months ago (2016-04-11 20:43:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870893002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870893002/40001
4 years, 8 months ago (2016-04-11 21:30:16 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 21:45:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870893002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870893002/40001
4 years, 8 months ago (2016-04-11 21:46:05 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 21:47:33 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/74b8d323323c8533e3e5cc7719e0bd127aacd829

Powered by Google App Engine
This is Rietveld 408576698