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

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

Issue 1272153004: Add glCompressedCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 2510 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 void CompressedCopyTextureCHROMIUM(GLenum target, 2521 void CompressedCopyTextureCHROMIUM(GLenum target,
2522 GLenum source_id, 2522 GLenum source_id,
2523 GLenum dest_id) { 2523 GLenum dest_id) {
2524 gles2::cmds::CompressedCopyTextureCHROMIUM* c = 2524 gles2::cmds::CompressedCopyTextureCHROMIUM* c =
2525 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); 2525 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
2526 if (c) { 2526 if (c) {
2527 c->Init(target, source_id, dest_id); 2527 c->Init(target, source_id, dest_id);
2528 } 2528 }
2529 } 2529 }
2530 2530
2531 void CompressedCopySubTextureCHROMIUM(GLenum target,
2532 GLenum source_id,
2533 GLenum dest_id,
2534 GLint xoffset,
2535 GLint yoffset,
2536 GLint x,
2537 GLint y,
2538 GLsizei width,
2539 GLsizei height) {
2540 gles2::cmds::CompressedCopySubTextureCHROMIUM* c =
2541 GetCmdSpace<gles2::cmds::CompressedCopySubTextureCHROMIUM>();
2542 if (c) {
2543 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
2544 }
2545 }
2546
2531 void DrawArraysInstancedANGLE(GLenum mode, 2547 void DrawArraysInstancedANGLE(GLenum mode,
2532 GLint first, 2548 GLint first,
2533 GLsizei count, 2549 GLsizei count,
2534 GLsizei primcount) { 2550 GLsizei primcount) {
2535 gles2::cmds::DrawArraysInstancedANGLE* c = 2551 gles2::cmds::DrawArraysInstancedANGLE* c =
2536 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2552 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2537 if (c) { 2553 if (c) {
2538 c->Init(mode, first, count, primcount); 2554 c->Init(mode, first, count, primcount);
2539 } 2555 }
2540 } 2556 }
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2983 } 2999 }
2984 3000
2985 void BlendBarrierKHR() { 3001 void BlendBarrierKHR() {
2986 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 3002 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2987 if (c) { 3003 if (c) {
2988 c->Init(); 3004 c->Init();
2989 } 3005 }
2990 } 3006 }
2991 3007
2992 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3008 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698