LGTM http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h File src/gpu/gl/GrGpuGL.h (right): http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h#newcode281 src/gpu/gl/GrGpuGL.h:281: kIgnoreClip_StencilClipMode, From the code it looks like we ...
12 years, 5 months ago
(2012-05-21 21:00:17 UTC)
#3
http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h File src/gpu/gl/GrGpuGL.h (right): http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h#newcode281 src/gpu/gl/GrGpuGL.h:281: kIgnoreClip_StencilClipMode, On 2012/05/21 21:00:18, robertphillips wrote: > From the ...
12 years, 5 months ago
(2012-05-21 21:11:04 UTC)
#4
http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h
File src/gpu/gl/GrGpuGL.h (right):
http://codereview.appspot.com/6227047/diff/2001/src/gpu/gl/GrGpuGL.h#newcode281
src/gpu/gl/GrGpuGL.h:281: kIgnoreClip_StencilClipMode,
On 2012/05/21 21:00:18, robertphillips wrote:
> From the code it looks like we only really need one of Ignore and Invalid.
I think we could remove invalid because whenever we set fHWStencilClipMode to
invalid we also invalidate fHWStencilSettings, meaning we will fully reconfigure
the stencil state on the next draw. We could leave fHWStencilClipMode set to
whatever value we wanted at that point. But I'd feel compelled to document that
and it just seems easier to have an explicit invalid state.
On 2012/05/21 21:11:04, bsalomon wrote: > ... But I'd feel compelled to document that > ...
12 years, 5 months ago
(2012-05-21 21:18:05 UTC)
#5
On 2012/05/21 21:11:04, bsalomon wrote:
> ... But I'd feel compelled to document that
> and it just seems easier to have an explicit invalid state.
Agreed.
Issue 6227047: Stop using GrDrawState to track stencil state
(Closed)
Created 12 years, 6 months ago by bsalomon
Modified 12 years, 5 months ago
Reviewers: robertphillips, TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 2