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