IWYU: 'core' target, files starting A-C.

TBR=reed@google.com
Verbal lgtm, does not change API.

Committed: https://skia.googlesource.com/skia/+/7403d87db8e43d4c2b5b25ac22a0ebc22bd09d69

Review URL: https://codereview.chromium.org/1265033002
This commit is contained in:
bungeman 2015-08-05 13:57:49 -07:00 committed by Commit bot
parent 59cd36765c
commit d3ebb48320
111 changed files with 221 additions and 104 deletions

View File

@ -9,6 +9,7 @@
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkString.h"
enum ColorPattern {

View File

@ -8,6 +8,7 @@
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkString.h"
struct BezierRec {

View File

@ -8,7 +8,9 @@
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkTDArray.h"
/**
* This is a conversion of samplecode/SampleChart.cpp into a bench. It sure would be nice to be able

View File

@ -8,6 +8,7 @@
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString.h"

View File

@ -1,15 +1,16 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Benchmark.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString.h"

View File

@ -10,6 +10,7 @@
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString.h"

View File

@ -10,6 +10,7 @@
#include "SkCanvas.h"
#include "SkLayerDrawLooper.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
// This bench replicates a problematic use case of a draw looper used

View File

@ -11,6 +11,9 @@
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPicture.h"
#include "SkTDArray.h"
class SkSurface;
/**
* Runs an SkPicture as a benchmark by repeatedly drawing it scaled inside a device clip.

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkPath.h"
#include "SkShader.h"
static void test4(SkCanvas* canvas) {

View File

@ -7,6 +7,7 @@
*/
#include "gm.h"
#include "SkArithmeticMode.h"
#include "SkPath.h"
#include "SkShader.h"
#include "SkXfermode.h"

View File

@ -6,6 +6,7 @@
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRandom.h"
#define W 400

View File

@ -1,4 +1,3 @@
/*
* Copyright 2013 Google Inc.
*
@ -9,6 +8,7 @@
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -1,13 +1,14 @@
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorPriv.h"
#include "SkPath.h"
#include "SkShader.h"
namespace skiagm {

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
static void make_bm(SkBitmap* bm) {
bm->allocN32Pixels(60, 60);

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
#include "SkPath.h"
class BlursGM : public skiagm::GM {
public:

View File

@ -10,6 +10,8 @@
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkRect.h"
#include "SkRRect.h"
namespace skiagm {

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#define WIDTH 400
#define HEIGHT 600

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkTArray.h"
class ConicPathsGM : public skiagm::GM {

View File

@ -6,6 +6,7 @@
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkTArray.h"

View File

@ -10,6 +10,7 @@
#include "SkBitmap.h"
#include "SkGradientShader.h"
#include "SkPath.h"
#include "SkTLList.h"
static SkBitmap make_bmp(int w, int h) {

View File

@ -4,9 +4,11 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
// skbug.com/1316 shows that this cubic, when slightly clipped, creates big

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkDrawable.h"
#include "SkPath.h"
struct MyDrawable : public SkDrawable {
SkRect onGetBounds() override { return SkRect::MakeWH(50, 100); }

View File

@ -7,6 +7,7 @@
*/
#include "gm.h"
#include "SkBitmap.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkXfermode.h"

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {

View File

@ -1,11 +1,12 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -1,12 +1,13 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkGradientShader.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkTemplates.h"

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkCullPoints.h"
#include "SkPath.h"
#include "SkRandom.h"
static void test_hittest(SkCanvas* canvas, const SkPath& path) {

View File

@ -4,8 +4,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkPaint.h"
#include "SkRandom.h"

View File

@ -6,6 +6,7 @@
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"

View File

@ -1,11 +1,12 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
typedef SkScalar (*MakePathProc)(SkPath*);

View File

@ -6,11 +6,12 @@
*/
#include "gm.h"
#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkGraphics.h"
#include "SkRandom.h"
#include "SkLayerDrawLooper.h"
#include "SkBlurMaskFilter.h"
#include "SkPath.h"
#include "SkRandom.h"
static SkRect inset(const SkRect& r) {
SkRect rect = r;

View File

@ -6,6 +6,7 @@
*/
#include "gm.h"
#include "SkPath.h"
DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) {
SkPaint p;

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "Resources.h"
#include "SkPath.h"
#include "SkTypeface.h"
class SkJSCanvas {

View File

@ -4,9 +4,11 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {

View File

@ -6,9 +6,10 @@
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkShader.h"
#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkShader.h"
namespace skiagm {

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -1,13 +1,14 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurDrawLooper.h"
#include "SkBlurMask.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -5,10 +5,10 @@
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkAAClip.h"
#include "SkCanvas.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -6,8 +6,9 @@
*/
#include "gm.h"
#include "SkColorFilter.h"
#include "SkBlurMaskFilter.h"
#include "SkColorFilter.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -6,6 +6,7 @@
*/
#include "gm.h"
#include "SkPath.h"
namespace skiagm {

View File

@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPath.h"
#include "SkSurface.h"
#if SK_SUPPORT_GPU

View File

@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {

View File

@ -1,4 +1,3 @@
/*
* Copyright 2011 Google Inc.
*
@ -6,9 +5,8 @@
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRandom.h"
#define W 400

View File

@ -10,12 +10,11 @@
#include "SkRefCnt.h"
#include "SkString.h"
#include "SkTypes.h"
class SkData;
class SkReadBuffer;
class SkWriteBuffer;
class SkStream;
class SkWStream;
struct SkPoint;
/**

View File

@ -8,9 +8,9 @@
#ifndef SkBBHFactory_DEFINED
#define SkBBHFactory_DEFINED
#include "SkRect.h"
#include "SkTypes.h"
class SkBBoxHierarchy;
struct SkRect;
class SK_API SkBBHFactory {
public:

View File

@ -9,7 +9,28 @@
#ifndef SkBitmapDevice_DEFINED
#define SkBitmapDevice_DEFINED
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColor.h"
#include "SkDevice.h"
#include "SkImageFilter.h"
#include "SkImageInfo.h"
#include "SkRect.h"
#include "SkScalar.h"
#include "SkSize.h"
#include "SkSurfaceProps.h"
#include "SkTypes.h"
class SkDraw;
class SkMatrix;
class SkPaint;
class SkPath;
class SkPixelRef;
class SkPixmap;
class SkRRect;
class SkSurface;
class SkXfermode;
struct SkPoint;
///////////////////////////////////////////////////////////////////////////////
class SK_API SkBitmapDevice : public SkBaseDevice {

View File

@ -11,31 +11,31 @@
#include "SkTypes.h"
#include "SkBitmap.h"
#include "SkDeque.h"
#include "SkClipStack.h"
#include "SkPaint.h"
#include "SkRefCnt.h"
#include "SkPath.h"
#include "SkRegion.h"
#include "SkSurfaceProps.h"
#include "SkXfermode.h"
class GrContext;
class GrRenderTarget;
class SkBaseDevice;
class SkCanvasClipVisitor;
class SkClipStack;
class SkDraw;
class SkDrawable;
class SkDrawFilter;
class SkImage;
class SkImageFilter;
class SkMetaData;
class SkPath;
class SkPicture;
class SkPixmap;
class SkRRect;
struct SkRSXform;
class SkSurface;
class SkSurface_Base;
class SkTextBlob;
class GrContext;
class GrRenderTarget;
class SkCanvasState;
/** \class SkCanvas

View File

@ -1,4 +1,3 @@
/*
* Copyright 2006 The Android Open Source Project
*
@ -6,11 +5,11 @@
* found in the LICENSE file.
*/
#ifndef SkColor_DEFINED
#define SkColor_DEFINED
#include "SkScalar.h"
#include "SkTypes.h"
/** \file SkColor.h

View File

@ -13,10 +13,10 @@
#include "SkTDArray.h"
#include "SkXfermode.h"
class SkBitmap;
class GrProcessor;
class GrContext;
class GrFragmentProcessor;
class GrProcessorDataManager;
class SkBitmap;
/**
* ColorFilters are optional objects in the drawing pipeline. When present in

View File

@ -9,12 +9,12 @@
#define SkDevice_DEFINED
#include "SkRefCnt.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColor.h"
#include "SkImageFilter.h"
#include "SkSurfaceProps.h"
class SkBitmap;
class SkClipStack;
class SkDraw;
class SkDrawFilter;

View File

@ -5,6 +5,8 @@
* found in the LICENSE file.
*/
// IWYU pragma: private, include "SkTypes.h"
#ifndef SkPostConfig_DEFINED
#define SkPostConfig_DEFINED

View File

@ -5,6 +5,8 @@
* found in the LICENSE file.
*/
// IWYU pragma: private, include "SkTypes.h"
#ifndef SkPreConfig_DEFINED
#define SkPreConfig_DEFINED

View File

@ -145,6 +145,7 @@ inline void operator delete(void* p) {
#define SK_TO_STRING_PUREVIRT()
#define SK_TO_STRING_OVERRIDE()
#else
class SkString;
// the 'toString' helper functions convert Sk* objects to human-readable
// form in developer mode
#define SK_TO_STRING_NONVIRT() void toString(SkString* str) const;

View File

@ -11,7 +11,10 @@
#include "SkCanvas.h"
#include "SkDrawable.h"
#include "SkMatrix.h"
#include "SkPath.h"
#include "SkPicture.h"
#include "SkRect.h"
#include "SkRRect.h"
#include "SkRSXform.h"
#include "SkTextBlob.h"

View File

@ -10,6 +10,7 @@
#define SkNWayCanvas_DEFINED
#include "SkCanvas.h"
#include "SkTDArray.h"
class SK_API SkNWayCanvas : public SkCanvas {
public:

View File

@ -7,9 +7,10 @@
*/
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkAAClip.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkView.h"
static void testop(const SkIRect& r0, const SkIRect& r1, SkRegion::Op op,
const SkIRect& expectedR) {

View File

@ -8,6 +8,7 @@
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkView.h"

View File

@ -1,15 +1,16 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkDevice.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkView.h"
// ensure that we don't accidentally screw up the bounds when the oval is
// fractional, and the impl computes the center and radii, and uses them to

View File

@ -11,6 +11,7 @@
#include "SkColorPriv.h"
#include "SkDevice.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#define W 150

View File

@ -8,6 +8,8 @@
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkInterpolator.h"
#include "SkPath.h"
#include "SkRRect.h"
#include "SkTime.h"
// This slide tests out the match up between BW clipping and rendering. It can

View File

@ -7,6 +7,7 @@
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"
#include "SkTime.h"

View File

@ -1,16 +1,17 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkGradientShader.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkUtils.h"
#include "SkView.h"
static void draw_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
canvas->drawRect(r, p);

View File

@ -1,14 +1,15 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkString.h"

View File

@ -12,6 +12,7 @@
#include "SkAnimTimer.h"
#include "SkCanvas.h"
#include "SkInterpolator.h"
#include "SkPath.h"
#include "SkSurface.h"
#include "SkRandom.h"
#include "SkTime.h"

View File

@ -13,6 +13,7 @@
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkImageDecoder.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkStream.h"
#include "SkTime.h"

View File

@ -1,13 +1,14 @@
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkView.h"
///////////////////////////////////////////////////////////////////////////////

View File

@ -14,6 +14,7 @@
#include "SkColor.h"
#include "SkTDArray.h"
#include "SkRandom.h"
#include "SkRRect.h"
enum RandomAddPath {
kMoveToPath,

View File

@ -6,9 +6,10 @@
*/
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPath.h"
#include "SkView.h"
static void makebm(SkBitmap* bm, int w, int h) {
bm->allocN32Pixels(w, h);

View File

@ -4,8 +4,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPath.h"
// Reproduces https://code.google.com/p/chromium/issues/detail?id=279014

View File

@ -16,7 +16,7 @@
#if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
// forward declare structs needed for getAdvanceData() template for freetype
struct FT_FaceRec;
struct FT_FaceRec_;
typedef struct FT_FaceRec_* FT_Face;
#endif

View File

@ -7,10 +7,10 @@
#include "SkAnnotation.h"
#include "SkData.h"
#include "SkPaint.h"
#include "SkPoint.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkPoint.h"
#include "SkStream.h"
SkAnnotation::SkAnnotation(const char key[], SkData* value) : fKey(key) {
if (NULL == value) {

View File

@ -6,7 +6,9 @@
*/
#include "SkBBHFactory.h"
#include "SkRect.h"
#include "SkRTree.h"
#include "SkScalar.h"
SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const {
SkScalar aspectRatio = bounds.width() / bounds.height();

View File

@ -1,4 +1,3 @@
/*
* Copyright 2008 The Android Open Source Project
*
@ -6,23 +5,22 @@
* found in the LICENSE file.
*/
#include "SkAtomics.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkDither.h"
#include "SkFlattenable.h"
#include "SkImagePriv.h"
#include "SkData.h"
#include "SkFilterQuality.h"
#include "SkMallocPixelRef.h"
#include "SkMask.h"
#include "SkPackBits.h"
#include "SkMath.h"
#include "SkPixelRef.h"
#include "SkReadBuffer.h"
#include "SkRect.h"
#include "SkScalar.h"
#include "SkUnPreMultiply.h"
#include "SkUtils.h"
#include "SkValidationUtils.h"
#include "SkWriteBuffer.h"
#include <new>
#include <string.h>
static bool reset_return_false(SkBitmap* bm) {
bm->reset();
@ -749,9 +747,6 @@ bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
///////////////////////////////////////////////////////////////////////////////
#include "SkCanvas.h"
#include "SkPaint.h"
bool SkBitmap::canCopyTo(SkColorType dstColorType) const {
const SkColorType srcCT = this->colorType();
@ -1221,6 +1216,7 @@ void SkBitmap::validate() const {
#endif
#ifndef SK_IGNORE_TO_STRING
#include "SkString.h"
void SkBitmap::toString(SkString* str) const {
static const char* gColorTypeNames[kLastEnum_SkColorType + 1] = {

View File

@ -8,10 +8,16 @@
#include "SkBitmapDevice.h"
#include "SkConfig8888.h"
#include "SkDraw.h"
#include "SkMatrix.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkPixelRef.h"
#include "SkRasterClip.h"
#include "SkPixmap.h"
#include "SkShader.h"
#include "SkSurface.h"
#include "SkXfermode.h"
class SkColorTable;
#define CHECK_FOR_ANNOTATION(paint) \
do { if (paint.getAnnotation()) { return; } } while (0)

View File

@ -5,17 +5,11 @@
* found in the LICENSE file.
*/
#include "SkErrorInternals.h"
#include "SkConvolver.h"
#include "SkBitmapProcState.h"
#include "SkBitmap.h"
#include "SkColor.h"
#include "SkColorPriv.h"
#include "SkConvolver.h"
#include "SkUnPreMultiply.h"
#include "SkShader.h"
#include "SkBitmapFilter.h"
#include "SkRTConf.h"
#include "SkMath.h"
#include "SkTypes.h"
#include <string.h>
// These are the per-scanline callbacks that are used when we must resort to
// resampling an image as it is blitted. Typically these are used only when

View File

@ -1,4 +1,3 @@
/*
* Copyright 2013 Google Inc.
*
@ -6,11 +5,12 @@
* found in the LICENSE file.
*/
#ifndef SkBitmapFilter_DEFINED
#define SkBitmapFilter_DEFINED
#include "SkFixed.h"
#include "SkMath.h"
#include "SkScalar.h"
// size of the precomputed bitmap filter tables for high quality filtering.
// Used to precompute the shape of the filter kernel.

View File

@ -7,10 +7,7 @@
*/
#include "SkBitmapHeap.h"
#include "SkBitmap.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkTSearch.h"
SkBitmapHeapEntry::SkBitmapHeapEntry()

View File

@ -1,18 +1,19 @@
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkBitmapHeap_DEFINED
#define SkBitmapHeap_DEFINED
#include "SkAtomics.h"
#include "SkBitmap.h"
#include "SkFlattenable.h"
#include "SkPoint.h"
#include "SkRefCnt.h"
#include "SkTDArray.h"
#include "SkAtomics.h"
#include "SkTypes.h"
/**
* SkBitmapHeapEntry provides users of SkBitmapHeap (using internal storage) with a means to...

View File

@ -7,10 +7,12 @@
#include "SkBitmapScaler.h"
#include "SkBitmapFilter.h"
#include "SkRect.h"
#include "SkTArray.h"
#include "SkErrorInternals.h"
#include "SkConvolver.h"
#include "SkImageInfo.h"
#include "SkPixmap.h"
#include "SkRect.h"
#include "SkScalar.h"
#include "SkTArray.h"
// SkResizeFilter ----------------------------------------------------------------

View File

@ -9,7 +9,6 @@
#include "SkAntiRun.h"
#include "SkColor.h"
#include "SkColorFilter.h"
#include "SkCoreBlitters.h"
#include "SkFilterShader.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"

View File

@ -9,14 +9,16 @@
#define SkBlitter_DEFINED
#include "SkBitmapProcShader.h"
#include "SkMask.h"
#include "SkMatrix.h"
#include "SkPaint.h"
#include "SkPixmap.h"
#include "SkRefCnt.h"
#include "SkColor.h"
#include "SkRect.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkSmallAllocator.h"
#include "SkTypes.h"
class SkMatrix;
class SkPaint;
class SkPixmap;
struct SkMask;
/** SkBlitter and its subclasses are responsible for actually writing pixels
into memory. Besides efficiency, they handle clipping and antialiasing.

View File

@ -1,4 +1,3 @@
/*
* Copyright 2006 The Android Open Source Project
*
@ -6,9 +5,10 @@
* found in the LICENSE file.
*/
#include "SkBuffer.h"
#include <string.h>
////////////////////////////////////////////////////////////////////////////////////////
void SkRBuffer::readNoSizeCheck(void* buffer, size_t size)

View File

@ -11,6 +11,7 @@
#define SkBuffer_DEFINED
#include "SkScalar.h"
#include "SkTypes.h"
/** \class SkRBuffer

View File

@ -6,7 +6,6 @@
*/
#include "SkCachedData.h"
#include "SkRefCnt.h"
#include "SkDiscardableMemory.h"
//#define TRACK_CACHEDDATA_LIFETIME

View File

@ -9,6 +9,7 @@
#define SkCachedData_DEFINED
#include "SkMutex.h"
#include "SkTypes.h"
class SkDiscardableMemory;

View File

@ -5,10 +5,12 @@
* found in the LICENSE file.
*/
#include "SkBitmapDevice.h"
#include "SkCanvas.h"
#include "SkCanvasPriv.h"
#include "SkBitmapDevice.h"
#include "SkClipStack.h"
#include "SkColorFilter.h"
#include "SkDevice.h"
#include "SkDraw.h"
#include "SkDrawable.h"
#include "SkDrawFilter.h"
@ -18,7 +20,6 @@
#include "SkMetaData.h"
#include "SkNinePatchIter.h"
#include "SkPaintPriv.h"
#include "SkPathOps.h"
#include "SkPatchUtils.h"
#include "SkPicture.h"
#include "SkRasterClip.h"
@ -26,12 +27,12 @@
#include "SkRRect.h"
#include "SkSmallAllocator.h"
#include "SkSurface_Base.h"
#include "SkTemplates.h"
#include "SkTextBlob.h"
#include "SkTextFormatParams.h"
#include "SkTLazy.h"
#include "SkTraceEvent.h"
#include "SkUtils.h"
#include <new>
#if SK_SUPPORT_GPU
#include "GrRenderTarget.h"

View File

@ -1,4 +1,3 @@
/*
* Copyright 2006 The Android Open Source Project
*
@ -6,9 +5,9 @@
* found in the LICENSE file.
*/
#include "SkColor.h"
#include "SkColorPriv.h"
#include "SkFixed.h"
SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) {
return SkPremultiplyARGBInline(a, r, g, b);

View File

@ -7,9 +7,14 @@
#include "SkColorFilter.h"
#include "SkReadBuffer.h"
#include "SkRefCnt.h"
#include "SkString.h"
#include "SkTDArray.h"
#include "SkUnPreMultiply.h"
#include "SkWriteBuffer.h"
class GrFragmentProcessor;
bool SkColorFilter::asColorMode(SkColor* color, SkXfermode::Mode* mode) const {
return false;
}

View File

@ -11,6 +11,7 @@
#include "SkBlitter.h"
#include "SkDraw.h"
#include "SkCachedData.h"
#include "SkPath.h"
#include "SkRasterClip.h"
#include "SkRRect.h"
#include "SkTypes.h"

View File

@ -6,6 +6,7 @@
*/
#include "SkCanvas.h"
#include "SkTLazy.h"
#include "SkLazyPtr.h"
#include "SkMiniRecorder.h"
#include "SkPicture.h"

View File

@ -11,6 +11,7 @@
#include "SkMatrix.h"
#include "SkPaint.h"
#include "SkPicture.h"
#include "SkTLazy.h"
class SkPictureImageGenerator : SkImageGenerator {
public:

View File

@ -1,4 +1,3 @@
/*
* Copyright 2011 Google Inc.
*
@ -6,13 +5,13 @@
* found in the LICENSE file.
*/
#ifndef SkPDFDevice_DEFINED
#define SkPDFDevice_DEFINED
#include "SkDevice.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkClipStack.h"
#include "SkDevice.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkPicture.h"

View File

@ -19,6 +19,7 @@
#include "SkMatrix22.h"
#include "SkMutex.h"
#include "SkOTUtils.h"
#include "SkPath.h"
#include "SkScalerContext.h"
#include "SkStream.h"
#include "SkString.h"

View File

@ -10,6 +10,7 @@
#include "SkBase64.h"
#include "SkBitmap.h"
#include "SkChecksum.h"
#include "SkClipStack.h"
#include "SkData.h"
#include "SkDraw.h"
#include "SkImageEncoder.h"

View File

@ -9,6 +9,7 @@
#include "SkDeferredCanvas.h"
#include "SkChunkAlloc.h"
#include "SkClipStack.h"
#include "SkColorFilter.h"
#include "SkDevice.h"
#include "SkDrawFilter.h"

View File

@ -8,8 +8,10 @@
#include "SkAndroidSDKCanvas.h"
#include "SkColorFilter.h"
#include "SkPaint.h"
#include "SkPathEffect.h"
#include "SkShader.h"
#include "SkTLazy.h"
namespace {

Some files were not shown because too many files have changed in this diff Show More