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

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

Issue 1409193007: gpu: Add CHROMIUM_schedule_ca_layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 5 years, 1 month 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 2196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2207 GLfloat uv_y, 2207 GLfloat uv_y,
2208 GLfloat uv_width, 2208 GLfloat uv_width,
2209 GLfloat uv_height) { 2209 GLfloat uv_height) {
2210 TRACE_EVENT_BINARY_EFFICIENT0("gpu", 2210 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2211 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM"); 2211 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM");
2212 gl_->ScheduleOverlayPlaneCHROMIUM( 2212 gl_->ScheduleOverlayPlaneCHROMIUM(
2213 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 2213 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
2214 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 2214 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
2215 } 2215 }
2216 2216
2217 void GLES2TraceImplementation::ScheduleCALayerCHROMIUM(
2218 GLuint contents_texture_id,
2219 const GLfloat* contents_rect,
2220 GLfloat opacity,
2221 const GLuint background_color,
2222 const GLfloat* bounds_size,
2223 const GLfloat* transform) {
2224 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleCALayerCHROMIUM");
2225 gl_->ScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity,
2226 background_color, bounds_size, transform);
2227 }
2228
2217 void GLES2TraceImplementation::SwapInterval(GLint interval) { 2229 void GLES2TraceImplementation::SwapInterval(GLint interval) {
2218 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval"); 2230 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval");
2219 gl_->SwapInterval(interval); 2231 gl_->SwapInterval(interval);
2220 } 2232 }
2221 2233
2222 void GLES2TraceImplementation::FlushDriverCachesCHROMIUM() { 2234 void GLES2TraceImplementation::FlushDriverCachesCHROMIUM() {
2223 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FlushDriverCachesCHROMIUM"); 2235 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FlushDriverCachesCHROMIUM");
2224 gl_->FlushDriverCachesCHROMIUM(); 2236 gl_->FlushDriverCachesCHROMIUM();
2225 } 2237 }
2226 2238
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
2456 gl_->BlendBarrierKHR(); 2468 gl_->BlendBarrierKHR();
2457 } 2469 }
2458 2470
2459 void GLES2TraceImplementation::ApplyScreenSpaceAntialiasingCHROMIUM() { 2471 void GLES2TraceImplementation::ApplyScreenSpaceAntialiasingCHROMIUM() {
2460 TRACE_EVENT_BINARY_EFFICIENT0( 2472 TRACE_EVENT_BINARY_EFFICIENT0(
2461 "gpu", "GLES2Trace::ApplyScreenSpaceAntialiasingCHROMIUM"); 2473 "gpu", "GLES2Trace::ApplyScreenSpaceAntialiasingCHROMIUM");
2462 gl_->ApplyScreenSpaceAntialiasingCHROMIUM(); 2474 gl_->ApplyScreenSpaceAntialiasingCHROMIUM();
2463 } 2475 }
2464 2476
2465 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2477 #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