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

Issue 6012052: Fix for uninitialized memory issue on Linux (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by robertphillips
Modified:
12 years, 7 months ago
Reviewers:
epoger, reed1, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The debug gm run of "gm --debuggl" was producing assertion errors on Linux. This patch provides data back to the application in this case overwriting some uninitialized SkBitmap data.

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -3 lines) Patch
M src/gpu/gl/debug/GrDebugGL.h View 1 2 chunks +12 lines, -0 lines 0 comments Download
M src/gpu/gl/debug/GrDebugGL.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/gl/debug/GrGLCreateDebugInterface.cpp View 1 2 chunks +76 lines, -2 lines 0 comments Download

Messages

Total messages: 7
robertphillips
12 years, 7 months ago (2012-04-12 19:09:14 UTC) #1
TomH
Style nits, but no need to bikeshed: LGTM
12 years, 7 months ago (2012-04-12 19:21:57 UTC) #2
TomH
Eh, nits shouldn't go unpublished, even if their only purpose is to spark argument. http://codereview.appspot.com/6012052/diff/1/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ...
12 years, 7 months ago (2012-04-12 19:22:16 UTC) #3
reed1
bloody chicken! 1-letter variable names are 2 shrt, i m h o.
12 years, 7 months ago (2012-04-12 19:24:15 UTC) #4
epoger
http://codereview.appspot.com/6012052/diff/1/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp File src/gpu/gl/debug/GrGLCreateDebugInterface.cpp (right): http://codereview.appspot.com/6012052/diff/1/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp#newcode173 src/gpu/gl/debug/GrGLCreateDebugInterface.cpp:173: GrGLint s = 0; // size (in bytes) of ...
12 years, 7 months ago (2012-04-12 19:32:55 UTC) #5
robertphillips
http://codereview.appspot.com/6012052/diff/1/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp File src/gpu/gl/debug/GrGLCreateDebugInterface.cpp (right): http://codereview.appspot.com/6012052/diff/1/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp#newcode149 src/gpu/gl/debug/GrGLCreateDebugInterface.cpp:149: GrGLint l = width; // number of pixels in ...
12 years, 7 months ago (2012-04-12 19:51:15 UTC) #6
robertphillips
12 years, 7 months ago (2012-04-12 19:54:08 UTC) #7
committed as r3666
Sign in to reply to this message.

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