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

Side by Side Diff: gpu/command_buffer/service/context_state_impl_autogen.h

Issue 1188013004: Added support for Time Elapsed queries through the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed ppapi support Created 5 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 16 matching lines...) Expand all
27 cached_sample_alpha_to_coverage(false), 27 cached_sample_alpha_to_coverage(false),
28 sample_coverage(false), 28 sample_coverage(false),
29 cached_sample_coverage(false), 29 cached_sample_coverage(false),
30 scissor_test(false), 30 scissor_test(false),
31 cached_scissor_test(false), 31 cached_scissor_test(false),
32 stencil_test(false), 32 stencil_test(false),
33 cached_stencil_test(false), 33 cached_stencil_test(false),
34 rasterizer_discard(false), 34 rasterizer_discard(false),
35 cached_rasterizer_discard(false), 35 cached_rasterizer_discard(false),
36 primitive_restart_fixed_index(false), 36 primitive_restart_fixed_index(false),
37 cached_primitive_restart_fixed_index(false) { 37 cached_primitive_restart_fixed_index(false) {}
38 }
39 38
40 void ContextState::Initialize() { 39 void ContextState::Initialize() {
41 blend_color_red = 0.0f; 40 blend_color_red = 0.0f;
42 blend_color_green = 0.0f; 41 blend_color_green = 0.0f;
43 blend_color_blue = 0.0f; 42 blend_color_blue = 0.0f;
44 blend_color_alpha = 0.0f; 43 blend_color_alpha = 0.0f;
45 blend_equation_rgb = GL_FUNC_ADD; 44 blend_equation_rgb = GL_FUNC_ADD;
46 blend_equation_alpha = GL_FUNC_ADD; 45 blend_equation_alpha = GL_FUNC_ADD;
47 blend_source_rgb = GL_ONE; 46 blend_source_rgb = GL_ONE;
48 blend_dest_rgb = GL_ZERO; 47 blend_dest_rgb = GL_ZERO;
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 if (params) { 1099 if (params) {
1101 params[0] = 1100 params[0] =
1102 static_cast<GLfloat>(enable_flags.primitive_restart_fixed_index); 1101 static_cast<GLfloat>(enable_flags.primitive_restart_fixed_index);
1103 } 1102 }
1104 return true; 1103 return true;
1105 default: 1104 default:
1106 return false; 1105 return false;
1107 } 1106 }
1108 } 1107 }
1109 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_IMPL_AUTOGEN_H_ 1108 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_IMPL_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698