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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h

Issue 2025673003: command_buffer: expose SRC_ALPHA_SATURATE when on GLES 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper fix Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 3666 matching lines...) Expand 10 before | Expand all | Expand 10 after
3677 {GL_DST_COLOR, "GL_DST_COLOR"}, 3677 {GL_DST_COLOR, "GL_DST_COLOR"},
3678 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"}, 3678 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"},
3679 {GL_SRC_ALPHA, "GL_SRC_ALPHA"}, 3679 {GL_SRC_ALPHA, "GL_SRC_ALPHA"},
3680 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"}, 3680 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"},
3681 {GL_DST_ALPHA, "GL_DST_ALPHA"}, 3681 {GL_DST_ALPHA, "GL_DST_ALPHA"},
3682 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"}, 3682 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"},
3683 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"}, 3683 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"},
3684 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"}, 3684 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"},
3685 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"}, 3685 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"},
3686 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"}, 3686 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"},
3687 {GL_SRC_ALPHA_SATURATE, "GL_SRC_ALPHA_SATURATE"},
3687 }; 3688 };
3688 return GLES2Util::GetQualifiedEnumString(string_table, 3689 return GLES2Util::GetQualifiedEnumString(string_table,
3689 arraysize(string_table), value); 3690 arraysize(string_table), value);
3690 } 3691 }
3691 3692
3692 std::string GLES2Util::GetStringEquation(uint32_t value) { 3693 std::string GLES2Util::GetStringEquation(uint32_t value) {
3693 static const EnumToString string_table[] = { 3694 static const EnumToString string_table[] = {
3694 {GL_FUNC_ADD, "GL_FUNC_ADD"}, 3695 {GL_FUNC_ADD, "GL_FUNC_ADD"},
3695 {GL_FUNC_SUBTRACT, "GL_FUNC_SUBTRACT"}, 3696 {GL_FUNC_SUBTRACT, "GL_FUNC_SUBTRACT"},
3696 {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"}, 3697 {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"},
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
5009 5010
5010 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5011 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5011 static const EnumToString string_table[] = { 5012 static const EnumToString string_table[] = {
5012 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5013 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5013 }; 5014 };
5014 return GLES2Util::GetQualifiedEnumString(string_table, 5015 return GLES2Util::GetQualifiedEnumString(string_table,
5015 arraysize(string_table), value); 5016 arraysize(string_table), value);
5016 } 5017 }
5017 5018
5018 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5019 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698