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

Issue 4571073: Set texture dirty flag only when texture has really changed (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by bsalomon
Modified:
13 years, 6 months ago
Reviewers:
junov1, reed1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M gpu/src/GrGpuGL.cpp View 2 chunks +3 lines, -4 lines 2 comments Download

Messages

Total messages: 9
bsalomon
I tested this in DRT, no failures introduced. Also visited a bunch of canvas sites ...
13 years, 6 months ago (2011-06-14 20:36:02 UTC) #1
reed1
LGTM
13 years, 6 months ago (2011-06-14 20:42:37 UTC) #2
bsalomon
Checked in at r1592
13 years, 6 months ago (2011-06-15 14:01:06 UTC) #3
junov1
http://codereview.appspot.com/4571073/diff/1/gpu/src/GrGpuGL.cpp File gpu/src/GrGpuGL.cpp (right): http://codereview.appspot.com/4571073/diff/1/gpu/src/GrGpuGL.cpp#newcode1783 gpu/src/GrGpuGL.cpp:1783: fDirtyFlags.fTextureChangedMask |= (1 << s); To me this looks ...
13 years, 6 months ago (2011-06-15 15:25:16 UTC) #4
bsalomon
http://codereview.appspot.com/4571073/diff/1/gpu/src/GrGpuGL.cpp File gpu/src/GrGpuGL.cpp (right): http://codereview.appspot.com/4571073/diff/1/gpu/src/GrGpuGL.cpp#newcode1783 gpu/src/GrGpuGL.cpp:1783: fDirtyFlags.fTextureChangedMask |= (1 << s); On 2011/06/15 15:25:16, junov1 ...
13 years, 6 months ago (2011-06-15 15:54:55 UTC) #5
junov1
My point is that checking that the GrGLTexture* (the address) is the same does not ...
13 years, 6 months ago (2011-06-15 18:22:45 UTC) #6
junov1
I guess that what I am trying to say is that for this code to ...
13 years, 6 months ago (2011-06-15 18:39:10 UTC) #7
bsalomon
I see, gotcha. We actually call GrGpuGL::notifyTextureDelete() when a texture is deleted and NULL out ...
13 years, 6 months ago (2011-06-15 18:40:37 UTC) #8
junov1
13 years, 6 months ago (2011-06-15 18:49:56 UTC) #9
Ah, then LGTM
Sign in to reply to this message.

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