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

Side by Side Diff: include/core/SkEmptyShader.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/SkDrawLooper.h ('k') | include/core/SkMaskFilter.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 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 10
(...skipping 12 matching lines...) Expand all
23 SkEmptyShader() {} 23 SkEmptyShader() {}
24 24
25 virtual uint32_t getFlags() SK_OVERRIDE; 25 virtual uint32_t getFlags() SK_OVERRIDE;
26 virtual uint8_t getSpan16Alpha() const SK_OVERRIDE; 26 virtual uint8_t getSpan16Alpha() const SK_OVERRIDE;
27 virtual bool setContext(const SkBitmap&, const SkPaint&, 27 virtual bool setContext(const SkBitmap&, const SkPaint&,
28 const SkMatrix&) SK_OVERRIDE; 28 const SkMatrix&) SK_OVERRIDE;
29 virtual void shadeSpan(int x, int y, SkPMColor span[], int count) SK_OVERRID E; 29 virtual void shadeSpan(int x, int y, SkPMColor span[], int count) SK_OVERRID E;
30 virtual void shadeSpan16(int x, int y, uint16_t span[], int count) SK_OVERRI DE; 30 virtual void shadeSpan16(int x, int y, uint16_t span[], int count) SK_OVERRI DE;
31 virtual void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) SK_OVE RRIDE; 31 virtual void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) SK_OVE RRIDE;
32 32
33 SK_DEVELOPER_TO_STRING() 33 SK_TO_STRING_OVERRIDE()
34 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkEmptyShader) 34 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkEmptyShader)
35 35
36 protected: 36 protected:
37 SkEmptyShader(SkReadBuffer& buffer) : INHERITED(buffer) {} 37 SkEmptyShader(SkReadBuffer& buffer) : INHERITED(buffer) {}
38 38
39 private: 39 private:
40 typedef SkShader INHERITED; 40 typedef SkShader INHERITED;
41 }; 41 };
42 42
43 #endif 43 #endif
OLDNEW
« no previous file with comments | « include/core/SkDrawLooper.h ('k') | include/core/SkMaskFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698