Commit ed2e6aa5 by Jiajia Qin Committed by Commit Bot

GLES31: Use more compact entry point style.

This migrates to the new generation style used in GLES2 and GLES3. BUG=angleproject:2254 Change-Id: I10afa1f006ff68e8bafda2bd45dd9a048f8f7dff Reviewed-on: https://chromium-review.googlesource.com/787172 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent c7c0d1c1
...@@ -249,10 +249,7 @@ for major_version, minor_version in [[2, 0], [3, 0], [3, 1]]: ...@@ -249,10 +249,7 @@ for major_version, minor_version in [[2, 0], [3, 0], [3, 1]]:
proto = "".join(command.find("./proto").itertext()) proto = "".join(command.find("./proto").itertext())
cmd_names += [cmd_name] cmd_names += [cmd_name]
entry_point_decls += [format_entry_point_decl(cmd_name, proto, params)] entry_point_decls += [format_entry_point_decl(cmd_name, proto, params)]
if major_version == 3 and minor_version == 1: entry_point_defs += [format_entry_point_def(cmd_name, proto, params)]
entry_point_defs += [format_entry_point_def_oldstyle(cmd_name, proto, params)]
else:
entry_point_defs += [format_entry_point_def(cmd_name, proto, params)]
for type in ["header", "source"]: for type in ["header", "source"]:
if type == "header": if type == "header":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment