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

Side by Side Diff: include/core/SkComposeShader.h

Issue 197763008: Allow toString capability to be toggled independent of developer mode (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: remove gyp changes Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/core/SkColorShader.h ('k') | include/core/SkDrawLooper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkComposeShader_DEFINED 10 #ifndef SkComposeShader_DEFINED
(...skipping 21 matching lines...) Expand all
32 is null, then SRC_OVER is assumed. 32 is null, then SRC_OVER is assumed.
33 */ 33 */
34 SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode = NULL); 34 SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode = NULL);
35 virtual ~SkComposeShader(); 35 virtual ~SkComposeShader();
36 36
37 virtual bool setContext(const SkBitmap&, const SkPaint&, 37 virtual bool setContext(const SkBitmap&, const SkPaint&,
38 const SkMatrix&) SK_OVERRIDE; 38 const SkMatrix&) SK_OVERRIDE;
39 virtual void endContext() SK_OVERRIDE; 39 virtual void endContext() SK_OVERRIDE;
40 virtual void shadeSpan(int x, int y, SkPMColor[], int count) SK_OVERRIDE; 40 virtual void shadeSpan(int x, int y, SkPMColor[], int count) SK_OVERRIDE;
41 41
42 SK_DEVELOPER_TO_STRING() 42 SK_TO_STRING_OVERRIDE()
43 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposeShader) 43 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposeShader)
44 44
45 protected: 45 protected:
46 SkComposeShader(SkReadBuffer& ); 46 SkComposeShader(SkReadBuffer& );
47 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 47 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
48 48
49 private: 49 private:
50 50
51 SkShader* fShaderA; 51 SkShader* fShaderA;
52 SkShader* fShaderB; 52 SkShader* fShaderB;
53 SkXfermode* fMode; 53 SkXfermode* fMode;
54 54
55 typedef SkShader INHERITED; 55 typedef SkShader INHERITED;
56 }; 56 };
57 57
58 #endif 58 #endif
OLDNEW
« no previous file with comments | « include/core/SkColorShader.h ('k') | include/core/SkDrawLooper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698