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

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: Rebase 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 2519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2530 void CompressedCopyTextureCHROMIUM(GLenum target, 2530 void CompressedCopyTextureCHROMIUM(GLenum target,
2531 GLenum source_id, 2531 GLenum source_id,
2532 GLenum dest_id) { 2532 GLenum dest_id) {
2533 gles2::cmds::CompressedCopyTextureCHROMIUM* c = 2533 gles2::cmds::CompressedCopyTextureCHROMIUM* c =
2534 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); 2534 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
2535 if (c) { 2535 if (c) {
2536 c->Init(target, source_id, dest_id); 2536 c->Init(target, source_id, dest_id);
2537 } 2537 }
2538 } 2538 }
2539 2539
2540 void CompressedCopySubTextureCHROMIUM(GLenum target,
2541 GLenum source_id,
2542 GLenum dest_id,
2543 GLint xoffset,
2544 GLint yoffset,
2545 GLint x,
2546 GLint y,
2547 GLsizei width,
2548 GLsizei height) {
2549 gles2::cmds::CompressedCopySubTextureCHROMIUM* c =
2550 GetCmdSpace<gles2::cmds::CompressedCopySubTextureCHROMIUM>();
2551 if (c) {
2552 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
2553 }
2554 }
2555
2540 void DrawArraysInstancedANGLE(GLenum mode, 2556 void DrawArraysInstancedANGLE(GLenum mode,
2541 GLint first, 2557 GLint first,
2542 GLsizei count, 2558 GLsizei count,
2543 GLsizei primcount) { 2559 GLsizei primcount) {
2544 gles2::cmds::DrawArraysInstancedANGLE* c = 2560 gles2::cmds::DrawArraysInstancedANGLE* c =
2545 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2561 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2546 if (c) { 2562 if (c) {
2547 c->Init(mode, first, count, primcount); 2563 c->Init(mode, first, count, primcount);
2548 } 2564 }
2549 } 2565 }
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2992 } 3008 }
2993 3009
2994 void BlendBarrierKHR() { 3010 void BlendBarrierKHR() {
2995 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 3011 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2996 if (c) { 3012 if (c) {
2997 c->Init(); 3013 c->Init();
2998 } 3014 }
2999 } 3015 }
3000 3016
3001 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3017 #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