<commit_before>/*
 * Copyright 2011-2012 <NAME>. All rights reserved.
 * License: http://www.opensource.org/licenses/BSD-2-Clause
 */

#ifndef __RENDERER_GL_H__
#define __RENDERER_GL_H__

#if BGFX_CONFIG_RENDERER_OPENGL
#	include <GL/gl.h>
#	include <gl/glext.h>
#elif BGFX_CONFIG_RENDERER_OPENGLES
#	include <GLES2/gl2.h>

#	ifndef GL_BGRA_EXT
#		define GL_BGRA_EXT 0x80E1
#	endif // GL_BGRA_EXT

#	ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
#		define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
#	endif // GL_COMPRESSED_RGB_S3TC_DXT1_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT1_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT3_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT5_EXT

#	ifndef GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
#		define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
#	endif // GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
#endif // BGFX_CONFIG_RENDERER_OPENGL<commit_msg>Removed unused GL specs from glext.<commit_after>/*
 * Copyright 2011-2012 <NAME>. All rights reserved.
 * License: http://www.opensource.org/licenses/BSD-2-Clause
 */

#ifndef __RENDERER_GL_H__
#define __RENDERER_GL_H__

#if BGFX_CONFIG_RENDERER_OPENGL
#	include <GL/gl.h>

// remove deprecated from glext.h
#	define GL_VERSION_1_2_DEPRECATED
#	define GL_ARB_imaging_DEPRECATED
#	define GL_VERSION_1_3_DEPRECATED
#	define GL_VERSION_1_4_DEPRECATED
#	define GL_VERSION_1_5_DEPRECATED
#	define GL_VERSION_2_0_DEPRECATED
#	define GL_VERSION_2_1_DEPRECATED
// ignore everything above 2.1
#	define GL_VERSION_3_0
#	define GL_VERSION_3_0_DEPRECATED
#	define GL_VERSION_3_1
#	define GL_VERSION_3_2
#	define GL_VERSION_3_3
#	define GL_VERSION_4_0
#	define GL_VERSION_4_1
#	define GL_VERSION_4_2
#	include <gl/glext.h>
#elif BGFX_CONFIG_RENDERER_OPENGLES
#	include <GLES2/gl2.h>

#	ifndef GL_BGRA_EXT
#		define GL_BGRA_EXT 0x80E1
#	endif // GL_BGRA_EXT

#	ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
#		define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
#	endif // GL_COMPRESSED_RGB_S3TC_DXT1_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT1_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT3_EXT

#	ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
#		define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
#	endif // GL_COMPRESSED_RGBA_S3TC_DXT5_EXT

#	ifndef GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
#		define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
#	endif // GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
#endif // BGFX_CONFIG_RENDERER_OPENGL
{'fraction_non_alphanumeric': 0.06152758132956153, 'fraction_numerical': 0.051626591230551626, 'mean_word_length': 6.793388429752066, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '761394', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1373, 'n_words': 176}