()
| 2149 | |
| 2150 | |
| 2151 | protected boolean hasFBOs() { |
| 2152 | // FBOs might still be available through extensions. |
| 2153 | int major = getGLVersion()[0]; |
| 2154 | if (major < 2) { |
| 2155 | String ext = getString(EXTENSIONS); |
| 2156 | return ext.indexOf("_framebuffer_object") != -1 && |
| 2157 | ext.indexOf("_vertex_shader") != -1 && |
| 2158 | ext.indexOf("_shader_objects") != -1 && |
| 2159 | ext.indexOf("_shading_language") != -1; |
| 2160 | } else { |
| 2161 | return true; |
| 2162 | } |
| 2163 | } |
| 2164 | |
| 2165 | |
| 2166 | protected boolean hasShaders() { |
nothing calls this directly
no test coverage detected