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

Issue 3009041: Remove include of internal code from SkGLCanvas.h

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by tedbo1
Modified:
14 years ago
Reviewers:
Steve VanDeBogart
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The '#include "SkGLDevice.h"' from include/core/SkDevice.h requires internal Skia code to be added to the include search paths when using the deprecated API. This change adds back SkGLCanvas.cpp to avoid exposing SkGLDevice.h to the public API. The change also includes an explicit virtual destructor on SkDeviceFactory to silence a -Wnon-virtual-dtor warning and allow for -Werror.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments. #

Patch Set 3 : Fix style to be more like existing code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -22 lines) Patch
M include/core/SkDevice.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/utils/SkGLCanvas.h View 1 2 chunks +8 lines, -22 lines 0 comments Download
M src/core/SkDevice.cpp View 2 1 chunk +2 lines, -0 lines 0 comments Download
A src/gl/SkGLCanvas.cpp View 1 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Steve VanDeBogart
LGTM with the following nits. As far as public vs. private API, it's not clear ...
14 years ago (2010-11-10 00:40:15 UTC) #1
tedbo1
On Tue, Nov 9, 2010 at 4:40 PM, <vandebo@chromium.org> wrote: > LGTM with the following ...
14 years ago (2010-11-10 07:15:15 UTC) #2
Steve VanDeBogart
14 years ago (2010-11-11 00:50:40 UTC) #3
Sign in to reply to this message.

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