#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkString.h"
enum ColorPattern {
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkString.h"
struct BezierRec {
#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
#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString.h"
+
/*
* 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"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString.h"
#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
#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.
#include "gm.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
-#include "SkPath.h"
#include "SkShader.h"
static void test4(SkCanvas* canvas) {
*/
#include "gm.h"
#include "SkArithmeticMode.h"
-#include "SkPath.h"
#include "SkShader.h"
#include "SkXfermode.h"
*/
#include "gm.h"
-#include "SkPath.h"
#include "SkRandom.h"
#define W 400
+
/*
* Copyright 2013 Google Inc.
*
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
-#include "SkPath.h"
namespace skiagm {
+
/*
* 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 {
#include "gm.h"
#include "SkCanvas.h"
-#include "SkPath.h"
static void make_bm(SkBitmap* bm) {
bm->allocN32Pixels(60, 60);
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
-#include "SkPath.h"
class BlursGM : public skiagm::GM {
public:
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkRandom.h"
-#include "SkRect.h"
-#include "SkRRect.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#define WIDTH 400
#define HEIGHT 600
#include "gm.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkTArray.h"
class ConicPathsGM : public skiagm::GM {
* found in the LICENSE file.
*/
#include "gm.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkTArray.h"
#include "SkBitmap.h"
#include "SkGradientShader.h"
-#include "SkPath.h"
#include "SkTLList.h"
static SkBitmap make_bmp(int w, int h) {
* 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
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
#include "SkDrawable.h"
-#include "SkPath.h"
struct MyDrawable : public SkDrawable {
SkRect onGetBounds() override { return SkRect::MakeWH(50, 100); }
*/
#include "gm.h"
#include "SkBitmap.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkXfermode.h"
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {
+
/*
* 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 {
+
/*
* 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 {
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkTemplates.h"
#include "gm.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
#include "SkCullPoints.h"
-#include "SkPath.h"
#include "SkRandom.h"
static void test_hittest(SkCanvas* canvas, const SkPath& path) {
* 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"
*/
#include "gm.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"
+
/*
* 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*);
*/
#include "gm.h"
-#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkGraphics.h"
-#include "SkLayerDrawLooper.h"
-#include "SkPath.h"
#include "SkRandom.h"
+#include "SkLayerDrawLooper.h"
+#include "SkBlurMaskFilter.h"
static SkRect inset(const SkRect& r) {
SkRect rect = r;
*/
#include "gm.h"
-#include "SkPath.h"
DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) {
SkPaint p;
#include "gm.h"
#include "Resources.h"
-#include "SkPath.h"
#include "SkTypeface.h"
class SkJSCanvas {
* 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 {
*/
#include "gm.h"
-#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkShader.h"
+#include "SkBlurMaskFilter.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
-#include "SkPath.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
-#include "SkPath.h"
namespace skiagm {
+
/*
* 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 "SkBlurDrawLooper.h"
#include "SkBlurMask.h"
-#include "SkPath.h"
+#include "SkBlurDrawLooper.h"
namespace skiagm {
* found in the LICENSE file.
*/
+
#include "gm.h"
-#include "SkAAClip.h"
#include "SkCanvas.h"
-#include "SkPath.h"
+#include "SkAAClip.h"
namespace skiagm {
*/
#include "gm.h"
-#include "SkBlurMaskFilter.h"
#include "SkColorFilter.h"
-#include "SkPath.h"
+#include "SkBlurMaskFilter.h"
namespace skiagm {
*/
#include "gm.h"
-#include "SkPath.h"
namespace skiagm {
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
-#include "SkPath.h"
#include "SkSurface.h"
#if SK_SUPPORT_GPU
#include "gm.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {
+
/*
* Copyright 2011 Google Inc.
*
* found in the LICENSE file.
*/
+
+
#include "gm.h"
-#include "SkPath.h"
#include "SkRandom.h"
#define W 400
#include "SkRefCnt.h"
#include "SkString.h"
-#include "SkTypes.h"
class SkData;
class SkReadBuffer;
class SkWriteBuffer;
+class SkStream;
+class SkWStream;
struct SkPoint;
/**
#ifndef SkBBHFactory_DEFINED
#define SkBBHFactory_DEFINED
-#include "SkTypes.h"
+#include "SkRect.h"
+
class SkBBoxHierarchy;
-struct SkRect;
class SK_API SkBBHFactory {
public:
#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 {
#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
+
/*
* Copyright 2006 The Android Open Source Project
*
* found in the LICENSE file.
*/
+
#ifndef SkColor_DEFINED
#define SkColor_DEFINED
#include "SkScalar.h"
-#include "SkTypes.h"
/** \file SkColor.h
#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
#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;
* found in the LICENSE file.
*/
-// IWYU pragma: private, include "SkTypes.h"
-
#ifndef SkPostConfig_DEFINED
#define SkPostConfig_DEFINED
* found in the LICENSE file.
*/
-// IWYU pragma: private, include "SkTypes.h"
-
#ifndef SkPreConfig_DEFINED
#define SkPreConfig_DEFINED
#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;
#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"
#define SkNWayCanvas_DEFINED
#include "SkCanvas.h"
-#include "SkTDArray.h"
class SK_API SkNWayCanvas : public SkCanvas {
public:
*/
#include "SampleCode.h"
-#include "SkAAClip.h"
-#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkView.h"
+#include "SkCanvas.h"
+#include "SkAAClip.h"
static void testop(const SkIRect& r0, const SkIRect& r1, SkRegion::Op op,
const SkIRect& expectedR) {
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkView.h"
+
/*
* 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
#include "SkColorPriv.h"
#include "SkDevice.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#define W 150
#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
#include "SampleCode.h"
#include "SkCanvas.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"
#include "SkTime.h"
+
/*
* 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 "SkPath.h"
-#include "SkUtils.h"
#include "SkView.h"
+#include "SkCanvas.h"
+#include "SkUtils.h"
static void draw_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
canvas->drawRect(r, p);
+
/*
* 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"
#include "SkAnimTimer.h"
#include "SkCanvas.h"
#include "SkInterpolator.h"
-#include "SkPath.h"
#include "SkSurface.h"
#include "SkRandom.h"
#include "SkTime.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkImageDecoder.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkStream.h"
#include "SkTime.h"
+
/*
* 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"
///////////////////////////////////////////////////////////////////////////////
#include "SkColor.h"
#include "SkTDArray.h"
#include "SkRandom.h"
-#include "SkRRect.h"
enum RandomAddPath {
kMoveToPath,
*/
#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);
* 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
#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
#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) {
*/
#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();
+
/*
* Copyright 2008 The Android Open Source Project
*
* found in the LICENSE file.
*/
+
#include "SkAtomics.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
-#include "SkData.h"
-#include "SkFilterQuality.h"
+#include "SkDither.h"
+#include "SkFlattenable.h"
+#include "SkImagePriv.h"
#include "SkMallocPixelRef.h"
#include "SkMask.h"
-#include "SkMath.h"
+#include "SkPackBits.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 <string.h>
+#include <new>
static bool reset_return_false(SkBitmap* bm) {
bm->reset();
///////////////////////////////////////////////////////////////////////////////
+#include "SkCanvas.h"
+#include "SkPaint.h"
+
bool SkBitmap::canCopyTo(SkColorType dstColorType) const {
const SkColorType srcCT = this->colorType();
#endif
#ifndef SK_IGNORE_TO_STRING
-#include "SkString.h"
void SkBitmap::toString(SkString* str) const {
static const char* gColorTypeNames[kLastEnum_SkColorType + 1] = {
#include "SkBitmapDevice.h"
#include "SkConfig8888.h"
#include "SkDraw.h"
-#include "SkMatrix.h"
-#include "SkPaint.h"
-#include "SkPath.h"
#include "SkPixelRef.h"
-#include "SkPixmap.h"
+#include "SkRasterClip.h"
#include "SkShader.h"
#include "SkSurface.h"
-#include "SkXfermode.h"
-
-class SkColorTable;
#define CHECK_FOR_ANNOTATION(paint) \
do { if (paint.getAnnotation()) { return; } } while (0)
* found in the LICENSE file.
*/
-#include "SkBitmapFilter.h"
+#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 "SkRTConf.h"
-#include "SkTypes.h"
-
-#include <string.h>
+#include "SkMath.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
+
/*
* Copyright 2013 Google Inc.
*
* 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.
*/
#include "SkBitmapHeap.h"
+
#include "SkBitmap.h"
+#include "SkReadBuffer.h"
+#include "SkWriteBuffer.h"
#include "SkTSearch.h"
SkBitmapHeapEntry::SkBitmapHeapEntry()
+
/*
* 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 "SkPoint.h"
+#include "SkFlattenable.h"
#include "SkRefCnt.h"
#include "SkTDArray.h"
-#include "SkTypes.h"
+#include "SkAtomics.h"
/**
* SkBitmapHeapEntry provides users of SkBitmapHeap (using internal storage) with a means to...
#include "SkBitmapScaler.h"
#include "SkBitmapFilter.h"
-#include "SkConvolver.h"
-#include "SkImageInfo.h"
-#include "SkPixmap.h"
#include "SkRect.h"
-#include "SkScalar.h"
#include "SkTArray.h"
+#include "SkErrorInternals.h"
+#include "SkConvolver.h"
// SkResizeFilter ----------------------------------------------------------------
#include "SkAntiRun.h"
#include "SkColor.h"
#include "SkColorFilter.h"
+#include "SkCoreBlitters.h"
#include "SkFilterShader.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#define SkBlitter_DEFINED
#include "SkBitmapProcShader.h"
-#include "SkColor.h"
-#include "SkRect.h"
+#include "SkMask.h"
+#include "SkMatrix.h"
+#include "SkPaint.h"
+#include "SkPixmap.h"
+#include "SkRefCnt.h"
#include "SkRegion.h"
#include "SkShader.h"
-#include "SkTypes.h"
-
-class SkMatrix;
-class SkPaint;
-class SkPixmap;
-struct SkMask;
+#include "SkSmallAllocator.h"
/** SkBlitter and its subclasses are responsible for actually writing pixels
into memory. Besides efficiency, they handle clipping and antialiasing.
+
/*
* Copyright 2006 The Android Open Source Project
*
* found in the LICENSE file.
*/
-#include "SkBuffer.h"
-#include <string.h>
+#include "SkBuffer.h"
////////////////////////////////////////////////////////////////////////////////////////
#define SkBuffer_DEFINED
#include "SkScalar.h"
-#include "SkTypes.h"
/** \class SkRBuffer
*/
#include "SkCachedData.h"
+#include "SkRefCnt.h"
#include "SkDiscardableMemory.h"
//#define TRACK_CACHEDDATA_LIFETIME
#define SkCachedData_DEFINED
#include "SkMutex.h"
-#include "SkTypes.h"
class SkDiscardableMemory;
* found in the LICENSE file.
*/
-#include "SkBitmapDevice.h"
#include "SkCanvas.h"
#include "SkCanvasPriv.h"
-#include "SkClipStack.h"
+#include "SkBitmapDevice.h"
#include "SkColorFilter.h"
-#include "SkDevice.h"
#include "SkDraw.h"
#include "SkDrawable.h"
#include "SkDrawFilter.h"
#include "SkMetaData.h"
#include "SkNinePatchIter.h"
#include "SkPaintPriv.h"
+#include "SkPathOps.h"
#include "SkPatchUtils.h"
#include "SkPicture.h"
#include "SkRasterClip.h"
#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 <new>
+#include "SkUtils.h"
#if SK_SUPPORT_GPU
#include "GrRenderTarget.h"
+
/*
* Copyright 2006 The Android Open Source Project
*
* 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);
#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;
}
#include "SkBlitter.h"
#include "SkDraw.h"
#include "SkCachedData.h"
-#include "SkPath.h"
#include "SkRasterClip.h"
#include "SkRRect.h"
#include "SkTypes.h"
*/
#include "SkCanvas.h"
-#include "SkTLazy.h"
#include "SkLazyPtr.h"
#include "SkMiniRecorder.h"
#include "SkPicture.h"
#include "SkMatrix.h"
#include "SkPaint.h"
#include "SkPicture.h"
-#include "SkTLazy.h"
class SkPictureImageGenerator : SkImageGenerator {
public:
+
/*
* Copyright 2011 Google Inc.
*
* 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"
#include "SkMatrix22.h"
#include "SkMutex.h"
#include "SkOTUtils.h"
-#include "SkPath.h"
#include "SkScalerContext.h"
#include "SkStream.h"
#include "SkString.h"
#include "SkBase64.h"
#include "SkBitmap.h"
#include "SkChecksum.h"
-#include "SkClipStack.h"
#include "SkData.h"
#include "SkDraw.h"
#include "SkImageEncoder.h"
#include "SkDeferredCanvas.h"
#include "SkChunkAlloc.h"
-#include "SkClipStack.h"
#include "SkColorFilter.h"
#include "SkDevice.h"
#include "SkDrawFilter.h"
#include "SkAndroidSDKCanvas.h"
#include "SkColorFilter.h"
-#include "SkPaint.h"
#include "SkPathEffect.h"
#include "SkShader.h"
-#include "SkTLazy.h"
namespace {
+
/*
* Copyright 2012 Google Inc.
*
* found in the LICENSE file.
*/
-#include "SkClipStack.h"
+
#include "SkColorPriv.h"
#include "SkDebugCanvas.h"
#include "SkDrawCommand.h"
#include "SkCanvas.h"
#include "SkDrawCommand.h"
-#include "SkPath.h"
#include "SkPathOps.h"
#include "SkPicture.h"
-#include "SkString.h"
#include "SkTArray.h"
+#include "SkString.h"
class SkNWayCanvas;
#define SKDRAWCOMMAND_H_
#include "SkCanvas.h"
-#include "SkTLazy.h"
-#include "SkPath.h"
-#include "SkRRect.h"
#include "SkString.h"
-#include "SkTDArray.h"
class SK_API SkDrawCommand {
public:
#include "SkObjectParser.h"
#include "SkData.h"
#include "SkFontDescriptor.h"
-#include "SkPath.h"
#include "SkRRect.h"
#include "SkShader.h"
#include "SkStream.h"
#include "SkMask.h"
#include "SkPath.h"
#include "SkRandom.h"
-#include "SkRRect.h"
#include "Test.h"
static bool operator==(const SkMask& a, const SkMask& b) {
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
#include "SkBlurDrawLooper.h"
-#include "SkCanvas.h"
-#include "SkEmbossMaskFilter.h"
#include "SkLayerDrawLooper.h"
+#include "SkEmbossMaskFilter.h"
+#include "SkCanvas.h"
#include "SkMath.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "Test.h"
#if SK_SUPPORT_GPU
}
#ifdef SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
-#include "SkClipStack.h"
DEF_TEST(CanvasState_test_saveLayer_clip, reporter) {
const int WIDTH = 100;
const int HEIGHT = 100;
#include "SkCubicClipper.h"
#include "SkGeometry.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "Test.h"
// Currently the supersampler blitter uses int16_t for its index into an array
#include "SkBitmapProcShader.h"
#include "SkDeferredCanvas.h"
#include "SkGradientShader.h"
-#include "SkPath.h"
#include "SkShader.h"
#include "SkSurface.h"
#include "Test.h"
#include "SkImageGeneratorPriv.h"
#include "SkMatrixUtils.h"
#include "SkPaint.h"
-#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkSurface.h"
#include "SkDevice.h"
#include "SkImageEncoder.h"
#include "SkImage_Base.h"
-#include "SkPath.h"
#include "SkRRect.h"
#include "SkSurface.h"
#include "SkUtils.h"