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

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: Remove glGetCompressedTexImage fallback 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 2397 matching lines...) Expand 10 before | Expand all | Expand 10 after
2408 GLenum dest_id, 2408 GLenum dest_id,
2409 GLint xoffset, 2409 GLint xoffset,
2410 GLint yoffset) { 2410 GLint yoffset) {
2411 gles2::cmds::CopySubTextureCHROMIUM* c = 2411 gles2::cmds::CopySubTextureCHROMIUM* c =
2412 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); 2412 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2413 if (c) { 2413 if (c) {
2414 c->Init(target, source_id, dest_id, xoffset, yoffset); 2414 c->Init(target, source_id, dest_id, xoffset, yoffset);
2415 } 2415 }
2416 } 2416 }
2417 2417
2418 void CompressedCopyTextureCHROMIUM(GLenum target,
2419 GLenum source_id,
2420 GLenum dest_id,
2421 GLenum internalformat,
2422 GLsizei source_size) {
2423 gles2::cmds::CompressedCopyTextureCHROMIUM* c =
2424 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
2425 if (c) {
2426 c->Init(target, source_id, dest_id, internalformat, source_size);
2427 }
2428 }
2429
2418 void DrawArraysInstancedANGLE(GLenum mode, 2430 void DrawArraysInstancedANGLE(GLenum mode,
2419 GLint first, 2431 GLint first,
2420 GLsizei count, 2432 GLsizei count,
2421 GLsizei primcount) { 2433 GLsizei primcount) {
2422 gles2::cmds::DrawArraysInstancedANGLE* c = 2434 gles2::cmds::DrawArraysInstancedANGLE* c =
2423 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2435 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2424 if (c) { 2436 if (c) {
2425 c->Init(mode, first, count, primcount); 2437 c->Init(mode, first, count, primcount);
2426 } 2438 }
2427 } 2439 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2743 } 2755 }
2744 2756
2745 void BlendBarrierKHR() { 2757 void BlendBarrierKHR() {
2746 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2758 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2747 if (c) { 2759 if (c) {
2748 c->Init(); 2760 c->Init();
2749 } 2761 }
2750 } 2762 }
2751 2763
2752 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2764 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698