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

Issue 1192463003: Don't call bindTexture from GrGLProgram (Closed)

Created:
5 years, 6 months ago by Chris Dalton
Modified:
5 years, 6 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

Don't call bindTexture from GrGLProgram Updates GrGLProgram to tell the gpu object which textures it wants bound, instead of calling bindTexture directly. This begins to break its dependence on the specific GrGLGpu object. BUG=skia: Committed: https://skia.googlesource.com/skia/+/4271765d110be2661562f30f47addc9cb69ca4c7

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -83 lines) Patch
M src/gpu/gl/GrGLGpu.cpp View 1 chunk +8 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 4 chunks +13 lines, -15 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 5 chunks +33 lines, -48 lines 2 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 2 chunks +3 lines, -9 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 4 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Chris Dalton
Curious to hear what you think about this approach. I thought I liked it better ...
5 years, 6 months ago (2015-06-16 20:26:54 UTC) #2
bsalomon
+Josh
5 years, 6 months ago (2015-06-16 20:31:06 UTC) #4
joshualitt
mostly looks good, just a really minor nit. https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp#newcode80 src/gpu/gl/GrGLProgram.cpp:80: } ...
5 years, 6 months ago (2015-06-18 15:51:27 UTC) #6
Chris Dalton
https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp#newcode80 src/gpu/gl/GrGLProgram.cpp:80: } while (++i < numTextures); On 2015/06/18 15:51:27, joshualitt ...
5 years, 6 months ago (2015-06-18 18:13:51 UTC) #7
joshualitt
On 2015/06/18 18:13:51, Chris Dalton wrote: > https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp > File src/gpu/gl/GrGLProgram.cpp (right): > > https://codereview.chromium.org/1192463003/diff/20001/src/gpu/gl/GrGLProgram.cpp#newcode80 ...
5 years, 6 months ago (2015-06-18 18:34:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192463003/20001
5 years, 6 months ago (2015-06-18 18:47:27 UTC) #10
commit-bot: I haz the power
The author cdalton@nvidia.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-18 18:47:27 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 18:54:34 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/4271765d110be2661562f30f47addc9cb69ca4c7

Powered by Google App Engine
This is Rietveld 408576698