Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1346)

Issue 723183002: Cleanup GrContextFactory and make it's subclasses private (Closed)

Created:
6 years, 1 month ago by djsollen
Modified:
6 years, 1 month ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Cleanup GrContextFactory and make it's subclasses private Committed: https://skia.googlesource.com/skia/+/e4545210c950f98d9fa20f51bc1be6c5591534bd

Patch Set 1 #

Total comments: 2

Patch Set 2 : test only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -461 lines) Patch
M gyp/gpu.gypi View 1 3 chunks +4 lines, -5 lines 0 comments Download
M gyp/gputest.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/tools.gyp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrContextFactory.h View 1 1 chunk +0 lines, -215 lines 0 comments Download
D include/gpu/gl/SkANGLEGLContext.h View 1 chunk +0 lines, -47 lines 0 comments Download
D include/gpu/gl/SkDebugGLContext.h View 1 chunk +0 lines, -29 lines 0 comments Download
D include/gpu/gl/SkMesaGLContext.h View 1 chunk +0 lines, -46 lines 0 comments Download
D include/gpu/gl/SkNullGLContext.h View 1 chunk +0 lines, -35 lines 0 comments Download
A + src/gpu/GrContextFactory.h View 1 2 chunks +3 lines, -77 lines 0 comments Download
A src/gpu/GrContextFactory.cpp View 1 chunk +89 lines, -0 lines 0 comments Download
A + src/gpu/gl/SkNullGLContext.h View 1 chunk +1 line, -1 line 0 comments Download
A + src/gpu/gl/angle/SkANGLEGLContext.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/angle/SkANGLEGLContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + src/gpu/gl/debug/SkDebugGLContext.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/debug/SkDebugGLContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + src/gpu/gl/mesa/SkMesaGLContext.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/mesa/SkMesaGLContext.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
djsollen
6 years, 1 month ago (2014-11-13 17:45:42 UTC) #2
bsalomon
https://codereview.chromium.org/723183002/diff/1/gyp/gpu.gypi File gyp/gpu.gypi (right): https://codereview.chromium.org/723183002/diff/1/gyp/gpu.gypi#newcode76 gyp/gpu.gypi:76: '<(skia_src_path)/gpu/GrContextFactory.cpp', Kind of a bummer to bake this into ...
6 years, 1 month ago (2014-11-13 17:49:32 UTC) #3
djsollen
https://codereview.chromium.org/723183002/diff/1/gyp/gpu.gypi File gyp/gpu.gypi (right): https://codereview.chromium.org/723183002/diff/1/gyp/gpu.gypi#newcode76 gyp/gpu.gypi:76: '<(skia_src_path)/gpu/GrContextFactory.cpp', On 2014/11/13 17:49:32, bsalomon wrote: > Kind of ...
6 years, 1 month ago (2014-11-13 18:32:15 UTC) #4
bsalomon
lgtm
6 years, 1 month ago (2014-11-13 18:50:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723183002/20001
6 years, 1 month ago (2014-11-13 18:54:23 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/e4545210c950f98d9fa20f51bc1be6c5591534bd
6 years, 1 month ago (2014-11-13 19:13:02 UTC) #8
humper
On 2014/11/13 19:13:02, I haz the power (commit-bot) wrote: > Committed patchset #2 (id:20001) as ...
6 years, 1 month ago (2014-11-17 19:01:54 UTC) #9
bsalomon
6 years, 1 month ago (2014-11-17 19:27:24 UTC) #10
Message was sent while issue was closed.
On 2014/11/17 19:01:54, humper wrote:
> On 2014/11/13 19:13:02, I haz the power (commit-bot) wrote:
> > Committed patchset #2 (id:20001) as
> >
https://skia.googlesource.com/skia/+/e4545210c950f98d9fa20f51bc1be6c5591534bd
> 
> This change has broken skfiddle; I can no longer include GrContextFactory.h.
> 
> What's the New Way?

I think you either have to create a GrContext without the factory, or put
src/gpu in your include path. GrContextFactory isn't really intended for Skia
clients, but for our test tools. Arguably, the skfiddle.com backend fits into
the latter category and can include private headers.

Powered by Google App Engine
This is Rietveld 408576698