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

Issue 7228048: Make a bunch of virtuals in GrDrawTarget and GrGpu private. Subclasses shouldn't call them directly. (Closed)

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

Description

Make a bunch of virtuals in GrDrawTarget and GrGpu private. Subclasses shouldn't call them directly. R=robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=7413

Patch Set 1 #

Patch Set 2 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -137 lines) Patch
M src/gpu/GrDrawTarget.h View 4 chunks +41 lines, -59 lines 3 comments Download
M src/gpu/GrDrawTarget.cpp View 1 chunk +1 line, -1 line 1 comment Download
M src/gpu/GrGpu.h View 3 chunks +30 lines, -49 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 2 chunks +7 lines, -6 lines 1 comment Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 3 chunks +11 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 3 chunks +3 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
bsalomon
This is some cleanup that I thought best to remove from a substantive change that ...
11 years, 9 months ago (2013-01-28 15:10:14 UTC) #1
robertphillips
LGTM https://codereview.appspot.com/7228048/diff/2001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.appspot.com/7228048/diff/2001/src/gpu/GrDrawTarget.h#newcode957 src/gpu/GrDrawTarget.h:957: What's up with this comment?
11 years, 9 months ago (2013-01-28 15:19:54 UTC) #2
bsalomon
11 years, 9 months ago (2013-01-28 15:21:45 UTC) #3
https://codereview.appspot.com/7228048/diff/2001/src/gpu/GrDrawTarget.h
File src/gpu/GrDrawTarget.h (right):

https://codereview.appspot.com/7228048/diff/2001/src/gpu/GrDrawTarget.h#newco...
src/gpu/GrDrawTarget.h:957: 
On 2013/01/28 15:19:54, robertphillips wrote:
> What's up with this comment?

It's a bit unclear. I will update it to say:

"A subclass may override this function if it wishes to be notified when the clip
is changed. The override should call INHERITED::clipWillBeSet()."
Sign in to reply to this message.

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