Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1892)

Issue 6353094: Start removing calls to GrDrawState::setTexture() (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by TomH
Modified:
12 years, 5 months ago
Reviewers:
bsalomon
CC:
twiz1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Now the current CustomStage objects aren't using the texture array on the GrPaint.

Patch Set 1 #

Patch Set 2 : Fix bugs in GrPaint #

Total comments: 5

Patch Set 3 : Simplify, simplify, simplify #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M include/gpu/GrPaint.h View 1 3 chunks +8 lines, -10 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 1 chunk +0 lines, -9 lines 1 comment Download

Messages

Total messages: 7
TomH
GrContext-set custom stages work, but SkGpuDevice-set custom stages don't (when we set the GrPaint's textures ...
12 years, 5 months ago (2012-07-13 16:37:35 UTC) #1
TomH
DrawTarget::srcAlphaWillBeOne() detects an enabled stage when the GrPaint texture is set, but not when it ...
12 years, 5 months ago (2012-07-13 17:23:37 UTC) #2
TomH
Ready for review.
12 years, 5 months ago (2012-07-13 18:51:35 UTC) #3
bsalomon
I think you also want to remove the setTexture in apply_custom_stage in SkGpuDevice.cpp http://codereview.appspot.com/6353094/diff/4001/src/gpu/SkGpuDevice.cpp File ...
12 years, 5 months ago (2012-07-13 18:59:25 UTC) #4
TomH
http://codereview.appspot.com/6353094/diff/4001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/6353094/diff/4001/src/gpu/SkGpuDevice.cpp#newcode565 src/gpu/SkGpuDevice.cpp:565: grPaint->setTexture(kShaderTextureIdx, NULL); On 2012/07/13 18:59:26, bsalomon wrote: > Is ...
12 years, 5 months ago (2012-07-13 19:48:48 UTC) #5
bsalomon
LGTM, If the answer is "yes" then let's make sure he is aware. http://codereview.appspot.com/6353094/diff/4001/src/gpu/GrDrawState.h File ...
12 years, 5 months ago (2012-07-13 19:51:17 UTC) #6
TomH
12 years, 5 months ago (2012-07-13 19:54:53 UTC) #7
Committed as r4608.

(And warned Jeff via chat, as well as CCing him here.)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b