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

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1317123004: Expose EXT_discard_framebuffer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """code generator for GLES2 command buffers.""" 6 """code generator for GLES2 command buffers."""
7 7
8 import itertools 8 import itertools
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 21 matching lines...) Expand all
32 32
33 """ 33 """
34 34
35 _MOJO_EXPOSED_EXTENSIONS = ["CHROMIUM_bind_uniform_location", 35 _MOJO_EXPOSED_EXTENSIONS = ["CHROMIUM_bind_uniform_location",
36 "CHROMIUM_map_sub", 36 "CHROMIUM_map_sub",
37 "CHROMIUM_miscellaneous", 37 "CHROMIUM_miscellaneous",
38 "CHROMIUM_resize", 38 "CHROMIUM_resize",
39 "CHROMIUM_sync_point", 39 "CHROMIUM_sync_point",
40 "CHROMIUM_texture_mailbox", 40 "CHROMIUM_texture_mailbox",
41 "EXT_debug_marker", 41 "EXT_debug_marker",
42 "EXT_discard_framebuffer",
42 "EXT_texture_storage", 43 "EXT_texture_storage",
43 "KHR_blend_equation_advanced", 44 "KHR_blend_equation_advanced",
44 "OES_vertex_array_object", 45 "OES_vertex_array_object",
45 "occlusion_query_EXT"] 46 "occlusion_query_EXT"]
46 47
47 48
48 # This string is copied directly out of the gl2.h file from GLES2.0 49 # This string is copied directly out of the gl2.h file from GLES2.0
49 # 50 #
50 # Edits: 51 # Edits:
51 # 52 #
(...skipping 10689 matching lines...) Expand 10 before | Expand all | Expand 10 after
10741 Format(gen.generated_cpp_filenames) 10742 Format(gen.generated_cpp_filenames)
10742 10743
10743 if gen.errors > 0: 10744 if gen.errors > 0:
10744 print "%d errors" % gen.errors 10745 print "%d errors" % gen.errors
10745 return 1 10746 return 1
10746 return 0 10747 return 0
10747 10748
10748 10749
10749 if __name__ == '__main__': 10750 if __name__ == '__main__':
10750 sys.exit(main(sys.argv[1:])) 10751 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698