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

Side by Side Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 2472703003: Load the GL_KHR_debug entry points and log messages they produce. (Closed)
Patch Set: Update window system string Created 4 years, 1 month 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
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_enums_implementation_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 MakeFunctionUnique("glCreateShader"); 648 MakeFunctionUnique("glCreateShader");
649 return interface_->CreateShader(type); 649 return interface_->CreateShader(type);
650 } 650 }
651 651
652 void GL_BINDING_CALL MockGLInterface::Mock_glCullFace(GLenum mode) { 652 void GL_BINDING_CALL MockGLInterface::Mock_glCullFace(GLenum mode) {
653 MakeFunctionUnique("glCullFace"); 653 MakeFunctionUnique("glCullFace");
654 interface_->CullFace(mode); 654 interface_->CullFace(mode);
655 } 655 }
656 656
657 void GL_BINDING_CALL 657 void GL_BINDING_CALL
658 MockGLInterface::Mock_glDebugMessageCallback(GLDEBUGPROC callback,
659 const void* userParam) {
660 MakeFunctionUnique("glDebugMessageCallback");
661 interface_->DebugMessageCallback(callback, userParam);
662 }
663
664 void GL_BINDING_CALL
665 MockGLInterface::Mock_glDebugMessageCallbackKHR(GLDEBUGPROC callback,
666 const void* userParam) {
667 MakeFunctionUnique("glDebugMessageCallbackKHR");
668 interface_->DebugMessageCallback(callback, userParam);
669 }
670
671 void GL_BINDING_CALL
672 MockGLInterface::Mock_glDebugMessageControl(GLenum source,
673 GLenum type,
674 GLenum severity,
675 GLsizei count,
676 const GLuint* ids,
677 GLboolean enabled) {
678 MakeFunctionUnique("glDebugMessageControl");
679 interface_->DebugMessageControl(source, type, severity, count, ids, enabled);
680 }
681
682 void GL_BINDING_CALL
683 MockGLInterface::Mock_glDebugMessageControlKHR(GLenum source,
684 GLenum type,
685 GLenum severity,
686 GLsizei count,
687 const GLuint* ids,
688 GLboolean enabled) {
689 MakeFunctionUnique("glDebugMessageControlKHR");
690 interface_->DebugMessageControl(source, type, severity, count, ids, enabled);
691 }
692
693 void GL_BINDING_CALL
694 MockGLInterface::Mock_glDebugMessageInsert(GLenum source,
695 GLenum type,
696 GLuint id,
697 GLenum severity,
698 GLsizei length,
699 const char* buf) {
700 MakeFunctionUnique("glDebugMessageInsert");
701 interface_->DebugMessageInsert(source, type, id, severity, length, buf);
702 }
703
704 void GL_BINDING_CALL
705 MockGLInterface::Mock_glDebugMessageInsertKHR(GLenum source,
706 GLenum type,
707 GLuint id,
708 GLenum severity,
709 GLsizei length,
710 const char* buf) {
711 MakeFunctionUnique("glDebugMessageInsertKHR");
712 interface_->DebugMessageInsert(source, type, id, severity, length, buf);
713 }
714
715 void GL_BINDING_CALL
658 MockGLInterface::Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers) { 716 MockGLInterface::Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers) {
659 MakeFunctionUnique("glDeleteBuffers"); 717 MakeFunctionUnique("glDeleteBuffers");
660 interface_->DeleteBuffersARB(n, buffers); 718 interface_->DeleteBuffersARB(n, buffers);
661 } 719 }
662 720
663 void GL_BINDING_CALL 721 void GL_BINDING_CALL
664 MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences) { 722 MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences) {
665 MakeFunctionUnique("glDeleteFencesAPPLE"); 723 MakeFunctionUnique("glDeleteFencesAPPLE");
666 interface_->DeleteFencesAPPLE(n, fences); 724 interface_->DeleteFencesAPPLE(n, fences);
667 } 725 }
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 MockGLInterface::Mock_glGetBufferPointervRobustANGLE(GLenum target, 1407 MockGLInterface::Mock_glGetBufferPointervRobustANGLE(GLenum target,
1350 GLenum pname, 1408 GLenum pname,
1351 GLsizei bufSize, 1409 GLsizei bufSize,
1352 GLsizei* length, 1410 GLsizei* length,
1353 void** params) { 1411 void** params) {
1354 MakeFunctionUnique("glGetBufferPointervRobustANGLE"); 1412 MakeFunctionUnique("glGetBufferPointervRobustANGLE");
1355 interface_->GetBufferPointervRobustANGLE(target, pname, bufSize, length, 1413 interface_->GetBufferPointervRobustANGLE(target, pname, bufSize, length,
1356 params); 1414 params);
1357 } 1415 }
1358 1416
1417 void GL_BINDING_CALL
1418 MockGLInterface::Mock_glGetDebugMessageLog(GLuint count,
1419 GLsizei bufSize,
1420 GLenum* sources,
1421 GLenum* types,
1422 GLuint* ids,
1423 GLenum* severities,
1424 GLsizei* lengths,
1425 char* messageLog) {
1426 MakeFunctionUnique("glGetDebugMessageLog");
1427 interface_->GetDebugMessageLog(count, bufSize, sources, types, ids,
1428 severities, lengths, messageLog);
1429 }
1430
1431 void GL_BINDING_CALL
1432 MockGLInterface::Mock_glGetDebugMessageLogKHR(GLuint count,
1433 GLsizei bufSize,
1434 GLenum* sources,
1435 GLenum* types,
1436 GLuint* ids,
1437 GLenum* severities,
1438 GLsizei* lengths,
1439 char* messageLog) {
1440 MakeFunctionUnique("glGetDebugMessageLogKHR");
1441 interface_->GetDebugMessageLog(count, bufSize, sources, types, ids,
1442 severities, lengths, messageLog);
1443 }
1444
1359 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) { 1445 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) {
1360 MakeFunctionUnique("glGetError"); 1446 MakeFunctionUnique("glGetError");
1361 return interface_->GetError(); 1447 return interface_->GetError();
1362 } 1448 }
1363 1449
1364 void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence, 1450 void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence,
1365 GLenum pname, 1451 GLenum pname,
1366 GLint* params) { 1452 GLint* params) {
1367 MakeFunctionUnique("glGetFenceivNV"); 1453 MakeFunctionUnique("glGetFenceivNV");
1368 interface_->GetFenceivNV(fence, pname, params); 1454 interface_->GetFenceivNV(fence, pname, params);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 void GL_BINDING_CALL 1642 void GL_BINDING_CALL
1557 MockGLInterface::Mock_glGetMultisamplefvRobustANGLE(GLenum pname, 1643 MockGLInterface::Mock_glGetMultisamplefvRobustANGLE(GLenum pname,
1558 GLuint index, 1644 GLuint index,
1559 GLsizei bufSize, 1645 GLsizei bufSize,
1560 GLsizei* length, 1646 GLsizei* length,
1561 GLfloat* val) { 1647 GLfloat* val) {
1562 MakeFunctionUnique("glGetMultisamplefvRobustANGLE"); 1648 MakeFunctionUnique("glGetMultisamplefvRobustANGLE");
1563 interface_->GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val); 1649 interface_->GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val);
1564 } 1650 }
1565 1651
1652 void GL_BINDING_CALL MockGLInterface::Mock_glGetObjectLabel(GLenum identifier,
1653 GLuint name,
1654 GLsizei bufSize,
1655 GLsizei* length,
1656 char* label) {
1657 MakeFunctionUnique("glGetObjectLabel");
1658 interface_->GetObjectLabel(identifier, name, bufSize, length, label);
1659 }
1660
1661 void GL_BINDING_CALL
1662 MockGLInterface::Mock_glGetObjectLabelKHR(GLenum identifier,
1663 GLuint name,
1664 GLsizei bufSize,
1665 GLsizei* length,
1666 char* label) {
1667 MakeFunctionUnique("glGetObjectLabelKHR");
1668 interface_->GetObjectLabel(identifier, name, bufSize, length, label);
1669 }
1670
1671 void GL_BINDING_CALL MockGLInterface::Mock_glGetObjectPtrLabel(void* ptr,
1672 GLsizei bufSize,
1673 GLsizei* length,
1674 char* label) {
1675 MakeFunctionUnique("glGetObjectPtrLabel");
1676 interface_->GetObjectPtrLabel(ptr, bufSize, length, label);
1677 }
1678
1679 void GL_BINDING_CALL
1680 MockGLInterface::Mock_glGetObjectPtrLabelKHR(void* ptr,
1681 GLsizei bufSize,
1682 GLsizei* length,
1683 char* label) {
1684 MakeFunctionUnique("glGetObjectPtrLabelKHR");
1685 interface_->GetObjectPtrLabel(ptr, bufSize, length, label);
1686 }
1687
1688 void GL_BINDING_CALL MockGLInterface::Mock_glGetPointerv(GLenum pname,
1689 void** params) {
1690 MakeFunctionUnique("glGetPointerv");
1691 interface_->GetPointerv(pname, params);
1692 }
1693
1694 void GL_BINDING_CALL MockGLInterface::Mock_glGetPointervKHR(GLenum pname,
1695 void** params) {
1696 MakeFunctionUnique("glGetPointervKHR");
1697 interface_->GetPointerv(pname, params);
1698 }
1699
1566 void GL_BINDING_CALL 1700 void GL_BINDING_CALL
1567 MockGLInterface::Mock_glGetPointervRobustANGLERobustANGLE(GLenum pname, 1701 MockGLInterface::Mock_glGetPointervRobustANGLERobustANGLE(GLenum pname,
1568 GLsizei bufSize, 1702 GLsizei bufSize,
1569 GLsizei* length, 1703 GLsizei* length,
1570 void** params) { 1704 void** params) {
1571 MakeFunctionUnique("glGetPointervRobustANGLERobustANGLE"); 1705 MakeFunctionUnique("glGetPointervRobustANGLERobustANGLE");
1572 interface_->GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params); 1706 interface_->GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params);
1573 } 1707 }
1574 1708
1575 void GL_BINDING_CALL 1709 void GL_BINDING_CALL
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
2499 MakeFunctionUnique("glMemoryBarrier"); 2633 MakeFunctionUnique("glMemoryBarrier");
2500 interface_->MemoryBarrierEXT(barriers); 2634 interface_->MemoryBarrierEXT(barriers);
2501 } 2635 }
2502 2636
2503 void GL_BINDING_CALL 2637 void GL_BINDING_CALL
2504 MockGLInterface::Mock_glMemoryBarrierEXT(GLbitfield barriers) { 2638 MockGLInterface::Mock_glMemoryBarrierEXT(GLbitfield barriers) {
2505 MakeFunctionUnique("glMemoryBarrierEXT"); 2639 MakeFunctionUnique("glMemoryBarrierEXT");
2506 interface_->MemoryBarrierEXT(barriers); 2640 interface_->MemoryBarrierEXT(barriers);
2507 } 2641 }
2508 2642
2643 void GL_BINDING_CALL MockGLInterface::Mock_glObjectLabel(GLenum identifier,
2644 GLuint name,
2645 GLsizei length,
2646 const char* label) {
2647 MakeFunctionUnique("glObjectLabel");
2648 interface_->ObjectLabel(identifier, name, length, label);
2649 }
2650
2651 void GL_BINDING_CALL MockGLInterface::Mock_glObjectLabelKHR(GLenum identifier,
2652 GLuint name,
2653 GLsizei length,
2654 const char* label) {
2655 MakeFunctionUnique("glObjectLabelKHR");
2656 interface_->ObjectLabel(identifier, name, length, label);
2657 }
2658
2659 void GL_BINDING_CALL MockGLInterface::Mock_glObjectPtrLabel(void* ptr,
2660 GLsizei length,
2661 const char* label) {
2662 MakeFunctionUnique("glObjectPtrLabel");
2663 interface_->ObjectPtrLabel(ptr, length, label);
2664 }
2665
2666 void GL_BINDING_CALL
2667 MockGLInterface::Mock_glObjectPtrLabelKHR(void* ptr,
2668 GLsizei length,
2669 const char* label) {
2670 MakeFunctionUnique("glObjectPtrLabelKHR");
2671 interface_->ObjectPtrLabel(ptr, length, label);
2672 }
2673
2509 void GL_BINDING_CALL 2674 void GL_BINDING_CALL
2510 MockGLInterface::Mock_glPathCommandsNV(GLuint path, 2675 MockGLInterface::Mock_glPathCommandsNV(GLuint path,
2511 GLsizei numCommands, 2676 GLsizei numCommands,
2512 const GLubyte* commands, 2677 const GLubyte* commands,
2513 GLsizei numCoords, 2678 GLsizei numCoords,
2514 GLenum coordType, 2679 GLenum coordType,
2515 const GLvoid* coords) { 2680 const GLvoid* coords) {
2516 MakeFunctionUnique("glPathCommandsNV"); 2681 MakeFunctionUnique("glPathCommandsNV");
2517 interface_->PathCommandsNV(path, numCommands, commands, numCoords, coordType, 2682 interface_->PathCommandsNV(path, numCommands, commands, numCoords, coordType,
2518 coords); 2683 coords);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2555 MakeFunctionUnique("glPointParameteri"); 2720 MakeFunctionUnique("glPointParameteri");
2556 interface_->PointParameteri(pname, param); 2721 interface_->PointParameteri(pname, param);
2557 } 2722 }
2558 2723
2559 void GL_BINDING_CALL MockGLInterface::Mock_glPolygonOffset(GLfloat factor, 2724 void GL_BINDING_CALL MockGLInterface::Mock_glPolygonOffset(GLfloat factor,
2560 GLfloat units) { 2725 GLfloat units) {
2561 MakeFunctionUnique("glPolygonOffset"); 2726 MakeFunctionUnique("glPolygonOffset");
2562 interface_->PolygonOffset(factor, units); 2727 interface_->PolygonOffset(factor, units);
2563 } 2728 }
2564 2729
2730 void GL_BINDING_CALL MockGLInterface::Mock_glPopDebugGroup() {
2731 MakeFunctionUnique("glPopDebugGroup");
2732 interface_->PopDebugGroup();
2733 }
2734
2735 void GL_BINDING_CALL MockGLInterface::Mock_glPopDebugGroupKHR() {
2736 MakeFunctionUnique("glPopDebugGroupKHR");
2737 interface_->PopDebugGroup();
2738 }
2739
2565 void GL_BINDING_CALL MockGLInterface::Mock_glPopGroupMarkerEXT(void) { 2740 void GL_BINDING_CALL MockGLInterface::Mock_glPopGroupMarkerEXT(void) {
2566 MakeFunctionUnique("glPopGroupMarkerEXT"); 2741 MakeFunctionUnique("glPopGroupMarkerEXT");
2567 interface_->PopGroupMarkerEXT(); 2742 interface_->PopGroupMarkerEXT();
2568 } 2743 }
2569 2744
2570 void GL_BINDING_CALL 2745 void GL_BINDING_CALL
2571 MockGLInterface::Mock_glPrimitiveRestartIndex(GLuint index) { 2746 MockGLInterface::Mock_glPrimitiveRestartIndex(GLuint index) {
2572 MakeFunctionUnique("glPrimitiveRestartIndex"); 2747 MakeFunctionUnique("glPrimitiveRestartIndex");
2573 interface_->PrimitiveRestartIndex(index); 2748 interface_->PrimitiveRestartIndex(index);
2574 } 2749 }
(...skipping 27 matching lines...) Expand all
2602 GLint location, 2777 GLint location,
2603 GLenum genMode, 2778 GLenum genMode,
2604 GLint components, 2779 GLint components,
2605 const GLfloat* coeffs) { 2780 const GLfloat* coeffs) {
2606 MakeFunctionUnique("glProgramPathFragmentInputGenNV"); 2781 MakeFunctionUnique("glProgramPathFragmentInputGenNV");
2607 interface_->ProgramPathFragmentInputGenNV(program, location, genMode, 2782 interface_->ProgramPathFragmentInputGenNV(program, location, genMode,
2608 components, coeffs); 2783 components, coeffs);
2609 } 2784 }
2610 2785
2611 void GL_BINDING_CALL 2786 void GL_BINDING_CALL
2787 MockGLInterface::Mock_glPushDebugGroup(GLenum source,
2788 GLuint id,
2789 GLsizei length,
2790 const char* message) {
2791 MakeFunctionUnique("glPushDebugGroup");
2792 interface_->PushDebugGroup(source, id, length, message);
2793 }
2794
2795 void GL_BINDING_CALL
2796 MockGLInterface::Mock_glPushDebugGroupKHR(GLenum source,
2797 GLuint id,
2798 GLsizei length,
2799 const char* message) {
2800 MakeFunctionUnique("glPushDebugGroupKHR");
2801 interface_->PushDebugGroup(source, id, length, message);
2802 }
2803
2804 void GL_BINDING_CALL
2612 MockGLInterface::Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker) { 2805 MockGLInterface::Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker) {
2613 MakeFunctionUnique("glPushGroupMarkerEXT"); 2806 MakeFunctionUnique("glPushGroupMarkerEXT");
2614 interface_->PushGroupMarkerEXT(length, marker); 2807 interface_->PushGroupMarkerEXT(length, marker);
2615 } 2808 }
2616 2809
2617 void GL_BINDING_CALL MockGLInterface::Mock_glQueryCounter(GLuint id, 2810 void GL_BINDING_CALL MockGLInterface::Mock_glQueryCounter(GLuint id,
2618 GLenum target) { 2811 GLenum target) {
2619 MakeFunctionUnique("glQueryCounter"); 2812 MakeFunctionUnique("glQueryCounter");
2620 interface_->QueryCounter(id, target); 2813 interface_->QueryCounter(id, target);
2621 } 2814 }
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
3818 if (strcmp(name, "glCoverStrokePathNV") == 0) 4011 if (strcmp(name, "glCoverStrokePathNV") == 0)
3819 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV); 4012 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV);
3820 if (strcmp(name, "glCoverageModulationNV") == 0) 4013 if (strcmp(name, "glCoverageModulationNV") == 0)
3821 return reinterpret_cast<void*>(Mock_glCoverageModulationNV); 4014 return reinterpret_cast<void*>(Mock_glCoverageModulationNV);
3822 if (strcmp(name, "glCreateProgram") == 0) 4015 if (strcmp(name, "glCreateProgram") == 0)
3823 return reinterpret_cast<void*>(Mock_glCreateProgram); 4016 return reinterpret_cast<void*>(Mock_glCreateProgram);
3824 if (strcmp(name, "glCreateShader") == 0) 4017 if (strcmp(name, "glCreateShader") == 0)
3825 return reinterpret_cast<void*>(Mock_glCreateShader); 4018 return reinterpret_cast<void*>(Mock_glCreateShader);
3826 if (strcmp(name, "glCullFace") == 0) 4019 if (strcmp(name, "glCullFace") == 0)
3827 return reinterpret_cast<void*>(Mock_glCullFace); 4020 return reinterpret_cast<void*>(Mock_glCullFace);
4021 if (strcmp(name, "glDebugMessageCallback") == 0)
4022 return reinterpret_cast<void*>(Mock_glDebugMessageCallback);
4023 if (strcmp(name, "glDebugMessageCallbackKHR") == 0)
4024 return reinterpret_cast<void*>(Mock_glDebugMessageCallbackKHR);
4025 if (strcmp(name, "glDebugMessageControl") == 0)
4026 return reinterpret_cast<void*>(Mock_glDebugMessageControl);
4027 if (strcmp(name, "glDebugMessageControlKHR") == 0)
4028 return reinterpret_cast<void*>(Mock_glDebugMessageControlKHR);
4029 if (strcmp(name, "glDebugMessageInsert") == 0)
4030 return reinterpret_cast<void*>(Mock_glDebugMessageInsert);
4031 if (strcmp(name, "glDebugMessageInsertKHR") == 0)
4032 return reinterpret_cast<void*>(Mock_glDebugMessageInsertKHR);
3828 if (strcmp(name, "glDeleteBuffers") == 0) 4033 if (strcmp(name, "glDeleteBuffers") == 0)
3829 return reinterpret_cast<void*>(Mock_glDeleteBuffers); 4034 return reinterpret_cast<void*>(Mock_glDeleteBuffers);
3830 if (strcmp(name, "glDeleteFencesAPPLE") == 0) 4035 if (strcmp(name, "glDeleteFencesAPPLE") == 0)
3831 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); 4036 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE);
3832 if (strcmp(name, "glDeleteFencesNV") == 0) 4037 if (strcmp(name, "glDeleteFencesNV") == 0)
3833 return reinterpret_cast<void*>(Mock_glDeleteFencesNV); 4038 return reinterpret_cast<void*>(Mock_glDeleteFencesNV);
3834 if (strcmp(name, "glDeleteFramebuffers") == 0) 4039 if (strcmp(name, "glDeleteFramebuffers") == 0)
3835 return reinterpret_cast<void*>(Mock_glDeleteFramebuffers); 4040 return reinterpret_cast<void*>(Mock_glDeleteFramebuffers);
3836 if (strcmp(name, "glDeleteFramebuffersEXT") == 0) 4041 if (strcmp(name, "glDeleteFramebuffersEXT") == 0)
3837 return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT); 4042 return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT);
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
4014 if (strcmp(name, "glGetBooleanvRobustANGLE") == 0) 4219 if (strcmp(name, "glGetBooleanvRobustANGLE") == 0)
4015 return reinterpret_cast<void*>(Mock_glGetBooleanvRobustANGLE); 4220 return reinterpret_cast<void*>(Mock_glGetBooleanvRobustANGLE);
4016 if (strcmp(name, "glGetBufferParameteri64vRobustANGLE") == 0) 4221 if (strcmp(name, "glGetBufferParameteri64vRobustANGLE") == 0)
4017 return reinterpret_cast<void*>(Mock_glGetBufferParameteri64vRobustANGLE); 4222 return reinterpret_cast<void*>(Mock_glGetBufferParameteri64vRobustANGLE);
4018 if (strcmp(name, "glGetBufferParameteriv") == 0) 4223 if (strcmp(name, "glGetBufferParameteriv") == 0)
4019 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); 4224 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv);
4020 if (strcmp(name, "glGetBufferParameterivRobustANGLE") == 0) 4225 if (strcmp(name, "glGetBufferParameterivRobustANGLE") == 0)
4021 return reinterpret_cast<void*>(Mock_glGetBufferParameterivRobustANGLE); 4226 return reinterpret_cast<void*>(Mock_glGetBufferParameterivRobustANGLE);
4022 if (strcmp(name, "glGetBufferPointervRobustANGLE") == 0) 4227 if (strcmp(name, "glGetBufferPointervRobustANGLE") == 0)
4023 return reinterpret_cast<void*>(Mock_glGetBufferPointervRobustANGLE); 4228 return reinterpret_cast<void*>(Mock_glGetBufferPointervRobustANGLE);
4229 if (strcmp(name, "glGetDebugMessageLog") == 0)
4230 return reinterpret_cast<void*>(Mock_glGetDebugMessageLog);
4231 if (strcmp(name, "glGetDebugMessageLogKHR") == 0)
4232 return reinterpret_cast<void*>(Mock_glGetDebugMessageLogKHR);
4024 if (strcmp(name, "glGetError") == 0) 4233 if (strcmp(name, "glGetError") == 0)
4025 return reinterpret_cast<void*>(Mock_glGetError); 4234 return reinterpret_cast<void*>(Mock_glGetError);
4026 if (strcmp(name, "glGetFenceivNV") == 0) 4235 if (strcmp(name, "glGetFenceivNV") == 0)
4027 return reinterpret_cast<void*>(Mock_glGetFenceivNV); 4236 return reinterpret_cast<void*>(Mock_glGetFenceivNV);
4028 if (strcmp(name, "glGetFloatv") == 0) 4237 if (strcmp(name, "glGetFloatv") == 0)
4029 return reinterpret_cast<void*>(Mock_glGetFloatv); 4238 return reinterpret_cast<void*>(Mock_glGetFloatv);
4030 if (strcmp(name, "glGetFloatvRobustANGLE") == 0) 4239 if (strcmp(name, "glGetFloatvRobustANGLE") == 0)
4031 return reinterpret_cast<void*>(Mock_glGetFloatvRobustANGLE); 4240 return reinterpret_cast<void*>(Mock_glGetFloatvRobustANGLE);
4032 if (strcmp(name, "glGetFragDataIndex") == 0) 4241 if (strcmp(name, "glGetFragDataIndex") == 0)
4033 return reinterpret_cast<void*>(Mock_glGetFragDataIndex); 4242 return reinterpret_cast<void*>(Mock_glGetFragDataIndex);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4068 if (strcmp(name, "glGetIntegerv") == 0) 4277 if (strcmp(name, "glGetIntegerv") == 0)
4069 return reinterpret_cast<void*>(Mock_glGetIntegerv); 4278 return reinterpret_cast<void*>(Mock_glGetIntegerv);
4070 if (strcmp(name, "glGetIntegervRobustANGLE") == 0) 4279 if (strcmp(name, "glGetIntegervRobustANGLE") == 0)
4071 return reinterpret_cast<void*>(Mock_glGetIntegervRobustANGLE); 4280 return reinterpret_cast<void*>(Mock_glGetIntegervRobustANGLE);
4072 if (strcmp(name, "glGetInternalformativ") == 0) 4281 if (strcmp(name, "glGetInternalformativ") == 0)
4073 return reinterpret_cast<void*>(Mock_glGetInternalformativ); 4282 return reinterpret_cast<void*>(Mock_glGetInternalformativ);
4074 if (strcmp(name, "glGetInternalformativRobustANGLE") == 0) 4283 if (strcmp(name, "glGetInternalformativRobustANGLE") == 0)
4075 return reinterpret_cast<void*>(Mock_glGetInternalformativRobustANGLE); 4284 return reinterpret_cast<void*>(Mock_glGetInternalformativRobustANGLE);
4076 if (strcmp(name, "glGetMultisamplefvRobustANGLE") == 0) 4285 if (strcmp(name, "glGetMultisamplefvRobustANGLE") == 0)
4077 return reinterpret_cast<void*>(Mock_glGetMultisamplefvRobustANGLE); 4286 return reinterpret_cast<void*>(Mock_glGetMultisamplefvRobustANGLE);
4287 if (strcmp(name, "glGetObjectLabel") == 0)
4288 return reinterpret_cast<void*>(Mock_glGetObjectLabel);
4289 if (strcmp(name, "glGetObjectLabelKHR") == 0)
4290 return reinterpret_cast<void*>(Mock_glGetObjectLabelKHR);
4291 if (strcmp(name, "glGetObjectPtrLabel") == 0)
4292 return reinterpret_cast<void*>(Mock_glGetObjectPtrLabel);
4293 if (strcmp(name, "glGetObjectPtrLabelKHR") == 0)
4294 return reinterpret_cast<void*>(Mock_glGetObjectPtrLabelKHR);
4295 if (strcmp(name, "glGetPointerv") == 0)
4296 return reinterpret_cast<void*>(Mock_glGetPointerv);
4297 if (strcmp(name, "glGetPointervKHR") == 0)
4298 return reinterpret_cast<void*>(Mock_glGetPointervKHR);
4078 if (strcmp(name, "glGetPointervRobustANGLERobustANGLE") == 0) 4299 if (strcmp(name, "glGetPointervRobustANGLERobustANGLE") == 0)
4079 return reinterpret_cast<void*>(Mock_glGetPointervRobustANGLERobustANGLE); 4300 return reinterpret_cast<void*>(Mock_glGetPointervRobustANGLERobustANGLE);
4080 if (strcmp(name, "glGetProgramBinary") == 0) 4301 if (strcmp(name, "glGetProgramBinary") == 0)
4081 return reinterpret_cast<void*>(Mock_glGetProgramBinary); 4302 return reinterpret_cast<void*>(Mock_glGetProgramBinary);
4082 if (strcmp(name, "glGetProgramBinaryOES") == 0) 4303 if (strcmp(name, "glGetProgramBinaryOES") == 0)
4083 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES); 4304 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES);
4084 if (strcmp(name, "glGetProgramInfoLog") == 0) 4305 if (strcmp(name, "glGetProgramInfoLog") == 0)
4085 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog); 4306 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog);
4086 if (strcmp(name, "glGetProgramInterfaceiv") == 0) 4307 if (strcmp(name, "glGetProgramInterfaceiv") == 0)
4087 return reinterpret_cast<void*>(Mock_glGetProgramInterfaceiv); 4308 return reinterpret_cast<void*>(Mock_glGetProgramInterfaceiv);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
4297 if (strcmp(name, "glMapBufferRangeEXT") == 0) 4518 if (strcmp(name, "glMapBufferRangeEXT") == 0)
4298 return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT); 4519 return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT);
4299 if (strcmp(name, "glMatrixLoadIdentityEXT") == 0) 4520 if (strcmp(name, "glMatrixLoadIdentityEXT") == 0)
4300 return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT); 4521 return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT);
4301 if (strcmp(name, "glMatrixLoadfEXT") == 0) 4522 if (strcmp(name, "glMatrixLoadfEXT") == 0)
4302 return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT); 4523 return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT);
4303 if (strcmp(name, "glMemoryBarrier") == 0) 4524 if (strcmp(name, "glMemoryBarrier") == 0)
4304 return reinterpret_cast<void*>(Mock_glMemoryBarrier); 4525 return reinterpret_cast<void*>(Mock_glMemoryBarrier);
4305 if (strcmp(name, "glMemoryBarrierEXT") == 0) 4526 if (strcmp(name, "glMemoryBarrierEXT") == 0)
4306 return reinterpret_cast<void*>(Mock_glMemoryBarrierEXT); 4527 return reinterpret_cast<void*>(Mock_glMemoryBarrierEXT);
4528 if (strcmp(name, "glObjectLabel") == 0)
4529 return reinterpret_cast<void*>(Mock_glObjectLabel);
4530 if (strcmp(name, "glObjectLabelKHR") == 0)
4531 return reinterpret_cast<void*>(Mock_glObjectLabelKHR);
4532 if (strcmp(name, "glObjectPtrLabel") == 0)
4533 return reinterpret_cast<void*>(Mock_glObjectPtrLabel);
4534 if (strcmp(name, "glObjectPtrLabelKHR") == 0)
4535 return reinterpret_cast<void*>(Mock_glObjectPtrLabelKHR);
4307 if (strcmp(name, "glPathCommandsNV") == 0) 4536 if (strcmp(name, "glPathCommandsNV") == 0)
4308 return reinterpret_cast<void*>(Mock_glPathCommandsNV); 4537 return reinterpret_cast<void*>(Mock_glPathCommandsNV);
4309 if (strcmp(name, "glPathParameterfNV") == 0) 4538 if (strcmp(name, "glPathParameterfNV") == 0)
4310 return reinterpret_cast<void*>(Mock_glPathParameterfNV); 4539 return reinterpret_cast<void*>(Mock_glPathParameterfNV);
4311 if (strcmp(name, "glPathParameteriNV") == 0) 4540 if (strcmp(name, "glPathParameteriNV") == 0)
4312 return reinterpret_cast<void*>(Mock_glPathParameteriNV); 4541 return reinterpret_cast<void*>(Mock_glPathParameteriNV);
4313 if (strcmp(name, "glPathStencilFuncNV") == 0) 4542 if (strcmp(name, "glPathStencilFuncNV") == 0)
4314 return reinterpret_cast<void*>(Mock_glPathStencilFuncNV); 4543 return reinterpret_cast<void*>(Mock_glPathStencilFuncNV);
4315 if (strcmp(name, "glPauseTransformFeedback") == 0) 4544 if (strcmp(name, "glPauseTransformFeedback") == 0)
4316 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); 4545 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback);
4317 if (strcmp(name, "glPixelStorei") == 0) 4546 if (strcmp(name, "glPixelStorei") == 0)
4318 return reinterpret_cast<void*>(Mock_glPixelStorei); 4547 return reinterpret_cast<void*>(Mock_glPixelStorei);
4319 if (strcmp(name, "glPointParameteri") == 0) 4548 if (strcmp(name, "glPointParameteri") == 0)
4320 return reinterpret_cast<void*>(Mock_glPointParameteri); 4549 return reinterpret_cast<void*>(Mock_glPointParameteri);
4321 if (strcmp(name, "glPolygonOffset") == 0) 4550 if (strcmp(name, "glPolygonOffset") == 0)
4322 return reinterpret_cast<void*>(Mock_glPolygonOffset); 4551 return reinterpret_cast<void*>(Mock_glPolygonOffset);
4552 if (strcmp(name, "glPopDebugGroup") == 0)
4553 return reinterpret_cast<void*>(Mock_glPopDebugGroup);
4554 if (strcmp(name, "glPopDebugGroupKHR") == 0)
4555 return reinterpret_cast<void*>(Mock_glPopDebugGroupKHR);
4323 if (strcmp(name, "glPopGroupMarkerEXT") == 0) 4556 if (strcmp(name, "glPopGroupMarkerEXT") == 0)
4324 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); 4557 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT);
4325 if (strcmp(name, "glPrimitiveRestartIndex") == 0) 4558 if (strcmp(name, "glPrimitiveRestartIndex") == 0)
4326 return reinterpret_cast<void*>(Mock_glPrimitiveRestartIndex); 4559 return reinterpret_cast<void*>(Mock_glPrimitiveRestartIndex);
4327 if (strcmp(name, "glProgramBinary") == 0) 4560 if (strcmp(name, "glProgramBinary") == 0)
4328 return reinterpret_cast<void*>(Mock_glProgramBinary); 4561 return reinterpret_cast<void*>(Mock_glProgramBinary);
4329 if (strcmp(name, "glProgramBinaryOES") == 0) 4562 if (strcmp(name, "glProgramBinaryOES") == 0)
4330 return reinterpret_cast<void*>(Mock_glProgramBinaryOES); 4563 return reinterpret_cast<void*>(Mock_glProgramBinaryOES);
4331 if (strcmp(name, "glProgramParameteri") == 0) 4564 if (strcmp(name, "glProgramParameteri") == 0)
4332 return reinterpret_cast<void*>(Mock_glProgramParameteri); 4565 return reinterpret_cast<void*>(Mock_glProgramParameteri);
4333 if (strcmp(name, "glProgramPathFragmentInputGenNV") == 0) 4566 if (strcmp(name, "glProgramPathFragmentInputGenNV") == 0)
4334 return reinterpret_cast<void*>(Mock_glProgramPathFragmentInputGenNV); 4567 return reinterpret_cast<void*>(Mock_glProgramPathFragmentInputGenNV);
4568 if (strcmp(name, "glPushDebugGroup") == 0)
4569 return reinterpret_cast<void*>(Mock_glPushDebugGroup);
4570 if (strcmp(name, "glPushDebugGroupKHR") == 0)
4571 return reinterpret_cast<void*>(Mock_glPushDebugGroupKHR);
4335 if (strcmp(name, "glPushGroupMarkerEXT") == 0) 4572 if (strcmp(name, "glPushGroupMarkerEXT") == 0)
4336 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT); 4573 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT);
4337 if (strcmp(name, "glQueryCounter") == 0) 4574 if (strcmp(name, "glQueryCounter") == 0)
4338 return reinterpret_cast<void*>(Mock_glQueryCounter); 4575 return reinterpret_cast<void*>(Mock_glQueryCounter);
4339 if (strcmp(name, "glQueryCounterEXT") == 0) 4576 if (strcmp(name, "glQueryCounterEXT") == 0)
4340 return reinterpret_cast<void*>(Mock_glQueryCounterEXT); 4577 return reinterpret_cast<void*>(Mock_glQueryCounterEXT);
4341 if (strcmp(name, "glReadBuffer") == 0) 4578 if (strcmp(name, "glReadBuffer") == 0)
4342 return reinterpret_cast<void*>(Mock_glReadBuffer); 4579 return reinterpret_cast<void*>(Mock_glReadBuffer);
4343 if (strcmp(name, "glReadPixels") == 0) 4580 if (strcmp(name, "glReadPixels") == 0)
4344 return reinterpret_cast<void*>(Mock_glReadPixels); 4581 return reinterpret_cast<void*>(Mock_glReadPixels);
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
4576 if (strcmp(name, "glVertexAttribPointer") == 0) 4813 if (strcmp(name, "glVertexAttribPointer") == 0)
4577 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); 4814 return reinterpret_cast<void*>(Mock_glVertexAttribPointer);
4578 if (strcmp(name, "glViewport") == 0) 4815 if (strcmp(name, "glViewport") == 0)
4579 return reinterpret_cast<void*>(Mock_glViewport); 4816 return reinterpret_cast<void*>(Mock_glViewport);
4580 if (strcmp(name, "glWaitSync") == 0) 4817 if (strcmp(name, "glWaitSync") == 0)
4581 return reinterpret_cast<void*>(Mock_glWaitSync); 4818 return reinterpret_cast<void*>(Mock_glWaitSync);
4582 return reinterpret_cast<void*>(&MockInvalidFunction); 4819 return reinterpret_cast<void*>(&MockInvalidFunction);
4583 } 4820 }
4584 4821
4585 } // namespace gl 4822 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_enums_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698