Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 2268993003: [Command Buffer] Coding style: FrameBuffer -> Framebuffer to be comformant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | media/gpu/rendering_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
index a1d709b89989e19432f38c95ff0fc88e432234f5..6dc24714031013b68f8268fb6a30e589e63bb959 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -238,14 +238,14 @@ bool Validators::FaceTypeValidator::IsValid(const GLenum value) const {
return false;
};
-static const GLenum valid_frame_buffer_parameter_table[] = {
+static const GLenum valid_framebuffer_parameter_table[] = {
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,
};
-static const GLenum valid_frame_buffer_parameter_table_es3[] = {
+static const GLenum valid_framebuffer_parameter_table_es3[] = {
GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE,
GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE,
GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE,
@@ -257,11 +257,11 @@ static const GLenum valid_frame_buffer_parameter_table_es3[] = {
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER,
};
-static const GLenum valid_frame_buffer_target_table[] = {
+static const GLenum valid_framebuffer_target_table[] = {
GL_FRAMEBUFFER,
};
-static const GLenum valid_frame_buffer_target_table_es3[] = {
+static const GLenum valid_framebuffer_target_table_es3[] = {
GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER,
};
@@ -1389,10 +1389,10 @@ Validators::Validators()
dst_blend_factor(valid_dst_blend_factor_table,
arraysize(valid_dst_blend_factor_table)),
equation(valid_equation_table, arraysize(valid_equation_table)),
- frame_buffer_parameter(valid_frame_buffer_parameter_table,
- arraysize(valid_frame_buffer_parameter_table)),
- frame_buffer_target(valid_frame_buffer_target_table,
- arraysize(valid_frame_buffer_target_table)),
+ framebuffer_parameter(valid_framebuffer_parameter_table,
+ arraysize(valid_framebuffer_parameter_table)),
+ framebuffer_target(valid_framebuffer_target_table,
+ arraysize(valid_framebuffer_target_table)),
g_l_state(valid_g_l_state_table, arraysize(valid_g_l_state_table)),
get_tex_param_target(valid_get_tex_param_target_table,
arraysize(valid_get_tex_param_target_table)),
@@ -1474,11 +1474,11 @@ void Validators::UpdateValuesES3() {
arraysize(valid_dst_blend_factor_table_es3));
equation.AddValues(valid_equation_table_es3,
arraysize(valid_equation_table_es3));
- frame_buffer_parameter.AddValues(
- valid_frame_buffer_parameter_table_es3,
- arraysize(valid_frame_buffer_parameter_table_es3));
- frame_buffer_target.AddValues(valid_frame_buffer_target_table_es3,
- arraysize(valid_frame_buffer_target_table_es3));
+ framebuffer_parameter.AddValues(
+ valid_framebuffer_parameter_table_es3,
+ arraysize(valid_framebuffer_parameter_table_es3));
+ framebuffer_target.AddValues(valid_framebuffer_target_table_es3,
+ arraysize(valid_framebuffer_target_table_es3));
g_l_state.AddValues(valid_g_l_state_table_es3,
arraysize(valid_g_l_state_table_es3));
get_tex_param_target.AddValues(
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | media/gpu/rendering_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698