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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 bounds_y, 2253 bounds_y,
2254 bounds_width, 2254 bounds_width,
2255 bounds_height, 2255 bounds_height,
2256 uv_x, 2256 uv_x,
2257 uv_y, 2257 uv_y,
2258 uv_width, 2258 uv_width,
2259 uv_height); 2259 uv_height);
2260 } 2260 }
2261 } 2261 }
2262 2262
2263 void MatrixLoadfCHROMIUM(GLenum matrixMode,
2264 uint32 m_shm_id,
2265 uint32 m_shm_offset) {
2266 gles2::cmds::MatrixLoadfCHROMIUM* c =
2267 GetCmdSpace<gles2::cmds::MatrixLoadfCHROMIUM>();
2268 if (c) {
2269 c->Init(matrixMode, m_shm_id, m_shm_offset);
2270 }
2271 }
2272
2273 void MatrixLoadfCHROMIUMImmediate(GLenum matrixMode, const GLfloat* m) {
2274 const uint32 size = gles2::cmds::MatrixLoadfCHROMIUMImmediate::ComputeSize();
2275 gles2::cmds::MatrixLoadfCHROMIUMImmediate* c =
2276 GetImmediateCmdSpaceTotalSize<gles2::cmds::MatrixLoadfCHROMIUMImmediate>(
2277 size);
2278 if (c) {
2279 c->Init(matrixMode, m);
2280 }
2281 }
2282
2283 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
2284 gles2::cmds::MatrixLoadIdentityCHROMIUM* c =
2285 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>();
2286 if (c) {
2287 c->Init(matrixMode);
2288 }
2289 }
2290
2263 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2291 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698