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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_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 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 gles2::GetGLContext()->CopySubTextureCHROMIUM( 1255 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1256 target, source_id, dest_id, xoffset, yoffset, x, y, width, height, 1256 target, source_id, dest_id, xoffset, yoffset, x, y, width, height,
1257 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); 1257 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
1258 } 1258 }
1259 void GLES2CompressedCopyTextureCHROMIUM(GLenum target, 1259 void GLES2CompressedCopyTextureCHROMIUM(GLenum target,
1260 GLenum source_id, 1260 GLenum source_id,
1261 GLenum dest_id) { 1261 GLenum dest_id) {
1262 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, 1262 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id,
1263 dest_id); 1263 dest_id);
1264 } 1264 }
1265 void GLES2CompressedCopySubTextureCHROMIUM(GLenum target,
1266 GLenum source_id,
1267 GLenum dest_id,
1268 GLint xoffset,
1269 GLint yoffset,
1270 GLint x,
1271 GLint y,
1272 GLsizei width,
1273 GLsizei height) {
1274 gles2::GetGLContext()->CompressedCopySubTextureCHROMIUM(
1275 target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
1276 }
1265 void GLES2DrawArraysInstancedANGLE(GLenum mode, 1277 void GLES2DrawArraysInstancedANGLE(GLenum mode,
1266 GLint first, 1278 GLint first,
1267 GLsizei count, 1279 GLsizei count,
1268 GLsizei primcount) { 1280 GLsizei primcount) {
1269 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, 1281 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
1270 primcount); 1282 primcount);
1271 } 1283 }
1272 void GLES2DrawElementsInstancedANGLE(GLenum mode, 1284 void GLES2DrawElementsInstancedANGLE(GLenum mode,
1273 GLsizei count, 1285 GLsizei count,
1274 GLenum type, 1286 GLenum type,
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
2495 }, 2507 },
2496 { 2508 {
2497 "glCopySubTextureCHROMIUM", 2509 "glCopySubTextureCHROMIUM",
2498 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), 2510 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM),
2499 }, 2511 },
2500 { 2512 {
2501 "glCompressedCopyTextureCHROMIUM", 2513 "glCompressedCopyTextureCHROMIUM",
2502 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), 2514 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM),
2503 }, 2515 },
2504 { 2516 {
2517 "glCompressedCopySubTextureCHROMIUM",
2518 reinterpret_cast<GLES2FunctionPointer>(
2519 glCompressedCopySubTextureCHROMIUM),
2520 },
2521 {
2505 "glDrawArraysInstancedANGLE", 2522 "glDrawArraysInstancedANGLE",
2506 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), 2523 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
2507 }, 2524 },
2508 { 2525 {
2509 "glDrawElementsInstancedANGLE", 2526 "glDrawElementsInstancedANGLE",
2510 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), 2527 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
2511 }, 2528 },
2512 { 2529 {
2513 "glVertexAttribDivisorANGLE", 2530 "glVertexAttribDivisorANGLE",
2514 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), 2531 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 "glBlendBarrierKHR", 2723 "glBlendBarrierKHR",
2707 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2724 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2708 }, 2725 },
2709 { 2726 {
2710 NULL, NULL, 2727 NULL, NULL,
2711 }, 2728 },
2712 }; 2729 };
2713 2730
2714 } // namespace gles2 2731 } // namespace gles2
2715 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2732 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698