Lines Matching defs:Extensions
17 #include "Extensions.h"
38 Extensions::Extensions() {
39 auto extensions = StringUtils::split((const char*) glGetString(GL_EXTENSIONS));
40 mHasNPot = extensions.has("GL_OES_texture_npot");
41 mHasFramebufferFetch = extensions.has("GL_NV_shader_framebuffer_fetch");
42 mHasDiscardFramebuffer = extensions.has("GL_EXT_discard_framebuffer");
43 mHasDebugMarker = extensions.has("GL_EXT_debug_marker");
44 mHas1BitStencil = extensions.has("GL_OES_stencil1");
45 mHas4BitStencil = extensions.has("GL_OES_stencil4");
46 mHasUnpackSubImage = extensions.has("GL_EXT_unpack_subimage");