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

Issue 6061046: Fix reset of scissor state in onResetContext (Closed)

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

Patch Set 1 #

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

Messages

Total messages: 2
bsalomon
Valgrind caught this one.
12 years, 4 months ago (2012-04-17 15:33:58 UTC) #1
robertphillips
12 years, 4 months ago (2012-04-17 16:00:11 UTC) #2
LGTM w/ 1 nit & a question

http://codereview.appspot.com/6061046/diff/1/src/gpu/gl/GrGpuGL.cpp
File src/gpu/gl/GrGpuGL.cpp (right):

http://codereview.appspot.com/6061046/diff/1/src/gpu/gl/GrGpuGL.cpp#newcode519
src/gpu/gl/GrGpuGL.cpp:519: // set to false to force disableScissor to make a GL
call.
// set to true

Also, shouldn't the gl scissor state already be guaranteed to be disabled if
fScissorEnabled is false?
Sign in to reply to this message.

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