mesa: Remove OES_read_format extension enable flag
This extension is always enabled, and drivers do not have to option to disable it. I kept this one separate from the others because I was a little uncertain about the changes to get.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
@@ -239,7 +239,7 @@ static const struct extension extension_table[] = {
|
|||||||
{ "GL_OES_point_size_array", o(dummy_true), ES1, 2004 },
|
{ "GL_OES_point_size_array", o(dummy_true), ES1, 2004 },
|
||||||
{ "GL_OES_point_sprite", o(ARB_point_sprite), ES1, 2004 },
|
{ "GL_OES_point_sprite", o(ARB_point_sprite), ES1, 2004 },
|
||||||
{ "GL_OES_query_matrix", o(dummy_true), ES1, 2003 },
|
{ "GL_OES_query_matrix", o(dummy_true), ES1, 2003 },
|
||||||
{ "GL_OES_read_format", o(OES_read_format), GL | ES1, 2003 },
|
{ "GL_OES_read_format", o(dummy_true), GL | ES1, 2003 },
|
||||||
{ "GL_OES_rgb8_rgba8", o(EXT_framebuffer_object), ES1 | ES2, 2005 },
|
{ "GL_OES_rgb8_rgba8", o(EXT_framebuffer_object), ES1 | ES2, 2005 },
|
||||||
{ "GL_OES_single_precision", o(dummy_true), ES1, 2003 },
|
{ "GL_OES_single_precision", o(dummy_true), ES1, 2003 },
|
||||||
{ "GL_OES_standard_derivatives", o(OES_standard_derivatives), ES2, 2005 },
|
{ "GL_OES_standard_derivatives", o(OES_standard_derivatives), ES2, 2005 },
|
||||||
@@ -354,7 +354,6 @@ static const size_t default_extensions[] = {
|
|||||||
o(EXT_separate_specular_color),
|
o(EXT_separate_specular_color),
|
||||||
o(EXT_texture3D),
|
o(EXT_texture3D),
|
||||||
|
|
||||||
o(OES_read_format),
|
|
||||||
o(OES_standard_derivatives),
|
o(OES_standard_derivatives),
|
||||||
|
|
||||||
/* Vendor Extensions */
|
/* Vendor Extensions */
|
||||||
|
@@ -250,12 +250,6 @@ static const int extra_flush_current[] = {
|
|||||||
EXTRA_END
|
EXTRA_END
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int extra_new_buffers_OES_read_format[] = {
|
|
||||||
EXTRA_NEW_BUFFERS,
|
|
||||||
EXT(OES_read_format),
|
|
||||||
EXTRA_END
|
|
||||||
};
|
|
||||||
|
|
||||||
static const int extra_EXT_secondary_color_flush_current[] = {
|
static const int extra_EXT_secondary_color_flush_current[] = {
|
||||||
EXT(EXT_secondary_color),
|
EXT(EXT_secondary_color),
|
||||||
EXTRA_FLUSH_CURRENT,
|
EXTRA_FLUSH_CURRENT,
|
||||||
@@ -486,9 +480,9 @@ static const struct value_desc values[] = {
|
|||||||
|
|
||||||
/* GL_OES_read_format */
|
/* GL_OES_read_format */
|
||||||
{ GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, LOC_CUSTOM, TYPE_INT, 0,
|
{ GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, LOC_CUSTOM, TYPE_INT, 0,
|
||||||
extra_new_buffers_OES_read_format },
|
extra_new_buffers },
|
||||||
{ GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, LOC_CUSTOM, TYPE_INT, 0,
|
{ GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, LOC_CUSTOM, TYPE_INT, 0,
|
||||||
extra_new_buffers_OES_read_format },
|
extra_new_buffers },
|
||||||
|
|
||||||
/* GL_EXT_framebuffer_object */
|
/* GL_EXT_framebuffer_object */
|
||||||
{ GL_FRAMEBUFFER_BINDING_EXT, BUFFER_INT(Name),
|
{ GL_FRAMEBUFFER_BINDING_EXT, BUFFER_INT(Name),
|
||||||
|
@@ -2884,7 +2884,6 @@ struct gl_extensions
|
|||||||
GLboolean NV_texture_rectangle;
|
GLboolean NV_texture_rectangle;
|
||||||
GLboolean NV_vertex_program;
|
GLboolean NV_vertex_program;
|
||||||
GLboolean NV_vertex_program1_1;
|
GLboolean NV_vertex_program1_1;
|
||||||
GLboolean OES_read_format;
|
|
||||||
GLboolean SGIS_texture_lod;
|
GLboolean SGIS_texture_lod;
|
||||||
GLboolean TDFX_texture_compression_FXT1;
|
GLboolean TDFX_texture_compression_FXT1;
|
||||||
GLboolean S3_s3tc;
|
GLboolean S3_s3tc;
|
||||||
|
Reference in New Issue
Block a user