OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #include "GrGLAssembleInterface.h" | 9 #include "GrGLAssembleInterface.h" |
11 #include "GrGLUtil.h" | 10 #include "GrGLUtil.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 | 898 |
900 if (extensions.has("GL_OES_sample_shading")) { | 899 if (extensions.has("GL_OES_sample_shading")) { |
901 GET_PROC_SUFFIX(MinSampleShading, OES); | 900 GET_PROC_SUFFIX(MinSampleShading, OES); |
902 } | 901 } |
903 | 902 |
904 interface->fStandard = kGLES_GrGLStandard; | 903 interface->fStandard = kGLES_GrGLStandard; |
905 interface->fExtensions.swap(&extensions); | 904 interface->fExtensions.swap(&extensions); |
906 | 905 |
907 return interface; | 906 return interface; |
908 } | 907 } |
OLD | NEW |