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

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

Issue 1119723003: Add glCopyCompressedTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ScopedVector for storing image format configurations Created 5 years, 6 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 2470 matching lines...) Expand 10 before | Expand all | Expand 10 after
2481 GLint y, 2481 GLint y,
2482 GLsizei width, 2482 GLsizei width,
2483 GLsizei height) { 2483 GLsizei height) {
2484 gles2::cmds::CopySubTextureCHROMIUM* c = 2484 gles2::cmds::CopySubTextureCHROMIUM* c =
2485 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); 2485 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2486 if (c) { 2486 if (c) {
2487 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height); 2487 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
2488 } 2488 }
2489 } 2489 }
2490 2490
2491 void CompressedCopyTextureCHROMIUM(GLenum target,
2492 GLenum source_id,
2493 GLenum dest_id) {
2494 gles2::cmds::CompressedCopyTextureCHROMIUM* c =
2495 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
2496 if (c) {
2497 c->Init(target, source_id, dest_id);
2498 }
2499 }
2500
2491 void DrawArraysInstancedANGLE(GLenum mode, 2501 void DrawArraysInstancedANGLE(GLenum mode,
2492 GLint first, 2502 GLint first,
2493 GLsizei count, 2503 GLsizei count,
2494 GLsizei primcount) { 2504 GLsizei primcount) {
2495 gles2::cmds::DrawArraysInstancedANGLE* c = 2505 gles2::cmds::DrawArraysInstancedANGLE* c =
2496 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2506 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2497 if (c) { 2507 if (c) {
2498 c->Init(mode, first, count, primcount); 2508 c->Init(mode, first, count, primcount);
2499 } 2509 }
2500 } 2510 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2816 } 2826 }
2817 2827
2818 void BlendBarrierKHR() { 2828 void BlendBarrierKHR() {
2819 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2829 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2820 if (c) { 2830 if (c) {
2821 c->Init(); 2831 c->Init();
2822 } 2832 }
2823 } 2833 }
2824 2834
2825 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2835 #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_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698