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

Issue 4523056: Keep program cache in a consistent state when program creation fails (Closed)

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

Patch Set 1 #

Patch Set 2 : remove debug code #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -11 lines) Patch
M gpu/src/GrGLProgram.h View 1 chunk +1 line, -1 line 1 comment Download
M gpu/src/GrGpuGLShaders.cpp View 4 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 4
bsalomon
This makes a copy of a GrGLProgram::CachedData but only when we're in the midst of ...
13 years, 1 month ago (2011-05-11 14:07:19 UTC) #1
junov1
Looks good. http://codereview.appspot.com/4523056/diff/2001/gpu/src/GrGLProgram.h File gpu/src/GrGLProgram.h (right): http://codereview.appspot.com/4523056/diff/2001/gpu/src/GrGLProgram.h#newcode184 gpu/src/GrGLProgram.h:184: memcpy(this, &other, sizeof(CachedData)); Nit: sizeof(*this)
13 years, 1 month ago (2011-05-11 15:22:16 UTC) #2
reed1
LGTM
13 years, 1 month ago (2011-05-11 16:31:50 UTC) #3
bsalomon
13 years, 1 month ago (2011-05-11 16:54:29 UTC) #4
Fixed with r1298
Sign in to reply to this message.

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