| 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 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2773 void GLApiBase::glCopyBufferSubDataFn(GLenum readTarget, | 2773 void GLApiBase::glCopyBufferSubDataFn(GLenum readTarget, |
| 2774 GLenum writeTarget, | 2774 GLenum writeTarget, |
| 2775 GLintptr readOffset, | 2775 GLintptr readOffset, |
| 2776 GLintptr writeOffset, | 2776 GLintptr writeOffset, |
| 2777 GLsizeiptr size) { | 2777 GLsizeiptr size) { |
| 2778 driver_->fn.glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 2778 driver_->fn.glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
| 2779 writeOffset, size); | 2779 writeOffset, size); |
| 2780 } | 2780 } |
| 2781 | 2781 |
| 2782 void GLApiBase::glCopySubTextureCHROMIUMFn(GLuint sourceId, | 2782 void GLApiBase::glCopySubTextureCHROMIUMFn(GLuint sourceId, |
| 2783 GLint sourceLevel, | |
| 2784 GLenum destTarget, | |
| 2785 GLuint destId, | 2783 GLuint destId, |
| 2786 GLint destLevel, | |
| 2787 GLint xoffset, | 2784 GLint xoffset, |
| 2788 GLint yoffset, | 2785 GLint yoffset, |
| 2789 GLint x, | 2786 GLint x, |
| 2790 GLint y, | 2787 GLint y, |
| 2791 GLsizei width, | 2788 GLsizei width, |
| 2792 GLsizei height, | 2789 GLsizei height, |
| 2793 GLboolean unpackFlipY, | 2790 GLboolean unpackFlipY, |
| 2794 GLboolean unpackPremultiplyAlpha, | 2791 GLboolean unpackPremultiplyAlpha, |
| 2795 GLboolean unpackUnmultiplyAlpha) { | 2792 GLboolean unpackUnmultiplyAlpha) { |
| 2796 driver_->fn.glCopySubTextureCHROMIUMFn( | 2793 driver_->fn.glCopySubTextureCHROMIUMFn( |
| 2797 sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, | 2794 sourceId, destId, xoffset, yoffset, x, y, width, height, unpackFlipY, |
| 2798 y, width, height, unpackFlipY, unpackPremultiplyAlpha, | 2795 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 2799 unpackUnmultiplyAlpha); | |
| 2800 } | 2796 } |
| 2801 | 2797 |
| 2802 void GLApiBase::glCopyTexImage2DFn(GLenum target, | 2798 void GLApiBase::glCopyTexImage2DFn(GLenum target, |
| 2803 GLint level, | 2799 GLint level, |
| 2804 GLenum internalformat, | 2800 GLenum internalformat, |
| 2805 GLint x, | 2801 GLint x, |
| 2806 GLint y, | 2802 GLint y, |
| 2807 GLsizei width, | 2803 GLsizei width, |
| 2808 GLsizei height, | 2804 GLsizei height, |
| 2809 GLint border) { | 2805 GLint border) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2830 GLint zoffset, | 2826 GLint zoffset, |
| 2831 GLint x, | 2827 GLint x, |
| 2832 GLint y, | 2828 GLint y, |
| 2833 GLsizei width, | 2829 GLsizei width, |
| 2834 GLsizei height) { | 2830 GLsizei height) { |
| 2835 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, | 2831 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, |
| 2836 y, width, height); | 2832 y, width, height); |
| 2837 } | 2833 } |
| 2838 | 2834 |
| 2839 void GLApiBase::glCopyTextureCHROMIUMFn(GLuint sourceId, | 2835 void GLApiBase::glCopyTextureCHROMIUMFn(GLuint sourceId, |
| 2840 GLint sourceLevel, | |
| 2841 GLenum destTarget, | |
| 2842 GLuint destId, | 2836 GLuint destId, |
| 2843 GLint destLevel, | |
| 2844 GLint internalFormat, | 2837 GLint internalFormat, |
| 2845 GLenum destType, | 2838 GLenum destType, |
| 2846 GLboolean unpackFlipY, | 2839 GLboolean unpackFlipY, |
| 2847 GLboolean unpackPremultiplyAlpha, | 2840 GLboolean unpackPremultiplyAlpha, |
| 2848 GLboolean unpackUnmultiplyAlpha) { | 2841 GLboolean unpackUnmultiplyAlpha) { |
| 2849 driver_->fn.glCopyTextureCHROMIUMFn( | 2842 driver_->fn.glCopyTextureCHROMIUMFn( |
| 2850 sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat, | 2843 sourceId, destId, internalFormat, destType, unpackFlipY, |
| 2851 destType, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); | 2844 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 2852 } | 2845 } |
| 2853 | 2846 |
| 2854 void GLApiBase::glCoverageModulationNVFn(GLenum components) { | 2847 void GLApiBase::glCoverageModulationNVFn(GLenum components) { |
| 2855 driver_->fn.glCoverageModulationNVFn(components); | 2848 driver_->fn.glCoverageModulationNVFn(components); |
| 2856 } | 2849 } |
| 2857 | 2850 |
| 2858 void GLApiBase::glCoverFillPathInstancedNVFn(GLsizei numPaths, | 2851 void GLApiBase::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 2859 GLenum pathNameType, | 2852 GLenum pathNameType, |
| 2860 const void* paths, | 2853 const void* paths, |
| 2861 GLuint pathBase, | 2854 GLuint pathBase, |
| (...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5403 GLenum writeTarget, | 5396 GLenum writeTarget, |
| 5404 GLintptr readOffset, | 5397 GLintptr readOffset, |
| 5405 GLintptr writeOffset, | 5398 GLintptr writeOffset, |
| 5406 GLsizeiptr size) { | 5399 GLsizeiptr size) { |
| 5407 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyBufferSubData") | 5400 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyBufferSubData") |
| 5408 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 5401 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
| 5409 writeOffset, size); | 5402 writeOffset, size); |
| 5410 } | 5403 } |
| 5411 | 5404 |
| 5412 void TraceGLApi::glCopySubTextureCHROMIUMFn(GLuint sourceId, | 5405 void TraceGLApi::glCopySubTextureCHROMIUMFn(GLuint sourceId, |
| 5413 GLint sourceLevel, | |
| 5414 GLenum destTarget, | |
| 5415 GLuint destId, | 5406 GLuint destId, |
| 5416 GLint destLevel, | |
| 5417 GLint xoffset, | 5407 GLint xoffset, |
| 5418 GLint yoffset, | 5408 GLint yoffset, |
| 5419 GLint x, | 5409 GLint x, |
| 5420 GLint y, | 5410 GLint y, |
| 5421 GLsizei width, | 5411 GLsizei width, |
| 5422 GLsizei height, | 5412 GLsizei height, |
| 5423 GLboolean unpackFlipY, | 5413 GLboolean unpackFlipY, |
| 5424 GLboolean unpackPremultiplyAlpha, | 5414 GLboolean unpackPremultiplyAlpha, |
| 5425 GLboolean unpackUnmultiplyAlpha) { | 5415 GLboolean unpackUnmultiplyAlpha) { |
| 5426 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopySubTextureCHROMIUM") | 5416 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopySubTextureCHROMIUM") |
| 5427 gl_api_->glCopySubTextureCHROMIUMFn( | 5417 gl_api_->glCopySubTextureCHROMIUMFn( |
| 5428 sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, | 5418 sourceId, destId, xoffset, yoffset, x, y, width, height, unpackFlipY, |
| 5429 y, width, height, unpackFlipY, unpackPremultiplyAlpha, | 5419 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 5430 unpackUnmultiplyAlpha); | |
| 5431 } | 5420 } |
| 5432 | 5421 |
| 5433 void TraceGLApi::glCopyTexImage2DFn(GLenum target, | 5422 void TraceGLApi::glCopyTexImage2DFn(GLenum target, |
| 5434 GLint level, | 5423 GLint level, |
| 5435 GLenum internalformat, | 5424 GLenum internalformat, |
| 5436 GLint x, | 5425 GLint x, |
| 5437 GLint y, | 5426 GLint y, |
| 5438 GLsizei width, | 5427 GLsizei width, |
| 5439 GLsizei height, | 5428 GLsizei height, |
| 5440 GLint border) { | 5429 GLint border) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5464 GLint x, | 5453 GLint x, |
| 5465 GLint y, | 5454 GLint y, |
| 5466 GLsizei width, | 5455 GLsizei width, |
| 5467 GLsizei height) { | 5456 GLsizei height) { |
| 5468 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") | 5457 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") |
| 5469 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, | 5458 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, |
| 5470 width, height); | 5459 width, height); |
| 5471 } | 5460 } |
| 5472 | 5461 |
| 5473 void TraceGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, | 5462 void TraceGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, |
| 5474 GLint sourceLevel, | |
| 5475 GLenum destTarget, | |
| 5476 GLuint destId, | 5463 GLuint destId, |
| 5477 GLint destLevel, | |
| 5478 GLint internalFormat, | 5464 GLint internalFormat, |
| 5479 GLenum destType, | 5465 GLenum destType, |
| 5480 GLboolean unpackFlipY, | 5466 GLboolean unpackFlipY, |
| 5481 GLboolean unpackPremultiplyAlpha, | 5467 GLboolean unpackPremultiplyAlpha, |
| 5482 GLboolean unpackUnmultiplyAlpha) { | 5468 GLboolean unpackUnmultiplyAlpha) { |
| 5483 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTextureCHROMIUM") | 5469 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTextureCHROMIUM") |
| 5484 gl_api_->glCopyTextureCHROMIUMFn( | 5470 gl_api_->glCopyTextureCHROMIUMFn(sourceId, destId, internalFormat, destType, |
| 5485 sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat, | 5471 unpackFlipY, unpackPremultiplyAlpha, |
| 5486 destType, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); | 5472 unpackUnmultiplyAlpha); |
| 5487 } | 5473 } |
| 5488 | 5474 |
| 5489 void TraceGLApi::glCoverageModulationNVFn(GLenum components) { | 5475 void TraceGLApi::glCoverageModulationNVFn(GLenum components) { |
| 5490 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverageModulationNV") | 5476 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverageModulationNV") |
| 5491 gl_api_->glCoverageModulationNVFn(components); | 5477 gl_api_->glCoverageModulationNVFn(components); |
| 5492 } | 5478 } |
| 5493 | 5479 |
| 5494 void TraceGLApi::glCoverFillPathInstancedNVFn(GLsizei numPaths, | 5480 void TraceGLApi::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 5495 GLenum pathNameType, | 5481 GLenum pathNameType, |
| 5496 const void* paths, | 5482 const void* paths, |
| (...skipping 3040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8537 GLsizeiptr size) { | 8523 GLsizeiptr size) { |
| 8538 GL_SERVICE_LOG("glCopyBufferSubData" | 8524 GL_SERVICE_LOG("glCopyBufferSubData" |
| 8539 << "(" << GLEnums::GetStringEnum(readTarget) << ", " | 8525 << "(" << GLEnums::GetStringEnum(readTarget) << ", " |
| 8540 << GLEnums::GetStringEnum(writeTarget) << ", " << readOffset | 8526 << GLEnums::GetStringEnum(writeTarget) << ", " << readOffset |
| 8541 << ", " << writeOffset << ", " << size << ")"); | 8527 << ", " << writeOffset << ", " << size << ")"); |
| 8542 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, | 8528 gl_api_->glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
| 8543 writeOffset, size); | 8529 writeOffset, size); |
| 8544 } | 8530 } |
| 8545 | 8531 |
| 8546 void DebugGLApi::glCopySubTextureCHROMIUMFn(GLuint sourceId, | 8532 void DebugGLApi::glCopySubTextureCHROMIUMFn(GLuint sourceId, |
| 8547 GLint sourceLevel, | |
| 8548 GLenum destTarget, | |
| 8549 GLuint destId, | 8533 GLuint destId, |
| 8550 GLint destLevel, | |
| 8551 GLint xoffset, | 8534 GLint xoffset, |
| 8552 GLint yoffset, | 8535 GLint yoffset, |
| 8553 GLint x, | 8536 GLint x, |
| 8554 GLint y, | 8537 GLint y, |
| 8555 GLsizei width, | 8538 GLsizei width, |
| 8556 GLsizei height, | 8539 GLsizei height, |
| 8557 GLboolean unpackFlipY, | 8540 GLboolean unpackFlipY, |
| 8558 GLboolean unpackPremultiplyAlpha, | 8541 GLboolean unpackPremultiplyAlpha, |
| 8559 GLboolean unpackUnmultiplyAlpha) { | 8542 GLboolean unpackUnmultiplyAlpha) { |
| 8560 GL_SERVICE_LOG("glCopySubTextureCHROMIUM" | 8543 GL_SERVICE_LOG("glCopySubTextureCHROMIUM" |
| 8561 << "(" << sourceId << ", " << sourceLevel << ", " | 8544 << "(" << sourceId << ", " << destId << ", " << xoffset << ", " |
| 8562 << GLEnums::GetStringEnum(destTarget) << ", " << destId << ", " | 8545 << yoffset << ", " << x << ", " << y << ", " << width << ", " |
| 8563 << destLevel << ", " << xoffset << ", " << yoffset << ", " << x | 8546 << height << ", " << GLEnums::GetStringBool(unpackFlipY) |
| 8564 << ", " << y << ", " << width << ", " << height << ", " | 8547 << ", " << GLEnums::GetStringBool(unpackPremultiplyAlpha) |
| 8565 << GLEnums::GetStringBool(unpackFlipY) << ", " | 8548 << ", " << GLEnums::GetStringBool(unpackUnmultiplyAlpha) |
| 8566 << GLEnums::GetStringBool(unpackPremultiplyAlpha) << ", " | 8549 << ")"); |
| 8567 << GLEnums::GetStringBool(unpackUnmultiplyAlpha) << ")"); | |
| 8568 gl_api_->glCopySubTextureCHROMIUMFn( | 8550 gl_api_->glCopySubTextureCHROMIUMFn( |
| 8569 sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, | 8551 sourceId, destId, xoffset, yoffset, x, y, width, height, unpackFlipY, |
| 8570 y, width, height, unpackFlipY, unpackPremultiplyAlpha, | 8552 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 8571 unpackUnmultiplyAlpha); | |
| 8572 } | 8553 } |
| 8573 | 8554 |
| 8574 void DebugGLApi::glCopyTexImage2DFn(GLenum target, | 8555 void DebugGLApi::glCopyTexImage2DFn(GLenum target, |
| 8575 GLint level, | 8556 GLint level, |
| 8576 GLenum internalformat, | 8557 GLenum internalformat, |
| 8577 GLint x, | 8558 GLint x, |
| 8578 GLint y, | 8559 GLint y, |
| 8579 GLsizei width, | 8560 GLsizei width, |
| 8580 GLsizei height, | 8561 GLsizei height, |
| 8581 GLint border) { | 8562 GLint border) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8616 GL_SERVICE_LOG("glCopyTexSubImage3D" | 8597 GL_SERVICE_LOG("glCopyTexSubImage3D" |
| 8617 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 8598 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
| 8618 << ", " << xoffset << ", " << yoffset << ", " << zoffset | 8599 << ", " << xoffset << ", " << yoffset << ", " << zoffset |
| 8619 << ", " << x << ", " << y << ", " << width << ", " << height | 8600 << ", " << x << ", " << y << ", " << width << ", " << height |
| 8620 << ")"); | 8601 << ")"); |
| 8621 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, | 8602 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, |
| 8622 width, height); | 8603 width, height); |
| 8623 } | 8604 } |
| 8624 | 8605 |
| 8625 void DebugGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, | 8606 void DebugGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, |
| 8626 GLint sourceLevel, | |
| 8627 GLenum destTarget, | |
| 8628 GLuint destId, | 8607 GLuint destId, |
| 8629 GLint destLevel, | |
| 8630 GLint internalFormat, | 8608 GLint internalFormat, |
| 8631 GLenum destType, | 8609 GLenum destType, |
| 8632 GLboolean unpackFlipY, | 8610 GLboolean unpackFlipY, |
| 8633 GLboolean unpackPremultiplyAlpha, | 8611 GLboolean unpackPremultiplyAlpha, |
| 8634 GLboolean unpackUnmultiplyAlpha) { | 8612 GLboolean unpackUnmultiplyAlpha) { |
| 8635 GL_SERVICE_LOG("glCopyTextureCHROMIUM" | 8613 GL_SERVICE_LOG("glCopyTextureCHROMIUM" |
| 8636 << "(" << sourceId << ", " << sourceLevel << ", " | 8614 << "(" << sourceId << ", " << destId << ", " << internalFormat |
| 8637 << GLEnums::GetStringEnum(destTarget) << ", " << destId << ", " | 8615 << ", " << GLEnums::GetStringEnum(destType) << ", " |
| 8638 << destLevel << ", " << internalFormat << ", " | |
| 8639 << GLEnums::GetStringEnum(destType) << ", " | |
| 8640 << GLEnums::GetStringBool(unpackFlipY) << ", " | 8616 << GLEnums::GetStringBool(unpackFlipY) << ", " |
| 8641 << GLEnums::GetStringBool(unpackPremultiplyAlpha) << ", " | 8617 << GLEnums::GetStringBool(unpackPremultiplyAlpha) << ", " |
| 8642 << GLEnums::GetStringBool(unpackUnmultiplyAlpha) << ")"); | 8618 << GLEnums::GetStringBool(unpackUnmultiplyAlpha) << ")"); |
| 8643 gl_api_->glCopyTextureCHROMIUMFn( | 8619 gl_api_->glCopyTextureCHROMIUMFn(sourceId, destId, internalFormat, destType, |
| 8644 sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat, | 8620 unpackFlipY, unpackPremultiplyAlpha, |
| 8645 destType, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); | 8621 unpackUnmultiplyAlpha); |
| 8646 } | 8622 } |
| 8647 | 8623 |
| 8648 void DebugGLApi::glCoverageModulationNVFn(GLenum components) { | 8624 void DebugGLApi::glCoverageModulationNVFn(GLenum components) { |
| 8649 GL_SERVICE_LOG("glCoverageModulationNV" | 8625 GL_SERVICE_LOG("glCoverageModulationNV" |
| 8650 << "(" << GLEnums::GetStringEnum(components) << ")"); | 8626 << "(" << GLEnums::GetStringEnum(components) << ")"); |
| 8651 gl_api_->glCoverageModulationNVFn(components); | 8627 gl_api_->glCoverageModulationNVFn(components); |
| 8652 } | 8628 } |
| 8653 | 8629 |
| 8654 void DebugGLApi::glCoverFillPathInstancedNVFn(GLsizei numPaths, | 8630 void DebugGLApi::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 8655 GLenum pathNameType, | 8631 GLenum pathNameType, |
| (...skipping 3829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12485 GLintptr writeOffset, | 12461 GLintptr writeOffset, |
| 12486 GLsizeiptr size) { | 12462 GLsizeiptr size) { |
| 12487 NOTREACHED() | 12463 NOTREACHED() |
| 12488 << "Trying to call glCopyBufferSubData() without current GL context"; | 12464 << "Trying to call glCopyBufferSubData() without current GL context"; |
| 12489 LOG(ERROR) | 12465 LOG(ERROR) |
| 12490 << "Trying to call glCopyBufferSubData() without current GL context"; | 12466 << "Trying to call glCopyBufferSubData() without current GL context"; |
| 12491 } | 12467 } |
| 12492 | 12468 |
| 12493 void NoContextGLApi::glCopySubTextureCHROMIUMFn( | 12469 void NoContextGLApi::glCopySubTextureCHROMIUMFn( |
| 12494 GLuint sourceId, | 12470 GLuint sourceId, |
| 12495 GLint sourceLevel, | |
| 12496 GLenum destTarget, | |
| 12497 GLuint destId, | 12471 GLuint destId, |
| 12498 GLint destLevel, | |
| 12499 GLint xoffset, | 12472 GLint xoffset, |
| 12500 GLint yoffset, | 12473 GLint yoffset, |
| 12501 GLint x, | 12474 GLint x, |
| 12502 GLint y, | 12475 GLint y, |
| 12503 GLsizei width, | 12476 GLsizei width, |
| 12504 GLsizei height, | 12477 GLsizei height, |
| 12505 GLboolean unpackFlipY, | 12478 GLboolean unpackFlipY, |
| 12506 GLboolean unpackPremultiplyAlpha, | 12479 GLboolean unpackPremultiplyAlpha, |
| 12507 GLboolean unpackUnmultiplyAlpha) { | 12480 GLboolean unpackUnmultiplyAlpha) { |
| 12508 NOTREACHED() | 12481 NOTREACHED() |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12547 GLint y, | 12520 GLint y, |
| 12548 GLsizei width, | 12521 GLsizei width, |
| 12549 GLsizei height) { | 12522 GLsizei height) { |
| 12550 NOTREACHED() | 12523 NOTREACHED() |
| 12551 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 12524 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
| 12552 LOG(ERROR) | 12525 LOG(ERROR) |
| 12553 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 12526 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
| 12554 } | 12527 } |
| 12555 | 12528 |
| 12556 void NoContextGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, | 12529 void NoContextGLApi::glCopyTextureCHROMIUMFn(GLuint sourceId, |
| 12557 GLint sourceLevel, | |
| 12558 GLenum destTarget, | |
| 12559 GLuint destId, | 12530 GLuint destId, |
| 12560 GLint destLevel, | |
| 12561 GLint internalFormat, | 12531 GLint internalFormat, |
| 12562 GLenum destType, | 12532 GLenum destType, |
| 12563 GLboolean unpackFlipY, | 12533 GLboolean unpackFlipY, |
| 12564 GLboolean unpackPremultiplyAlpha, | 12534 GLboolean unpackPremultiplyAlpha, |
| 12565 GLboolean unpackUnmultiplyAlpha) { | 12535 GLboolean unpackUnmultiplyAlpha) { |
| 12566 NOTREACHED() | 12536 NOTREACHED() |
| 12567 << "Trying to call glCopyTextureCHROMIUM() without current GL context"; | 12537 << "Trying to call glCopyTextureCHROMIUM() without current GL context"; |
| 12568 LOG(ERROR) | 12538 LOG(ERROR) |
| 12569 << "Trying to call glCopyTextureCHROMIUM() without current GL context"; | 12539 << "Trying to call glCopyTextureCHROMIUM() without current GL context"; |
| 12570 } | 12540 } |
| (...skipping 2917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15488 | 15458 |
| 15489 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, | 15459 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, |
| 15490 GLbitfield flags, | 15460 GLbitfield flags, |
| 15491 GLuint64 timeout) { | 15461 GLuint64 timeout) { |
| 15492 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; | 15462 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; |
| 15493 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; | 15463 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; |
| 15494 return static_cast<GLenum>(0); | 15464 return static_cast<GLenum>(0); |
| 15495 } | 15465 } |
| 15496 | 15466 |
| 15497 } // namespace gl | 15467 } // namespace gl |
| OLD | NEW |