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

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

Issue 1394403002: Mac Overlays: Plumb through GL solid color overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after
2816 GLfloat uv_height) { 2816 GLfloat uv_height) {
2817 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c = 2817 gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c =
2818 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>(); 2818 GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>();
2819 if (c) { 2819 if (c) {
2820 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x, 2820 c->Init(plane_z_order, plane_transform, overlay_texture_id, bounds_x,
2821 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width, 2821 bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
2822 uv_height); 2822 uv_height);
2823 } 2823 }
2824 } 2824 }
2825 2825
2826 void ScheduleSolidColorOverlayPlaneCHROMIUM(GLint plane_z_order,
2827 GLint bounds_x,
2828 GLint bounds_y,
2829 GLint bounds_width,
2830 GLint bounds_height,
2831 GLclampf red,
2832 GLclampf green,
2833 GLclampf blue,
2834 GLclampf alpha) {
2835 gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM* c =
2836 GetCmdSpace<gles2::cmds::ScheduleSolidColorOverlayPlaneCHROMIUM>();
2837 if (c) {
2838 c->Init(plane_z_order, bounds_x, bounds_y, bounds_width, bounds_height, red,
2839 green, blue, alpha);
2840 }
2841 }
2842
2826 void SwapInterval(GLint interval) { 2843 void SwapInterval(GLint interval) {
2827 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>(); 2844 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>();
2828 if (c) { 2845 if (c) {
2829 c->Init(interval); 2846 c->Init(interval);
2830 } 2847 }
2831 } 2848 }
2832 2849
2833 void FlushDriverCachesCHROMIUM() { 2850 void FlushDriverCachesCHROMIUM() {
2834 gles2::cmds::FlushDriverCachesCHROMIUM* c = 2851 gles2::cmds::FlushDriverCachesCHROMIUM* c =
2835 GetCmdSpace<gles2::cmds::FlushDriverCachesCHROMIUM>(); 2852 GetCmdSpace<gles2::cmds::FlushDriverCachesCHROMIUM>();
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2985 3002
2986 void ApplyScreenSpaceAntialiasingCHROMIUM() { 3003 void ApplyScreenSpaceAntialiasingCHROMIUM() {
2987 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c = 3004 gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM* c =
2988 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>(); 3005 GetCmdSpace<gles2::cmds::ApplyScreenSpaceAntialiasingCHROMIUM>();
2989 if (c) { 3006 if (c) {
2990 c->Init(); 3007 c->Init();
2991 } 3008 }
2992 } 3009 }
2993 3010
2994 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3011 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698