OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "GrGLGLSL.h" | 8 #include "GrGLGLSL.h" |
9 #include "GrGLContext.h" | 9 #include "GrGLContext.h" |
10 #include "GrGLUtil.h" | 10 #include "GrGLUtil.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 *generation = k330_GrGLSLGeneration; | 43 *generation = k330_GrGLSLGeneration; |
44 } else { | 44 } else { |
45 *generation = k110_GrGLSLGeneration; | 45 *generation = k110_GrGLSLGeneration; |
46 } | 46 } |
47 return true; | 47 return true; |
48 default: | 48 default: |
49 SkFAIL("Unknown GL Standard"); | 49 SkFAIL("Unknown GL Standard"); |
50 return false; | 50 return false; |
51 } | 51 } |
52 } | 52 } |
53 | |
OLD | NEW |