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

Side by Side Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 2175043002: Add command buffer function glScheduleCALayerFilterEffectsCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix autogenerated tests. Created 4 years, 5 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 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2147 GLboolean is_clipped, 2147 GLboolean is_clipped,
2148 const GLfloat* clip_rect, 2148 const GLfloat* clip_rect,
2149 GLint sorting_context_id, 2149 GLint sorting_context_id,
2150 const GLfloat* transform) { 2150 const GLfloat* transform) {
2151 TRACE_EVENT_BINARY_EFFICIENT0( 2151 TRACE_EVENT_BINARY_EFFICIENT0(
2152 "gpu", "GLES2Trace::ScheduleCALayerSharedStateCHROMIUM"); 2152 "gpu", "GLES2Trace::ScheduleCALayerSharedStateCHROMIUM");
2153 gl_->ScheduleCALayerSharedStateCHROMIUM(opacity, is_clipped, clip_rect, 2153 gl_->ScheduleCALayerSharedStateCHROMIUM(opacity, is_clipped, clip_rect,
2154 sorting_context_id, transform); 2154 sorting_context_id, transform);
2155 } 2155 }
2156 2156
2157 void GLES2TraceImplementation::ScheduleCALayerFilterEffectsCHROMIUM(
2158 GLsizei count,
2159 const GLCALayerFilterEffect* effects) {
2160 TRACE_EVENT_BINARY_EFFICIENT0(
2161 "gpu", "GLES2Trace::ScheduleCALayerFilterEffectsCHROMIUM");
2162 gl_->ScheduleCALayerFilterEffectsCHROMIUM(count, effects);
2163 }
2164
2157 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM( 2165 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM(
2158 GLuint contents_texture_id, 2166 GLuint contents_texture_id,
2159 const GLfloat* contents_rect, 2167 const GLfloat* contents_rect,
2160 GLuint background_color, 2168 GLuint background_color,
2161 GLuint edge_aa_mask, 2169 GLuint edge_aa_mask,
2162 const GLfloat* bounds_rect, 2170 const GLfloat* bounds_rect,
2163 GLuint filter) { 2171 GLuint filter) {
2164 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM"); 2172 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM");
2165 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, 2173 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect,
2166 background_color, edge_aa_mask, bounds_rect, 2174 background_color, edge_aa_mask, bounds_rect,
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2467 GLint location, 2475 GLint location,
2468 GLboolean transpose, 2476 GLboolean transpose,
2469 const GLfloat* default_value) { 2477 const GLfloat* default_value) {
2470 TRACE_EVENT_BINARY_EFFICIENT0( 2478 TRACE_EVENT_BINARY_EFFICIENT0(
2471 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM"); 2479 "gpu", "GLES2Trace::UniformMatrix4fvStreamTextureMatrixCHROMIUM");
2472 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, 2480 gl_->UniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose,
2473 default_value); 2481 default_value);
2474 } 2482 }
2475 2483
2476 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2484 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698