http://codereview.appspot.com/5445045/diff/1003/src/gpu/GrGpuGL.cpp
File src/gpu/GrGpuGL.cpp (right):
http://codereview.appspot.com/5445045/diff/1003/src/gpu/GrGpuGL.cpp#newcode748
src/gpu/GrGpuGL.cpp:748: bool newTexture,
On 2011/11/28 18:27:48, TomH wrote:
> Can we have a more informative name - isNewTexture, createNewTexture, ...?
I like isNewTexture, will change for checkin.
http://codereview.appspot.com/5445045/diff/1003/src/gpu/GrGpuGL.cpp#newcode833
src/gpu/GrGpuGL.cpp:833: }
On 2011/11/28 18:27:48, TomH wrote:
> I don't think it needs a comment, but I'd like to understand the pattern of
> making a CALL_NOERRCHECK followed by a GET_ERROR call?
The normal macro we use for GL calls may itself do a glGetErorr (for debugging
reasons, not in a normal release build). If it captures the error than to
subsequent GR_GL_GET_ERROR will not. The NO_ERRCHECK version never calls
glGetError.
Issue 5445045: Detect teximage2d failure
(Closed)
Created 13 years ago by bsalomon
Modified 13 years ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 5