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

Side by Side Diff: src/gpu/gl/GrGLVertexEffect.h

Issue 257393004: Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change Created 6 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLVertexEffect_DEFINED 8 #ifndef GrGLVertexEffect_DEFINED
9 #define GrGLVertexEffect_DEFINED 9 #define GrGLVertexEffect_DEFINED
10 10
(...skipping 24 matching lines...) Expand all
35 /** 35 /**
36 * Provide a default override for base class's emitCode() function. 36 * Provide a default override for base class's emitCode() function.
37 */ 37 */
38 virtual void emitCode(GrGLShaderBuilder* builder, 38 virtual void emitCode(GrGLShaderBuilder* builder,
39 const GrDrawEffect& drawEffect, 39 const GrDrawEffect& drawEffect,
40 EffectKey key, 40 EffectKey key,
41 const char* outputColor, 41 const char* outputColor,
42 const char* inputColor, 42 const char* inputColor,
43 const TransformedCoordsArray& coords, 43 const TransformedCoordsArray& coords,
44 const TextureSamplerArray& samplers) SK_OVERRIDE { 44 const TextureSamplerArray& samplers) SK_OVERRIDE {
45 GrCrash("GrGLVertexEffect requires GrGLFullShaderBuilder* overload for e mitCode()."); 45 SkFAIL("GrGLVertexEffect requires GrGLFullShaderBuilder* overload for em itCode().");
46 } 46 }
47 47
48 private: 48 private:
49 typedef GrGLEffect INHERITED; 49 typedef GrGLEffect INHERITED;
50 }; 50 };
51 51
52 #endif 52 #endif
OLDNEW
« include/core/SkTypes.h ('K') | « src/gpu/gl/GrGLShaderVar.h ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698