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

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_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 2815 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 GLfloat uv_height) { 2826 GLfloat uv_height) {
2827 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = 2827 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c =
2828 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); 2828 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>();
2829 if (c) { 2829 if (c) {
2830 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x, 2830 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x,
2831 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width, 2831 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
2832 uv_height); 2832 uv_height);
2833 } 2833 }
2834 } 2834 }
2835 2835
2836 void ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
2837 GLfloat opacity,
2838 GLuint background_color,
2839 GLuint shm_id,
2840 GLuint shm_offset) {
2841 gles2::cmds::ScheduleCALayerCHROMIUM* c =
2842 GetCmdSpace<gles2::cmds::ScheduleCALayerCHROMIUM>();
2843 if (c) {
2844 c->Init(contents_texture_id, opacity, background_color, shm_id, shm_offset);
2845 }
2846 }
2847
2836 void SwapInterval(GLint interval) { 2848 void SwapInterval(GLint interval) {
2837 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>(); 2849 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>();
2838 if (c) { 2850 if (c) {
2839 c->Init(interval); 2851 c->Init(interval);
2840 } 2852 }
2841 } 2853 }
2842 2854
2843 void FlushDriverCachesCHROMIUM() { 2855 void FlushDriverCachesCHROMIUM() {
2844 gles2::cmds::FlushDriverCachesCHROMIUM* c = 2856 gles2::cmds::FlushDriverCachesCHROMIUM* c =
2845 GetCmdSpace<gles2::cmds::FlushDriverCachesCHROMIUM>(); 2857 GetCmdSpace<gles2::cmds::FlushDriverCachesCHROMIUM>();
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3135 3147
3136 void ApplyScreenSpaceAntialiasingCHROMIUM() { 3148 void ApplyScreenSpaceAntialiasingCHROMIUM() {
3137 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = 3149 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c =
3138 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); 3150 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>();
3139 if (c) { 3151 if (c) {
3140 c->Init(); 3152 c->Init();
3141 } 3153 }
3142 } 3154 }
3143 3155
3144 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3156 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698