OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 fn.glClearStencilFn = | 77 fn.glClearStencilFn = |
78 reinterpret_cast<glClearStencilProc>(GetGLProcAddress("glClearStencil")); | 78 reinterpret_cast<glClearStencilProc>(GetGLProcAddress("glClearStencil")); |
79 fn.glClientWaitSyncFn = 0; | 79 fn.glClientWaitSyncFn = 0; |
80 fn.glColorMaskFn = | 80 fn.glColorMaskFn = |
81 reinterpret_cast<glColorMaskProc>(GetGLProcAddress("glColorMask")); | 81 reinterpret_cast<glColorMaskProc>(GetGLProcAddress("glColorMask")); |
82 fn.glCompileShaderFn = reinterpret_cast<glCompileShaderProc>( | 82 fn.glCompileShaderFn = reinterpret_cast<glCompileShaderProc>( |
83 GetGLProcAddress("glCompileShader")); | 83 GetGLProcAddress("glCompileShader")); |
84 fn.glCompressedCopyTextureCHROMIUMFn = 0; | 84 fn.glCompressedCopyTextureCHROMIUMFn = 0; |
85 fn.glCompressedTexImage2DFn = reinterpret_cast<glCompressedTexImage2DProc>( | 85 fn.glCompressedTexImage2DFn = reinterpret_cast<glCompressedTexImage2DProc>( |
86 GetGLProcAddress("glCompressedTexImage2D")); | 86 GetGLProcAddress("glCompressedTexImage2D")); |
| 87 fn.glCompressedTexImage2DRobustANGLEFn = 0; |
87 fn.glCompressedTexImage3DFn = 0; | 88 fn.glCompressedTexImage3DFn = 0; |
| 89 fn.glCompressedTexImage3DRobustANGLEFn = 0; |
88 fn.glCompressedTexSubImage2DFn = | 90 fn.glCompressedTexSubImage2DFn = |
89 reinterpret_cast<glCompressedTexSubImage2DProc>( | 91 reinterpret_cast<glCompressedTexSubImage2DProc>( |
90 GetGLProcAddress("glCompressedTexSubImage2D")); | 92 GetGLProcAddress("glCompressedTexSubImage2D")); |
| 93 fn.glCompressedTexSubImage2DRobustANGLEFn = 0; |
91 fn.glCompressedTexSubImage3DFn = 0; | 94 fn.glCompressedTexSubImage3DFn = 0; |
| 95 fn.glCompressedTexSubImage3DRobustANGLEFn = 0; |
92 fn.glCopyBufferSubDataFn = 0; | 96 fn.glCopyBufferSubDataFn = 0; |
93 fn.glCopySubTextureCHROMIUMFn = 0; | 97 fn.glCopySubTextureCHROMIUMFn = 0; |
94 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( | 98 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( |
95 GetGLProcAddress("glCopyTexImage2D")); | 99 GetGLProcAddress("glCopyTexImage2D")); |
96 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( | 100 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( |
97 GetGLProcAddress("glCopyTexSubImage2D")); | 101 GetGLProcAddress("glCopyTexSubImage2D")); |
98 fn.glCopyTexSubImage3DFn = 0; | 102 fn.glCopyTexSubImage3DFn = 0; |
99 fn.glCopyTextureCHROMIUMFn = 0; | 103 fn.glCopyTextureCHROMIUMFn = 0; |
100 fn.glCoverageModulationNVFn = 0; | 104 fn.glCoverageModulationNVFn = 0; |
101 fn.glCoverFillPathInstancedNVFn = 0; | 105 fn.glCoverFillPathInstancedNVFn = 0; |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 GetGLProcAddress("glClientWaitSync")); | 866 GetGLProcAddress("glClientWaitSync")); |
863 } | 867 } |
864 | 868 |
865 if (ext.b_GL_CHROMIUM_copy_compressed_texture || | 869 if (ext.b_GL_CHROMIUM_copy_compressed_texture || |
866 ext.b_GL_CHROMIUM_compressed_copy_texture) { | 870 ext.b_GL_CHROMIUM_compressed_copy_texture) { |
867 fn.glCompressedCopyTextureCHROMIUMFn = | 871 fn.glCompressedCopyTextureCHROMIUMFn = |
868 reinterpret_cast<glCompressedCopyTextureCHROMIUMProc>( | 872 reinterpret_cast<glCompressedCopyTextureCHROMIUMProc>( |
869 GetGLProcAddress("glCompressedCopyTextureCHROMIUM")); | 873 GetGLProcAddress("glCompressedCopyTextureCHROMIUM")); |
870 } | 874 } |
871 | 875 |
| 876 if (ext.b_GL_ANGLE_robust_client_memory) { |
| 877 fn.glCompressedTexImage2DRobustANGLEFn = |
| 878 reinterpret_cast<glCompressedTexImage2DRobustANGLEProc>( |
| 879 GetGLProcAddress("glCompressedTexImage2DRobustANGLE")); |
| 880 } |
| 881 |
872 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 882 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
873 fn.glCompressedTexImage3DFn = reinterpret_cast<glCompressedTexImage3DProc>( | 883 fn.glCompressedTexImage3DFn = reinterpret_cast<glCompressedTexImage3DProc>( |
874 GetGLProcAddress("glCompressedTexImage3D")); | 884 GetGLProcAddress("glCompressedTexImage3D")); |
875 } | 885 } |
876 | 886 |
| 887 if (ext.b_GL_ANGLE_robust_client_memory) { |
| 888 fn.glCompressedTexImage3DRobustANGLEFn = |
| 889 reinterpret_cast<glCompressedTexImage3DRobustANGLEProc>( |
| 890 GetGLProcAddress("glCompressedTexImage3DRobustANGLE")); |
| 891 } |
| 892 |
| 893 if (ext.b_GL_ANGLE_robust_client_memory) { |
| 894 fn.glCompressedTexSubImage2DRobustANGLEFn = |
| 895 reinterpret_cast<glCompressedTexSubImage2DRobustANGLEProc>( |
| 896 GetGLProcAddress("glCompressedTexSubImage2DRobustANGLE")); |
| 897 } |
| 898 |
877 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 899 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
878 fn.glCompressedTexSubImage3DFn = | 900 fn.glCompressedTexSubImage3DFn = |
879 reinterpret_cast<glCompressedTexSubImage3DProc>( | 901 reinterpret_cast<glCompressedTexSubImage3DProc>( |
880 GetGLProcAddress("glCompressedTexSubImage3D")); | 902 GetGLProcAddress("glCompressedTexSubImage3D")); |
881 } | 903 } |
882 | 904 |
| 905 if (ext.b_GL_ANGLE_robust_client_memory) { |
| 906 fn.glCompressedTexSubImage3DRobustANGLEFn = |
| 907 reinterpret_cast<glCompressedTexSubImage3DRobustANGLEProc>( |
| 908 GetGLProcAddress("glCompressedTexSubImage3DRobustANGLE")); |
| 909 } |
| 910 |
883 if (ver->IsAtLeastGLES(3u, 0u) || ver->IsAtLeastGL(3u, 1u)) { | 911 if (ver->IsAtLeastGLES(3u, 0u) || ver->IsAtLeastGL(3u, 1u)) { |
884 fn.glCopyBufferSubDataFn = reinterpret_cast<glCopyBufferSubDataProc>( | 912 fn.glCopyBufferSubDataFn = reinterpret_cast<glCopyBufferSubDataProc>( |
885 GetGLProcAddress("glCopyBufferSubData")); | 913 GetGLProcAddress("glCopyBufferSubData")); |
886 } | 914 } |
887 | 915 |
888 if (ext.b_GL_CHROMIUM_copy_texture) { | 916 if (ext.b_GL_CHROMIUM_copy_texture) { |
889 fn.glCopySubTextureCHROMIUMFn = | 917 fn.glCopySubTextureCHROMIUMFn = |
890 reinterpret_cast<glCopySubTextureCHROMIUMProc>( | 918 reinterpret_cast<glCopySubTextureCHROMIUMProc>( |
891 GetGLProcAddress("glCopySubTextureCHROMIUM")); | 919 GetGLProcAddress("glCopySubTextureCHROMIUM")); |
892 } | 920 } |
(...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2721 GLenum internalformat, | 2749 GLenum internalformat, |
2722 GLsizei width, | 2750 GLsizei width, |
2723 GLsizei height, | 2751 GLsizei height, |
2724 GLint border, | 2752 GLint border, |
2725 GLsizei imageSize, | 2753 GLsizei imageSize, |
2726 const void* data) { | 2754 const void* data) { |
2727 driver_->fn.glCompressedTexImage2DFn(target, level, internalformat, width, | 2755 driver_->fn.glCompressedTexImage2DFn(target, level, internalformat, width, |
2728 height, border, imageSize, data); | 2756 height, border, imageSize, data); |
2729 } | 2757 } |
2730 | 2758 |
| 2759 void GLApiBase::glCompressedTexImage2DRobustANGLEFn(GLenum target, |
| 2760 GLint level, |
| 2761 GLenum internalformat, |
| 2762 GLsizei width, |
| 2763 GLsizei height, |
| 2764 GLint border, |
| 2765 GLsizei imageSize, |
| 2766 GLsizei dataSize, |
| 2767 const void* data) { |
| 2768 driver_->fn.glCompressedTexImage2DRobustANGLEFn(target, level, internalformat, |
| 2769 width, height, border, |
| 2770 imageSize, dataSize, data); |
| 2771 } |
| 2772 |
2731 void GLApiBase::glCompressedTexImage3DFn(GLenum target, | 2773 void GLApiBase::glCompressedTexImage3DFn(GLenum target, |
2732 GLint level, | 2774 GLint level, |
2733 GLenum internalformat, | 2775 GLenum internalformat, |
2734 GLsizei width, | 2776 GLsizei width, |
2735 GLsizei height, | 2777 GLsizei height, |
2736 GLsizei depth, | 2778 GLsizei depth, |
2737 GLint border, | 2779 GLint border, |
2738 GLsizei imageSize, | 2780 GLsizei imageSize, |
2739 const void* data) { | 2781 const void* data) { |
2740 driver_->fn.glCompressedTexImage3DFn(target, level, internalformat, width, | 2782 driver_->fn.glCompressedTexImage3DFn(target, level, internalformat, width, |
2741 height, depth, border, imageSize, data); | 2783 height, depth, border, imageSize, data); |
2742 } | 2784 } |
2743 | 2785 |
| 2786 void GLApiBase::glCompressedTexImage3DRobustANGLEFn(GLenum target, |
| 2787 GLint level, |
| 2788 GLenum internalformat, |
| 2789 GLsizei width, |
| 2790 GLsizei height, |
| 2791 GLsizei depth, |
| 2792 GLint border, |
| 2793 GLsizei imageSize, |
| 2794 GLsizei dataSize, |
| 2795 const void* data) { |
| 2796 driver_->fn.glCompressedTexImage3DRobustANGLEFn(target, level, internalformat, |
| 2797 width, height, depth, border, |
| 2798 imageSize, dataSize, data); |
| 2799 } |
| 2800 |
2744 void GLApiBase::glCompressedTexSubImage2DFn(GLenum target, | 2801 void GLApiBase::glCompressedTexSubImage2DFn(GLenum target, |
2745 GLint level, | 2802 GLint level, |
2746 GLint xoffset, | 2803 GLint xoffset, |
2747 GLint yoffset, | 2804 GLint yoffset, |
2748 GLsizei width, | 2805 GLsizei width, |
2749 GLsizei height, | 2806 GLsizei height, |
2750 GLenum format, | 2807 GLenum format, |
2751 GLsizei imageSize, | 2808 GLsizei imageSize, |
2752 const void* data) { | 2809 const void* data) { |
2753 driver_->fn.glCompressedTexSubImage2DFn( | 2810 driver_->fn.glCompressedTexSubImage2DFn( |
2754 target, level, xoffset, yoffset, width, height, format, imageSize, data); | 2811 target, level, xoffset, yoffset, width, height, format, imageSize, data); |
2755 } | 2812 } |
2756 | 2813 |
| 2814 void GLApiBase::glCompressedTexSubImage2DRobustANGLEFn(GLenum target, |
| 2815 GLint level, |
| 2816 GLint xoffset, |
| 2817 GLint yoffset, |
| 2818 GLsizei width, |
| 2819 GLsizei height, |
| 2820 GLenum format, |
| 2821 GLsizei imageSize, |
| 2822 GLsizei dataSize, |
| 2823 const void* data) { |
| 2824 driver_->fn.glCompressedTexSubImage2DRobustANGLEFn( |
| 2825 target, level, xoffset, yoffset, width, height, format, imageSize, |
| 2826 dataSize, data); |
| 2827 } |
| 2828 |
2757 void GLApiBase::glCompressedTexSubImage3DFn(GLenum target, | 2829 void GLApiBase::glCompressedTexSubImage3DFn(GLenum target, |
2758 GLint level, | 2830 GLint level, |
2759 GLint xoffset, | 2831 GLint xoffset, |
2760 GLint yoffset, | 2832 GLint yoffset, |
2761 GLint zoffset, | 2833 GLint zoffset, |
2762 GLsizei width, | 2834 GLsizei width, |
2763 GLsizei height, | 2835 GLsizei height, |
2764 GLsizei depth, | 2836 GLsizei depth, |
2765 GLenum format, | 2837 GLenum format, |
2766 GLsizei imageSize, | 2838 GLsizei imageSize, |
2767 const void* data) { | 2839 const void* data) { |
2768 driver_->fn.glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, | 2840 driver_->fn.glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, |
2769 zoffset, width, height, depth, format, | 2841 zoffset, width, height, depth, format, |
2770 imageSize, data); | 2842 imageSize, data); |
2771 } | 2843 } |
2772 | 2844 |
| 2845 void GLApiBase::glCompressedTexSubImage3DRobustANGLEFn(GLenum target, |
| 2846 GLint level, |
| 2847 GLint xoffset, |
| 2848 GLint yoffset, |
| 2849 GLint zoffset, |
| 2850 GLsizei width, |
| 2851 GLsizei height, |
| 2852 GLsizei depth, |
| 2853 GLenum format, |
| 2854 GLsizei imageSize, |
| 2855 GLsizei dataSize, |
| 2856 const void* data) { |
| 2857 driver_->fn.glCompressedTexSubImage3DRobustANGLEFn( |
| 2858 target, level, xoffset, yoffset, zoffset, width, height, depth, format, |
| 2859 imageSize, dataSize, data); |
| 2860 } |
| 2861 |
2773 void GLApiBase::glCopyBufferSubDataFn(GLenum readTarget, | 2862 void GLApiBase::glCopyBufferSubDataFn(GLenum readTarget, |
2774 GLenum writeTarget, | 2863 GLenum writeTarget, |
2775 GLintptr readOffset, | 2864 GLintptr readOffset, |
2776 GLintptr writeOffset, | 2865 GLintptr writeOffset, |
2777 GLsizeiptr size) { | 2866 GLsizeiptr size) { |
2778 driver_->fn.glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 2867 driver_->fn.glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
2779 writeOffset, size); | 2868 writeOffset, size); |
2780 } | 2869 } |
2781 | 2870 |
2782 void GLApiBase::glCopySubTextureCHROMIUMFn(GLuint sourceId, | 2871 void GLApiBase::glCopySubTextureCHROMIUMFn(GLuint sourceId, |
(...skipping 2568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5351 GLsizei width, | 5440 GLsizei width, |
5352 GLsizei height, | 5441 GLsizei height, |
5353 GLint border, | 5442 GLint border, |
5354 GLsizei imageSize, | 5443 GLsizei imageSize, |
5355 const void* data) { | 5444 const void* data) { |
5356 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexImage2D") | 5445 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexImage2D") |
5357 gl_api_->glCompressedTexImage2DFn(target, level, internalformat, width, | 5446 gl_api_->glCompressedTexImage2DFn(target, level, internalformat, width, |
5358 height, border, imageSize, data); | 5447 height, border, imageSize, data); |
5359 } | 5448 } |
5360 | 5449 |
| 5450 void TraceGLApi::glCompressedTexImage2DRobustANGLEFn(GLenum target, |
| 5451 GLint level, |
| 5452 GLenum internalformat, |
| 5453 GLsizei width, |
| 5454 GLsizei height, |
| 5455 GLint border, |
| 5456 GLsizei imageSize, |
| 5457 GLsizei dataSize, |
| 5458 const void* data) { |
| 5459 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 5460 "TraceGLAPI::glCompressedTexImage2DRobustANGLE") |
| 5461 gl_api_->glCompressedTexImage2DRobustANGLEFn(target, level, internalformat, |
| 5462 width, height, border, imageSize, |
| 5463 dataSize, data); |
| 5464 } |
| 5465 |
5361 void TraceGLApi::glCompressedTexImage3DFn(GLenum target, | 5466 void TraceGLApi::glCompressedTexImage3DFn(GLenum target, |
5362 GLint level, | 5467 GLint level, |
5363 GLenum internalformat, | 5468 GLenum internalformat, |
5364 GLsizei width, | 5469 GLsizei width, |
5365 GLsizei height, | 5470 GLsizei height, |
5366 GLsizei depth, | 5471 GLsizei depth, |
5367 GLint border, | 5472 GLint border, |
5368 GLsizei imageSize, | 5473 GLsizei imageSize, |
5369 const void* data) { | 5474 const void* data) { |
5370 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexImage3D") | 5475 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexImage3D") |
5371 gl_api_->glCompressedTexImage3DFn(target, level, internalformat, width, | 5476 gl_api_->glCompressedTexImage3DFn(target, level, internalformat, width, |
5372 height, depth, border, imageSize, data); | 5477 height, depth, border, imageSize, data); |
5373 } | 5478 } |
5374 | 5479 |
| 5480 void TraceGLApi::glCompressedTexImage3DRobustANGLEFn(GLenum target, |
| 5481 GLint level, |
| 5482 GLenum internalformat, |
| 5483 GLsizei width, |
| 5484 GLsizei height, |
| 5485 GLsizei depth, |
| 5486 GLint border, |
| 5487 GLsizei imageSize, |
| 5488 GLsizei dataSize, |
| 5489 const void* data) { |
| 5490 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 5491 "TraceGLAPI::glCompressedTexImage3DRobustANGLE") |
| 5492 gl_api_->glCompressedTexImage3DRobustANGLEFn(target, level, internalformat, |
| 5493 width, height, depth, border, |
| 5494 imageSize, dataSize, data); |
| 5495 } |
| 5496 |
5375 void TraceGLApi::glCompressedTexSubImage2DFn(GLenum target, | 5497 void TraceGLApi::glCompressedTexSubImage2DFn(GLenum target, |
5376 GLint level, | 5498 GLint level, |
5377 GLint xoffset, | 5499 GLint xoffset, |
5378 GLint yoffset, | 5500 GLint yoffset, |
5379 GLsizei width, | 5501 GLsizei width, |
5380 GLsizei height, | 5502 GLsizei height, |
5381 GLenum format, | 5503 GLenum format, |
5382 GLsizei imageSize, | 5504 GLsizei imageSize, |
5383 const void* data) { | 5505 const void* data) { |
5384 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexSubImage2D") | 5506 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexSubImage2D") |
5385 gl_api_->glCompressedTexSubImage2DFn(target, level, xoffset, yoffset, width, | 5507 gl_api_->glCompressedTexSubImage2DFn(target, level, xoffset, yoffset, width, |
5386 height, format, imageSize, data); | 5508 height, format, imageSize, data); |
5387 } | 5509 } |
5388 | 5510 |
| 5511 void TraceGLApi::glCompressedTexSubImage2DRobustANGLEFn(GLenum target, |
| 5512 GLint level, |
| 5513 GLint xoffset, |
| 5514 GLint yoffset, |
| 5515 GLsizei width, |
| 5516 GLsizei height, |
| 5517 GLenum format, |
| 5518 GLsizei imageSize, |
| 5519 GLsizei dataSize, |
| 5520 const void* data) { |
| 5521 TRACE_EVENT_BINARY_EFFICIENT0( |
| 5522 "gpu", "TraceGLAPI::glCompressedTexSubImage2DRobustANGLE") |
| 5523 gl_api_->glCompressedTexSubImage2DRobustANGLEFn( |
| 5524 target, level, xoffset, yoffset, width, height, format, imageSize, |
| 5525 dataSize, data); |
| 5526 } |
| 5527 |
5389 void TraceGLApi::glCompressedTexSubImage3DFn(GLenum target, | 5528 void TraceGLApi::glCompressedTexSubImage3DFn(GLenum target, |
5390 GLint level, | 5529 GLint level, |
5391 GLint xoffset, | 5530 GLint xoffset, |
5392 GLint yoffset, | 5531 GLint yoffset, |
5393 GLint zoffset, | 5532 GLint zoffset, |
5394 GLsizei width, | 5533 GLsizei width, |
5395 GLsizei height, | 5534 GLsizei height, |
5396 GLsizei depth, | 5535 GLsizei depth, |
5397 GLenum format, | 5536 GLenum format, |
5398 GLsizei imageSize, | 5537 GLsizei imageSize, |
5399 const void* data) { | 5538 const void* data) { |
5400 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexSubImage3D") | 5539 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCompressedTexSubImage3D") |
5401 gl_api_->glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, | 5540 gl_api_->glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, |
5402 width, height, depth, format, imageSize, | 5541 width, height, depth, format, imageSize, |
5403 data); | 5542 data); |
5404 } | 5543 } |
5405 | 5544 |
| 5545 void TraceGLApi::glCompressedTexSubImage3DRobustANGLEFn(GLenum target, |
| 5546 GLint level, |
| 5547 GLint xoffset, |
| 5548 GLint yoffset, |
| 5549 GLint zoffset, |
| 5550 GLsizei width, |
| 5551 GLsizei height, |
| 5552 GLsizei depth, |
| 5553 GLenum format, |
| 5554 GLsizei imageSize, |
| 5555 GLsizei dataSize, |
| 5556 const void* data) { |
| 5557 TRACE_EVENT_BINARY_EFFICIENT0( |
| 5558 "gpu", "TraceGLAPI::glCompressedTexSubImage3DRobustANGLE") |
| 5559 gl_api_->glCompressedTexSubImage3DRobustANGLEFn( |
| 5560 target, level, xoffset, yoffset, zoffset, width, height, depth, format, |
| 5561 imageSize, dataSize, data); |
| 5562 } |
| 5563 |
5406 void TraceGLApi::glCopyBufferSubDataFn(GLenum readTarget, | 5564 void TraceGLApi::glCopyBufferSubDataFn(GLenum readTarget, |
5407 GLenum writeTarget, | 5565 GLenum writeTarget, |
5408 GLintptr readOffset, | 5566 GLintptr readOffset, |
5409 GLintptr writeOffset, | 5567 GLintptr writeOffset, |
5410 GLsizeiptr size) { | 5568 GLsizeiptr size) { |
5411 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyBufferSubData") | 5569 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyBufferSubData") |
5412 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 5570 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
5413 writeOffset, size); | 5571 writeOffset, size); |
5414 } | 5572 } |
5415 | 5573 |
(...skipping 3056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8472 const void* data) { | 8630 const void* data) { |
8473 GL_SERVICE_LOG("glCompressedTexImage2D" | 8631 GL_SERVICE_LOG("glCompressedTexImage2D" |
8474 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 8632 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
8475 << ", " << GLEnums::GetStringEnum(internalformat) << ", " | 8633 << ", " << GLEnums::GetStringEnum(internalformat) << ", " |
8476 << width << ", " << height << ", " << border << ", " | 8634 << width << ", " << height << ", " << border << ", " |
8477 << imageSize << ", " << static_cast<const void*>(data) << ")"); | 8635 << imageSize << ", " << static_cast<const void*>(data) << ")"); |
8478 gl_api_->glCompressedTexImage2DFn(target, level, internalformat, width, | 8636 gl_api_->glCompressedTexImage2DFn(target, level, internalformat, width, |
8479 height, border, imageSize, data); | 8637 height, border, imageSize, data); |
8480 } | 8638 } |
8481 | 8639 |
| 8640 void DebugGLApi::glCompressedTexImage2DRobustANGLEFn(GLenum target, |
| 8641 GLint level, |
| 8642 GLenum internalformat, |
| 8643 GLsizei width, |
| 8644 GLsizei height, |
| 8645 GLint border, |
| 8646 GLsizei imageSize, |
| 8647 GLsizei dataSize, |
| 8648 const void* data) { |
| 8649 GL_SERVICE_LOG("glCompressedTexImage2DRobustANGLE" |
| 8650 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
| 8651 << ", " << GLEnums::GetStringEnum(internalformat) << ", " |
| 8652 << width << ", " << height << ", " << border << ", " |
| 8653 << imageSize << ", " << dataSize << ", " |
| 8654 << static_cast<const void*>(data) << ")"); |
| 8655 gl_api_->glCompressedTexImage2DRobustANGLEFn(target, level, internalformat, |
| 8656 width, height, border, imageSize, |
| 8657 dataSize, data); |
| 8658 } |
| 8659 |
8482 void DebugGLApi::glCompressedTexImage3DFn(GLenum target, | 8660 void DebugGLApi::glCompressedTexImage3DFn(GLenum target, |
8483 GLint level, | 8661 GLint level, |
8484 GLenum internalformat, | 8662 GLenum internalformat, |
8485 GLsizei width, | 8663 GLsizei width, |
8486 GLsizei height, | 8664 GLsizei height, |
8487 GLsizei depth, | 8665 GLsizei depth, |
8488 GLint border, | 8666 GLint border, |
8489 GLsizei imageSize, | 8667 GLsizei imageSize, |
8490 const void* data) { | 8668 const void* data) { |
8491 GL_SERVICE_LOG("glCompressedTexImage3D" | 8669 GL_SERVICE_LOG("glCompressedTexImage3D" |
8492 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 8670 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
8493 << ", " << GLEnums::GetStringEnum(internalformat) << ", " | 8671 << ", " << GLEnums::GetStringEnum(internalformat) << ", " |
8494 << width << ", " << height << ", " << depth << ", " << border | 8672 << width << ", " << height << ", " << depth << ", " << border |
8495 << ", " << imageSize << ", " << static_cast<const void*>(data) | 8673 << ", " << imageSize << ", " << static_cast<const void*>(data) |
8496 << ")"); | 8674 << ")"); |
8497 gl_api_->glCompressedTexImage3DFn(target, level, internalformat, width, | 8675 gl_api_->glCompressedTexImage3DFn(target, level, internalformat, width, |
8498 height, depth, border, imageSize, data); | 8676 height, depth, border, imageSize, data); |
8499 } | 8677 } |
8500 | 8678 |
| 8679 void DebugGLApi::glCompressedTexImage3DRobustANGLEFn(GLenum target, |
| 8680 GLint level, |
| 8681 GLenum internalformat, |
| 8682 GLsizei width, |
| 8683 GLsizei height, |
| 8684 GLsizei depth, |
| 8685 GLint border, |
| 8686 GLsizei imageSize, |
| 8687 GLsizei dataSize, |
| 8688 const void* data) { |
| 8689 GL_SERVICE_LOG("glCompressedTexImage3DRobustANGLE" |
| 8690 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
| 8691 << ", " << GLEnums::GetStringEnum(internalformat) << ", " |
| 8692 << width << ", " << height << ", " << depth << ", " << border |
| 8693 << ", " << imageSize << ", " << dataSize << ", " |
| 8694 << static_cast<const void*>(data) << ")"); |
| 8695 gl_api_->glCompressedTexImage3DRobustANGLEFn(target, level, internalformat, |
| 8696 width, height, depth, border, |
| 8697 imageSize, dataSize, data); |
| 8698 } |
| 8699 |
8501 void DebugGLApi::glCompressedTexSubImage2DFn(GLenum target, | 8700 void DebugGLApi::glCompressedTexSubImage2DFn(GLenum target, |
8502 GLint level, | 8701 GLint level, |
8503 GLint xoffset, | 8702 GLint xoffset, |
8504 GLint yoffset, | 8703 GLint yoffset, |
8505 GLsizei width, | 8704 GLsizei width, |
8506 GLsizei height, | 8705 GLsizei height, |
8507 GLenum format, | 8706 GLenum format, |
8508 GLsizei imageSize, | 8707 GLsizei imageSize, |
8509 const void* data) { | 8708 const void* data) { |
8510 GL_SERVICE_LOG("glCompressedTexSubImage2D" | 8709 GL_SERVICE_LOG("glCompressedTexSubImage2D" |
8511 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 8710 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
8512 << ", " << xoffset << ", " << yoffset << ", " << width << ", " | 8711 << ", " << xoffset << ", " << yoffset << ", " << width << ", " |
8513 << height << ", " << GLEnums::GetStringEnum(format) << ", " | 8712 << height << ", " << GLEnums::GetStringEnum(format) << ", " |
8514 << imageSize << ", " << static_cast<const void*>(data) << ")"); | 8713 << imageSize << ", " << static_cast<const void*>(data) << ")"); |
8515 gl_api_->glCompressedTexSubImage2DFn(target, level, xoffset, yoffset, width, | 8714 gl_api_->glCompressedTexSubImage2DFn(target, level, xoffset, yoffset, width, |
8516 height, format, imageSize, data); | 8715 height, format, imageSize, data); |
8517 } | 8716 } |
8518 | 8717 |
| 8718 void DebugGLApi::glCompressedTexSubImage2DRobustANGLEFn(GLenum target, |
| 8719 GLint level, |
| 8720 GLint xoffset, |
| 8721 GLint yoffset, |
| 8722 GLsizei width, |
| 8723 GLsizei height, |
| 8724 GLenum format, |
| 8725 GLsizei imageSize, |
| 8726 GLsizei dataSize, |
| 8727 const void* data) { |
| 8728 GL_SERVICE_LOG("glCompressedTexSubImage2DRobustANGLE" |
| 8729 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
| 8730 << ", " << xoffset << ", " << yoffset << ", " << width << ", " |
| 8731 << height << ", " << GLEnums::GetStringEnum(format) << ", " |
| 8732 << imageSize << ", " << dataSize << ", " |
| 8733 << static_cast<const void*>(data) << ")"); |
| 8734 gl_api_->glCompressedTexSubImage2DRobustANGLEFn( |
| 8735 target, level, xoffset, yoffset, width, height, format, imageSize, |
| 8736 dataSize, data); |
| 8737 } |
| 8738 |
8519 void DebugGLApi::glCompressedTexSubImage3DFn(GLenum target, | 8739 void DebugGLApi::glCompressedTexSubImage3DFn(GLenum target, |
8520 GLint level, | 8740 GLint level, |
8521 GLint xoffset, | 8741 GLint xoffset, |
8522 GLint yoffset, | 8742 GLint yoffset, |
8523 GLint zoffset, | 8743 GLint zoffset, |
8524 GLsizei width, | 8744 GLsizei width, |
8525 GLsizei height, | 8745 GLsizei height, |
8526 GLsizei depth, | 8746 GLsizei depth, |
8527 GLenum format, | 8747 GLenum format, |
8528 GLsizei imageSize, | 8748 GLsizei imageSize, |
8529 const void* data) { | 8749 const void* data) { |
8530 GL_SERVICE_LOG("glCompressedTexSubImage3D" | 8750 GL_SERVICE_LOG("glCompressedTexSubImage3D" |
8531 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 8751 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
8532 << ", " << xoffset << ", " << yoffset << ", " << zoffset | 8752 << ", " << xoffset << ", " << yoffset << ", " << zoffset |
8533 << ", " << width << ", " << height << ", " << depth << ", " | 8753 << ", " << width << ", " << height << ", " << depth << ", " |
8534 << GLEnums::GetStringEnum(format) << ", " << imageSize << ", " | 8754 << GLEnums::GetStringEnum(format) << ", " << imageSize << ", " |
8535 << static_cast<const void*>(data) << ")"); | 8755 << static_cast<const void*>(data) << ")"); |
8536 gl_api_->glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, | 8756 gl_api_->glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, |
8537 width, height, depth, format, imageSize, | 8757 width, height, depth, format, imageSize, |
8538 data); | 8758 data); |
8539 } | 8759 } |
8540 | 8760 |
| 8761 void DebugGLApi::glCompressedTexSubImage3DRobustANGLEFn(GLenum target, |
| 8762 GLint level, |
| 8763 GLint xoffset, |
| 8764 GLint yoffset, |
| 8765 GLint zoffset, |
| 8766 GLsizei width, |
| 8767 GLsizei height, |
| 8768 GLsizei depth, |
| 8769 GLenum format, |
| 8770 GLsizei imageSize, |
| 8771 GLsizei dataSize, |
| 8772 const void* data) { |
| 8773 GL_SERVICE_LOG("glCompressedTexSubImage3DRobustANGLE" |
| 8774 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
| 8775 << ", " << xoffset << ", " << yoffset << ", " << zoffset |
| 8776 << ", " << width << ", " << height << ", " << depth << ", " |
| 8777 << GLEnums::GetStringEnum(format) << ", " << imageSize << ", " |
| 8778 << dataSize << ", " << static_cast<const void*>(data) << ")"); |
| 8779 gl_api_->glCompressedTexSubImage3DRobustANGLEFn( |
| 8780 target, level, xoffset, yoffset, zoffset, width, height, depth, format, |
| 8781 imageSize, dataSize, data); |
| 8782 } |
| 8783 |
8541 void DebugGLApi::glCopyBufferSubDataFn(GLenum readTarget, | 8784 void DebugGLApi::glCopyBufferSubDataFn(GLenum readTarget, |
8542 GLenum writeTarget, | 8785 GLenum writeTarget, |
8543 GLintptr readOffset, | 8786 GLintptr readOffset, |
8544 GLintptr writeOffset, | 8787 GLintptr writeOffset, |
8545 GLsizeiptr size) { | 8788 GLsizeiptr size) { |
8546 GL_SERVICE_LOG("glCopyBufferSubData" | 8789 GL_SERVICE_LOG("glCopyBufferSubData" |
8547 << "(" << GLEnums::GetStringEnum(readTarget) << ", " | 8790 << "(" << GLEnums::GetStringEnum(readTarget) << ", " |
8548 << GLEnums::GetStringEnum(writeTarget) << ", " << readOffset | 8791 << GLEnums::GetStringEnum(writeTarget) << ", " << readOffset |
8549 << ", " << writeOffset << ", " << size << ")"); | 8792 << ", " << writeOffset << ", " << size << ")"); |
8550 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 8793 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
(...skipping 3890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12441 GLsizei height, | 12684 GLsizei height, |
12442 GLint border, | 12685 GLint border, |
12443 GLsizei imageSize, | 12686 GLsizei imageSize, |
12444 const void* data) { | 12687 const void* data) { |
12445 NOTREACHED() | 12688 NOTREACHED() |
12446 << "Trying to call glCompressedTexImage2D() without current GL context"; | 12689 << "Trying to call glCompressedTexImage2D() without current GL context"; |
12447 LOG(ERROR) | 12690 LOG(ERROR) |
12448 << "Trying to call glCompressedTexImage2D() without current GL context"; | 12691 << "Trying to call glCompressedTexImage2D() without current GL context"; |
12449 } | 12692 } |
12450 | 12693 |
| 12694 void NoContextGLApi::glCompressedTexImage2DRobustANGLEFn(GLenum target, |
| 12695 GLint level, |
| 12696 GLenum internalformat, |
| 12697 GLsizei width, |
| 12698 GLsizei height, |
| 12699 GLint border, |
| 12700 GLsizei imageSize, |
| 12701 GLsizei dataSize, |
| 12702 const void* data) { |
| 12703 NOTREACHED() << "Trying to call glCompressedTexImage2DRobustANGLE() without " |
| 12704 "current GL context"; |
| 12705 LOG(ERROR) << "Trying to call glCompressedTexImage2DRobustANGLE() without " |
| 12706 "current GL context"; |
| 12707 } |
| 12708 |
12451 void NoContextGLApi::glCompressedTexImage3DFn(GLenum target, | 12709 void NoContextGLApi::glCompressedTexImage3DFn(GLenum target, |
12452 GLint level, | 12710 GLint level, |
12453 GLenum internalformat, | 12711 GLenum internalformat, |
12454 GLsizei width, | 12712 GLsizei width, |
12455 GLsizei height, | 12713 GLsizei height, |
12456 GLsizei depth, | 12714 GLsizei depth, |
12457 GLint border, | 12715 GLint border, |
12458 GLsizei imageSize, | 12716 GLsizei imageSize, |
12459 const void* data) { | 12717 const void* data) { |
12460 NOTREACHED() | 12718 NOTREACHED() |
12461 << "Trying to call glCompressedTexImage3D() without current GL context"; | 12719 << "Trying to call glCompressedTexImage3D() without current GL context"; |
12462 LOG(ERROR) | 12720 LOG(ERROR) |
12463 << "Trying to call glCompressedTexImage3D() without current GL context"; | 12721 << "Trying to call glCompressedTexImage3D() without current GL context"; |
12464 } | 12722 } |
12465 | 12723 |
| 12724 void NoContextGLApi::glCompressedTexImage3DRobustANGLEFn(GLenum target, |
| 12725 GLint level, |
| 12726 GLenum internalformat, |
| 12727 GLsizei width, |
| 12728 GLsizei height, |
| 12729 GLsizei depth, |
| 12730 GLint border, |
| 12731 GLsizei imageSize, |
| 12732 GLsizei dataSize, |
| 12733 const void* data) { |
| 12734 NOTREACHED() << "Trying to call glCompressedTexImage3DRobustANGLE() without " |
| 12735 "current GL context"; |
| 12736 LOG(ERROR) << "Trying to call glCompressedTexImage3DRobustANGLE() without " |
| 12737 "current GL context"; |
| 12738 } |
| 12739 |
12466 void NoContextGLApi::glCompressedTexSubImage2DFn(GLenum target, | 12740 void NoContextGLApi::glCompressedTexSubImage2DFn(GLenum target, |
12467 GLint level, | 12741 GLint level, |
12468 GLint xoffset, | 12742 GLint xoffset, |
12469 GLint yoffset, | 12743 GLint yoffset, |
12470 GLsizei width, | 12744 GLsizei width, |
12471 GLsizei height, | 12745 GLsizei height, |
12472 GLenum format, | 12746 GLenum format, |
12473 GLsizei imageSize, | 12747 GLsizei imageSize, |
12474 const void* data) { | 12748 const void* data) { |
12475 NOTREACHED() << "Trying to call glCompressedTexSubImage2D() without current " | 12749 NOTREACHED() << "Trying to call glCompressedTexSubImage2D() without current " |
12476 "GL context"; | 12750 "GL context"; |
12477 LOG(ERROR) << "Trying to call glCompressedTexSubImage2D() without current GL " | 12751 LOG(ERROR) << "Trying to call glCompressedTexSubImage2D() without current GL " |
12478 "context"; | 12752 "context"; |
12479 } | 12753 } |
12480 | 12754 |
| 12755 void NoContextGLApi::glCompressedTexSubImage2DRobustANGLEFn(GLenum target, |
| 12756 GLint level, |
| 12757 GLint xoffset, |
| 12758 GLint yoffset, |
| 12759 GLsizei width, |
| 12760 GLsizei height, |
| 12761 GLenum format, |
| 12762 GLsizei imageSize, |
| 12763 GLsizei dataSize, |
| 12764 const void* data) { |
| 12765 NOTREACHED() << "Trying to call glCompressedTexSubImage2DRobustANGLE() " |
| 12766 "without current GL context"; |
| 12767 LOG(ERROR) << "Trying to call glCompressedTexSubImage2DRobustANGLE() without " |
| 12768 "current GL context"; |
| 12769 } |
| 12770 |
12481 void NoContextGLApi::glCompressedTexSubImage3DFn(GLenum target, | 12771 void NoContextGLApi::glCompressedTexSubImage3DFn(GLenum target, |
12482 GLint level, | 12772 GLint level, |
12483 GLint xoffset, | 12773 GLint xoffset, |
12484 GLint yoffset, | 12774 GLint yoffset, |
12485 GLint zoffset, | 12775 GLint zoffset, |
12486 GLsizei width, | 12776 GLsizei width, |
12487 GLsizei height, | 12777 GLsizei height, |
12488 GLsizei depth, | 12778 GLsizei depth, |
12489 GLenum format, | 12779 GLenum format, |
12490 GLsizei imageSize, | 12780 GLsizei imageSize, |
12491 const void* data) { | 12781 const void* data) { |
12492 NOTREACHED() << "Trying to call glCompressedTexSubImage3D() without current " | 12782 NOTREACHED() << "Trying to call glCompressedTexSubImage3D() without current " |
12493 "GL context"; | 12783 "GL context"; |
12494 LOG(ERROR) << "Trying to call glCompressedTexSubImage3D() without current GL " | 12784 LOG(ERROR) << "Trying to call glCompressedTexSubImage3D() without current GL " |
12495 "context"; | 12785 "context"; |
12496 } | 12786 } |
12497 | 12787 |
| 12788 void NoContextGLApi::glCompressedTexSubImage3DRobustANGLEFn(GLenum target, |
| 12789 GLint level, |
| 12790 GLint xoffset, |
| 12791 GLint yoffset, |
| 12792 GLint zoffset, |
| 12793 GLsizei width, |
| 12794 GLsizei height, |
| 12795 GLsizei depth, |
| 12796 GLenum format, |
| 12797 GLsizei imageSize, |
| 12798 GLsizei dataSize, |
| 12799 const void* data) { |
| 12800 NOTREACHED() << "Trying to call glCompressedTexSubImage3DRobustANGLE() " |
| 12801 "without current GL context"; |
| 12802 LOG(ERROR) << "Trying to call glCompressedTexSubImage3DRobustANGLE() without " |
| 12803 "current GL context"; |
| 12804 } |
| 12805 |
12498 void NoContextGLApi::glCopyBufferSubDataFn(GLenum readTarget, | 12806 void NoContextGLApi::glCopyBufferSubDataFn(GLenum readTarget, |
12499 GLenum writeTarget, | 12807 GLenum writeTarget, |
12500 GLintptr readOffset, | 12808 GLintptr readOffset, |
12501 GLintptr writeOffset, | 12809 GLintptr writeOffset, |
12502 GLsizeiptr size) { | 12810 GLsizeiptr size) { |
12503 NOTREACHED() | 12811 NOTREACHED() |
12504 << "Trying to call glCopyBufferSubData() without current GL context"; | 12812 << "Trying to call glCopyBufferSubData() without current GL context"; |
12505 LOG(ERROR) | 12813 LOG(ERROR) |
12506 << "Trying to call glCopyBufferSubData() without current GL context"; | 12814 << "Trying to call glCopyBufferSubData() without current GL context"; |
12507 } | 12815 } |
(...skipping 3000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15508 | 15816 |
15509 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, | 15817 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, |
15510 GLbitfield flags, | 15818 GLbitfield flags, |
15511 GLuint64 timeout) { | 15819 GLuint64 timeout) { |
15512 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; | 15820 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; |
15513 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; | 15821 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; |
15514 return static_cast<GLenum>(0); | 15822 return static_cast<GLenum>(0); |
15515 } | 15823 } |
15516 | 15824 |
15517 } // namespace gl | 15825 } // namespace gl |
OLD | NEW |