@nativescript/canvas 2.0.0-alpha.36 → 2.0.0-alpha.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/Canvas/common.js +4 -4
  2. package/WebGL/WebGLRenderingContext/common.d.ts +1 -1
  3. package/WebGL/WebGLRenderingContext/common.js +3 -3
  4. package/WebGL/WebGLRenderingContext/common.js.map +1 -1
  5. package/WebGL/WebGLRenderingContext/index.d.ts +4 -2
  6. package/WebGL/WebGLRenderingContext/index.js +143 -141
  7. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  8. package/WebGL2/WebGL2RenderingContext/common.d.ts +2 -2
  9. package/WebGL2/WebGL2RenderingContext/common.js +2 -2
  10. package/WebGL2/WebGL2RenderingContext/common.js.map +1 -1
  11. package/package.json +1 -1
  12. package/platforms/android/canvas-release.aar +0 -0
  13. package/platforms/ios/CanvasNative.xcframework/Info.plist +5 -5
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +4 -4
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { WebGLRenderingContextBase } from './common';
10
+ import { WebGLRenderingCommon } from './common';
11
11
  import { WebGLShader } from '../WebGLShader';
12
12
  import { WebGLFramebuffer } from '../WebGLFramebuffer';
13
13
  import { WebGLTexture } from '../WebGLTexture';
@@ -24,7 +24,7 @@ import { Canvas } from '../../Canvas';
24
24
  import { ImageBitmap } from '../../ImageBitmap';
25
25
  import { Helpers } from '../../helpers';
26
26
  let ctor;
27
- export class WebGLRenderingContext extends WebGLRenderingContextBase {
27
+ export class WebGLRenderingContextBase extends WebGLRenderingCommon {
28
28
  constructor(context, contextOptions) {
29
29
  super(context);
30
30
  this._flipY = false;
@@ -816,8 +816,8 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
816
816
  }
817
817
  }
818
818
  }
819
- WebGLRenderingContext.isDebug = false;
820
- WebGLRenderingContext.filter = 'both';
819
+ WebGLRenderingContextBase.isDebug = false;
820
+ WebGLRenderingContextBase.filter = 'both';
821
821
  (() => {
822
822
  Helpers.initialize();
823
823
  })();
@@ -826,821 +826,823 @@ __decorate([
826
826
  __metadata("design:type", Function),
827
827
  __metadata("design:paramtypes", [Number]),
828
828
  __metadata("design:returntype", void 0)
829
- ], WebGLRenderingContext.prototype, "activeTexture", null);
829
+ ], WebGLRenderingContextBase.prototype, "activeTexture", null);
830
830
  __decorate([
831
831
  profile,
832
832
  __metadata("design:type", Function),
833
833
  __metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
834
834
  __metadata("design:returntype", void 0)
835
- ], WebGLRenderingContext.prototype, "attachShader", null);
835
+ ], WebGLRenderingContextBase.prototype, "attachShader", null);
836
836
  __decorate([
837
837
  profile,
838
838
  __metadata("design:type", Function),
839
839
  __metadata("design:paramtypes", [WebGLProgram, Number, String]),
840
840
  __metadata("design:returntype", void 0)
841
- ], WebGLRenderingContext.prototype, "bindAttribLocation", null);
841
+ ], WebGLRenderingContextBase.prototype, "bindAttribLocation", null);
842
842
  __decorate([
843
843
  profile,
844
844
  __metadata("design:type", Function),
845
845
  __metadata("design:paramtypes", [Number, WebGLBuffer]),
846
846
  __metadata("design:returntype", void 0)
847
- ], WebGLRenderingContext.prototype, "bindBuffer", null);
847
+ ], WebGLRenderingContextBase.prototype, "bindBuffer", null);
848
848
  __decorate([
849
849
  profile,
850
850
  __metadata("design:type", Function),
851
851
  __metadata("design:paramtypes", [Number, WebGLFramebuffer]),
852
852
  __metadata("design:returntype", void 0)
853
- ], WebGLRenderingContext.prototype, "bindFramebuffer", null);
853
+ ], WebGLRenderingContextBase.prototype, "bindFramebuffer", null);
854
854
  __decorate([
855
855
  profile,
856
856
  __metadata("design:type", Function),
857
857
  __metadata("design:paramtypes", [Number, WebGLRenderbuffer]),
858
858
  __metadata("design:returntype", void 0)
859
- ], WebGLRenderingContext.prototype, "bindRenderbuffer", null);
859
+ ], WebGLRenderingContextBase.prototype, "bindRenderbuffer", null);
860
860
  __decorate([
861
861
  profile,
862
862
  __metadata("design:type", Function),
863
863
  __metadata("design:paramtypes", [Number, WebGLTexture]),
864
864
  __metadata("design:returntype", void 0)
865
- ], WebGLRenderingContext.prototype, "bindTexture", null);
865
+ ], WebGLRenderingContextBase.prototype, "bindTexture", null);
866
866
  __decorate([
867
867
  profile,
868
868
  __metadata("design:type", Function),
869
869
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
870
870
  __metadata("design:returntype", void 0)
871
- ], WebGLRenderingContext.prototype, "blendColor", null);
871
+ ], WebGLRenderingContextBase.prototype, "blendColor", null);
872
872
  __decorate([
873
873
  profile,
874
874
  __metadata("design:type", Function),
875
875
  __metadata("design:paramtypes", [Number, Number]),
876
876
  __metadata("design:returntype", void 0)
877
- ], WebGLRenderingContext.prototype, "blendEquationSeparate", null);
877
+ ], WebGLRenderingContextBase.prototype, "blendEquationSeparate", null);
878
878
  __decorate([
879
879
  profile,
880
880
  __metadata("design:type", Function),
881
881
  __metadata("design:paramtypes", [Number]),
882
882
  __metadata("design:returntype", void 0)
883
- ], WebGLRenderingContext.prototype, "blendEquation", null);
883
+ ], WebGLRenderingContextBase.prototype, "blendEquation", null);
884
884
  __decorate([
885
885
  profile,
886
886
  __metadata("design:type", Function),
887
887
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
888
888
  __metadata("design:returntype", void 0)
889
- ], WebGLRenderingContext.prototype, "blendFuncSeparate", null);
889
+ ], WebGLRenderingContextBase.prototype, "blendFuncSeparate", null);
890
890
  __decorate([
891
891
  profile,
892
892
  __metadata("design:type", Function),
893
893
  __metadata("design:paramtypes", [Number, Number]),
894
894
  __metadata("design:returntype", void 0)
895
- ], WebGLRenderingContext.prototype, "blendFunc", null);
895
+ ], WebGLRenderingContextBase.prototype, "blendFunc", null);
896
896
  __decorate([
897
897
  profile,
898
898
  __metadata("design:type", Function),
899
899
  __metadata("design:paramtypes", [Object, Object, Object]),
900
900
  __metadata("design:returntype", void 0)
901
- ], WebGLRenderingContext.prototype, "bufferData", null);
901
+ ], WebGLRenderingContextBase.prototype, "bufferData", null);
902
902
  __decorate([
903
903
  profile,
904
904
  __metadata("design:type", Function),
905
905
  __metadata("design:paramtypes", [Number, Number, Object]),
906
906
  __metadata("design:returntype", void 0)
907
- ], WebGLRenderingContext.prototype, "bufferSubData", null);
907
+ ], WebGLRenderingContextBase.prototype, "bufferSubData", null);
908
908
  __decorate([
909
909
  profile,
910
910
  __metadata("design:type", Function),
911
911
  __metadata("design:paramtypes", [Number]),
912
912
  __metadata("design:returntype", Number)
913
- ], WebGLRenderingContext.prototype, "checkFramebufferStatus", null);
913
+ ], WebGLRenderingContextBase.prototype, "checkFramebufferStatus", null);
914
914
  __decorate([
915
915
  profile,
916
916
  __metadata("design:type", Function),
917
917
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
918
918
  __metadata("design:returntype", void 0)
919
- ], WebGLRenderingContext.prototype, "clearColor", null);
919
+ ], WebGLRenderingContextBase.prototype, "clearColor", null);
920
920
  __decorate([
921
921
  profile,
922
922
  __metadata("design:type", Function),
923
923
  __metadata("design:paramtypes", [Number]),
924
924
  __metadata("design:returntype", void 0)
925
- ], WebGLRenderingContext.prototype, "clearDepth", null);
925
+ ], WebGLRenderingContextBase.prototype, "clearDepth", null);
926
926
  __decorate([
927
927
  profile,
928
928
  __metadata("design:type", Function),
929
929
  __metadata("design:paramtypes", [Number]),
930
930
  __metadata("design:returntype", void 0)
931
- ], WebGLRenderingContext.prototype, "clearStencil", null);
931
+ ], WebGLRenderingContextBase.prototype, "clearStencil", null);
932
932
  __decorate([
933
933
  profile,
934
934
  __metadata("design:type", Function),
935
935
  __metadata("design:paramtypes", [Number]),
936
936
  __metadata("design:returntype", void 0)
937
- ], WebGLRenderingContext.prototype, "clear", null);
937
+ ], WebGLRenderingContextBase.prototype, "clear", null);
938
938
  __decorate([
939
939
  profile,
940
940
  __metadata("design:type", Function),
941
941
  __metadata("design:paramtypes", [Boolean, Boolean, Boolean, Boolean]),
942
942
  __metadata("design:returntype", void 0)
943
- ], WebGLRenderingContext.prototype, "colorMask", null);
943
+ ], WebGLRenderingContextBase.prototype, "colorMask", null);
944
944
  __decorate([
945
945
  profile,
946
946
  __metadata("design:type", Function),
947
947
  __metadata("design:paramtypes", []),
948
948
  __metadata("design:returntype", void 0)
949
- ], WebGLRenderingContext.prototype, "commit", null);
949
+ ], WebGLRenderingContextBase.prototype, "commit", null);
950
950
  __decorate([
951
951
  profile,
952
952
  __metadata("design:type", Function),
953
953
  __metadata("design:paramtypes", [WebGLShader]),
954
954
  __metadata("design:returntype", void 0)
955
- ], WebGLRenderingContext.prototype, "compileShader", null);
955
+ ], WebGLRenderingContextBase.prototype, "compileShader", null);
956
956
  __decorate([
957
957
  profile,
958
958
  __metadata("design:type", Function),
959
959
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
960
960
  __metadata("design:returntype", void 0)
961
- ], WebGLRenderingContext.prototype, "compressedTexImage2D", null);
961
+ ], WebGLRenderingContextBase.prototype, "compressedTexImage2D", null);
962
962
  __decorate([
963
963
  profile,
964
964
  __metadata("design:type", Function),
965
965
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Object]),
966
966
  __metadata("design:returntype", void 0)
967
- ], WebGLRenderingContext.prototype, "compressedTexSubImage2D", null);
967
+ ], WebGLRenderingContextBase.prototype, "compressedTexSubImage2D", null);
968
968
  __decorate([
969
969
  profile,
970
970
  __metadata("design:type", Function),
971
971
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
972
972
  __metadata("design:returntype", void 0)
973
- ], WebGLRenderingContext.prototype, "copyTexImage2D", null);
973
+ ], WebGLRenderingContextBase.prototype, "copyTexImage2D", null);
974
974
  __decorate([
975
975
  profile,
976
976
  __metadata("design:type", Function),
977
977
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
978
978
  __metadata("design:returntype", void 0)
979
- ], WebGLRenderingContext.prototype, "copyTexSubImage2D", null);
979
+ ], WebGLRenderingContextBase.prototype, "copyTexSubImage2D", null);
980
980
  __decorate([
981
981
  profile,
982
982
  __metadata("design:type", Function),
983
983
  __metadata("design:paramtypes", []),
984
984
  __metadata("design:returntype", WebGLBuffer)
985
- ], WebGLRenderingContext.prototype, "createBuffer", null);
985
+ ], WebGLRenderingContextBase.prototype, "createBuffer", null);
986
986
  __decorate([
987
987
  profile,
988
988
  __metadata("design:type", Function),
989
989
  __metadata("design:paramtypes", []),
990
990
  __metadata("design:returntype", WebGLFramebuffer)
991
- ], WebGLRenderingContext.prototype, "createFramebuffer", null);
991
+ ], WebGLRenderingContextBase.prototype, "createFramebuffer", null);
992
992
  __decorate([
993
993
  profile,
994
994
  __metadata("design:type", Function),
995
995
  __metadata("design:paramtypes", []),
996
996
  __metadata("design:returntype", WebGLProgram)
997
- ], WebGLRenderingContext.prototype, "createProgram", null);
997
+ ], WebGLRenderingContextBase.prototype, "createProgram", null);
998
998
  __decorate([
999
999
  profile,
1000
1000
  __metadata("design:type", Function),
1001
1001
  __metadata("design:paramtypes", []),
1002
1002
  __metadata("design:returntype", WebGLRenderbuffer)
1003
- ], WebGLRenderingContext.prototype, "createRenderbuffer", null);
1003
+ ], WebGLRenderingContextBase.prototype, "createRenderbuffer", null);
1004
1004
  __decorate([
1005
1005
  profile,
1006
1006
  __metadata("design:type", Function),
1007
1007
  __metadata("design:paramtypes", [Number]),
1008
1008
  __metadata("design:returntype", WebGLShader)
1009
- ], WebGLRenderingContext.prototype, "createShader", null);
1009
+ ], WebGLRenderingContextBase.prototype, "createShader", null);
1010
1010
  __decorate([
1011
1011
  profile,
1012
1012
  __metadata("design:type", Function),
1013
1013
  __metadata("design:paramtypes", []),
1014
1014
  __metadata("design:returntype", WebGLTexture)
1015
- ], WebGLRenderingContext.prototype, "createTexture", null);
1015
+ ], WebGLRenderingContextBase.prototype, "createTexture", null);
1016
1016
  __decorate([
1017
1017
  profile,
1018
1018
  __metadata("design:type", Function),
1019
1019
  __metadata("design:paramtypes", [Number]),
1020
1020
  __metadata("design:returntype", void 0)
1021
- ], WebGLRenderingContext.prototype, "cullFace", null);
1021
+ ], WebGLRenderingContextBase.prototype, "cullFace", null);
1022
1022
  __decorate([
1023
1023
  profile,
1024
1024
  __metadata("design:type", Function),
1025
1025
  __metadata("design:paramtypes", [WebGLBuffer]),
1026
1026
  __metadata("design:returntype", void 0)
1027
- ], WebGLRenderingContext.prototype, "deleteBuffer", null);
1027
+ ], WebGLRenderingContextBase.prototype, "deleteBuffer", null);
1028
1028
  __decorate([
1029
1029
  profile,
1030
1030
  __metadata("design:type", Function),
1031
1031
  __metadata("design:paramtypes", [WebGLFramebuffer]),
1032
1032
  __metadata("design:returntype", void 0)
1033
- ], WebGLRenderingContext.prototype, "deleteFramebuffer", null);
1033
+ ], WebGLRenderingContextBase.prototype, "deleteFramebuffer", null);
1034
1034
  __decorate([
1035
1035
  profile,
1036
1036
  __metadata("design:type", Function),
1037
1037
  __metadata("design:paramtypes", [WebGLProgram]),
1038
1038
  __metadata("design:returntype", void 0)
1039
- ], WebGLRenderingContext.prototype, "deleteProgram", null);
1039
+ ], WebGLRenderingContextBase.prototype, "deleteProgram", null);
1040
1040
  __decorate([
1041
1041
  profile,
1042
1042
  __metadata("design:type", Function),
1043
1043
  __metadata("design:paramtypes", [WebGLRenderbuffer]),
1044
1044
  __metadata("design:returntype", void 0)
1045
- ], WebGLRenderingContext.prototype, "deleteRenderbuffer", null);
1045
+ ], WebGLRenderingContextBase.prototype, "deleteRenderbuffer", null);
1046
1046
  __decorate([
1047
1047
  profile,
1048
1048
  __metadata("design:type", Function),
1049
1049
  __metadata("design:paramtypes", [WebGLRenderbuffer]),
1050
1050
  __metadata("design:returntype", void 0)
1051
- ], WebGLRenderingContext.prototype, "deleteShader", null);
1051
+ ], WebGLRenderingContextBase.prototype, "deleteShader", null);
1052
1052
  __decorate([
1053
1053
  profile,
1054
1054
  __metadata("design:type", Function),
1055
1055
  __metadata("design:paramtypes", [WebGLTexture]),
1056
1056
  __metadata("design:returntype", void 0)
1057
- ], WebGLRenderingContext.prototype, "deleteTexture", null);
1057
+ ], WebGLRenderingContextBase.prototype, "deleteTexture", null);
1058
1058
  __decorate([
1059
1059
  profile,
1060
1060
  __metadata("design:type", Function),
1061
1061
  __metadata("design:paramtypes", [Number]),
1062
1062
  __metadata("design:returntype", void 0)
1063
- ], WebGLRenderingContext.prototype, "depthFunc", null);
1063
+ ], WebGLRenderingContextBase.prototype, "depthFunc", null);
1064
1064
  __decorate([
1065
1065
  profile,
1066
1066
  __metadata("design:type", Function),
1067
1067
  __metadata("design:paramtypes", [Boolean]),
1068
1068
  __metadata("design:returntype", void 0)
1069
- ], WebGLRenderingContext.prototype, "depthMask", null);
1069
+ ], WebGLRenderingContextBase.prototype, "depthMask", null);
1070
1070
  __decorate([
1071
1071
  profile,
1072
1072
  __metadata("design:type", Function),
1073
1073
  __metadata("design:paramtypes", [Number, Number]),
1074
1074
  __metadata("design:returntype", void 0)
1075
- ], WebGLRenderingContext.prototype, "depthRange", null);
1075
+ ], WebGLRenderingContextBase.prototype, "depthRange", null);
1076
1076
  __decorate([
1077
1077
  profile,
1078
1078
  __metadata("design:type", Function),
1079
1079
  __metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
1080
1080
  __metadata("design:returntype", void 0)
1081
- ], WebGLRenderingContext.prototype, "detachShader", null);
1081
+ ], WebGLRenderingContextBase.prototype, "detachShader", null);
1082
1082
  __decorate([
1083
1083
  profile,
1084
1084
  __metadata("design:type", Function),
1085
1085
  __metadata("design:paramtypes", [Number]),
1086
1086
  __metadata("design:returntype", void 0)
1087
- ], WebGLRenderingContext.prototype, "disableVertexAttribArray", null);
1087
+ ], WebGLRenderingContextBase.prototype, "disableVertexAttribArray", null);
1088
1088
  __decorate([
1089
1089
  profile,
1090
1090
  __metadata("design:type", Function),
1091
1091
  __metadata("design:paramtypes", [Number]),
1092
1092
  __metadata("design:returntype", void 0)
1093
- ], WebGLRenderingContext.prototype, "disable", null);
1093
+ ], WebGLRenderingContextBase.prototype, "disable", null);
1094
1094
  __decorate([
1095
1095
  profile,
1096
1096
  __metadata("design:type", Function),
1097
1097
  __metadata("design:paramtypes", [Number, Number, Number]),
1098
1098
  __metadata("design:returntype", void 0)
1099
- ], WebGLRenderingContext.prototype, "drawArrays", null);
1099
+ ], WebGLRenderingContextBase.prototype, "drawArrays", null);
1100
1100
  __decorate([
1101
1101
  profile,
1102
1102
  __metadata("design:type", Function),
1103
1103
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1104
1104
  __metadata("design:returntype", void 0)
1105
- ], WebGLRenderingContext.prototype, "drawElements", null);
1105
+ ], WebGLRenderingContextBase.prototype, "drawElements", null);
1106
1106
  __decorate([
1107
1107
  profile,
1108
1108
  __metadata("design:type", Function),
1109
1109
  __metadata("design:paramtypes", [Number]),
1110
1110
  __metadata("design:returntype", void 0)
1111
- ], WebGLRenderingContext.prototype, "enableVertexAttribArray", null);
1111
+ ], WebGLRenderingContextBase.prototype, "enableVertexAttribArray", null);
1112
1112
  __decorate([
1113
1113
  profile,
1114
1114
  __metadata("design:type", Function),
1115
1115
  __metadata("design:paramtypes", [Number]),
1116
1116
  __metadata("design:returntype", void 0)
1117
- ], WebGLRenderingContext.prototype, "enable", null);
1117
+ ], WebGLRenderingContextBase.prototype, "enable", null);
1118
1118
  __decorate([
1119
1119
  profile,
1120
1120
  __metadata("design:type", Function),
1121
1121
  __metadata("design:paramtypes", []),
1122
1122
  __metadata("design:returntype", void 0)
1123
- ], WebGLRenderingContext.prototype, "finish", null);
1123
+ ], WebGLRenderingContextBase.prototype, "finish", null);
1124
1124
  __decorate([
1125
1125
  profile,
1126
1126
  __metadata("design:type", Function),
1127
1127
  __metadata("design:paramtypes", []),
1128
1128
  __metadata("design:returntype", void 0)
1129
- ], WebGLRenderingContext.prototype, "flush", null);
1129
+ ], WebGLRenderingContextBase.prototype, "flush", null);
1130
1130
  __decorate([
1131
1131
  profile,
1132
1132
  __metadata("design:type", Function),
1133
1133
  __metadata("design:paramtypes", [Number, Number, Number, WebGLRenderbuffer]),
1134
1134
  __metadata("design:returntype", void 0)
1135
- ], WebGLRenderingContext.prototype, "framebufferRenderbuffer", null);
1135
+ ], WebGLRenderingContextBase.prototype, "framebufferRenderbuffer", null);
1136
1136
  __decorate([
1137
1137
  profile,
1138
1138
  __metadata("design:type", Function),
1139
1139
  __metadata("design:paramtypes", [Number, Number, Number, WebGLTexture, Number]),
1140
1140
  __metadata("design:returntype", void 0)
1141
- ], WebGLRenderingContext.prototype, "framebufferTexture2D", null);
1141
+ ], WebGLRenderingContextBase.prototype, "framebufferTexture2D", null);
1142
1142
  __decorate([
1143
1143
  profile,
1144
1144
  __metadata("design:type", Function),
1145
1145
  __metadata("design:paramtypes", [Number]),
1146
1146
  __metadata("design:returntype", void 0)
1147
- ], WebGLRenderingContext.prototype, "frontFace", null);
1147
+ ], WebGLRenderingContextBase.prototype, "frontFace", null);
1148
1148
  __decorate([
1149
1149
  profile,
1150
1150
  __metadata("design:type", Function),
1151
1151
  __metadata("design:paramtypes", [Number]),
1152
1152
  __metadata("design:returntype", void 0)
1153
- ], WebGLRenderingContext.prototype, "generateMipmap", null);
1153
+ ], WebGLRenderingContextBase.prototype, "generateMipmap", null);
1154
1154
  __decorate([
1155
1155
  profile,
1156
1156
  __metadata("design:type", Function),
1157
1157
  __metadata("design:paramtypes", [WebGLProgram, Number]),
1158
1158
  __metadata("design:returntype", WebGLActiveInfo)
1159
- ], WebGLRenderingContext.prototype, "getActiveAttrib", null);
1159
+ ], WebGLRenderingContextBase.prototype, "getActiveAttrib", null);
1160
1160
  __decorate([
1161
1161
  profile,
1162
1162
  __metadata("design:type", Function),
1163
1163
  __metadata("design:paramtypes", [WebGLProgram, Number]),
1164
1164
  __metadata("design:returntype", WebGLActiveInfo)
1165
- ], WebGLRenderingContext.prototype, "getActiveUniform", null);
1165
+ ], WebGLRenderingContextBase.prototype, "getActiveUniform", null);
1166
1166
  __decorate([
1167
1167
  profile,
1168
1168
  __metadata("design:type", Function),
1169
1169
  __metadata("design:paramtypes", [WebGLProgram]),
1170
1170
  __metadata("design:returntype", Array)
1171
- ], WebGLRenderingContext.prototype, "getAttachedShaders", null);
1171
+ ], WebGLRenderingContextBase.prototype, "getAttachedShaders", null);
1172
1172
  __decorate([
1173
1173
  profile,
1174
1174
  __metadata("design:type", Function),
1175
1175
  __metadata("design:paramtypes", [WebGLProgram, String]),
1176
1176
  __metadata("design:returntype", Number)
1177
- ], WebGLRenderingContext.prototype, "getAttribLocation", null);
1177
+ ], WebGLRenderingContextBase.prototype, "getAttribLocation", null);
1178
1178
  __decorate([
1179
1179
  profile,
1180
1180
  __metadata("design:type", Function),
1181
1181
  __metadata("design:paramtypes", [Number, Number]),
1182
1182
  __metadata("design:returntype", Number)
1183
- ], WebGLRenderingContext.prototype, "getBufferParameter", null);
1183
+ ], WebGLRenderingContextBase.prototype, "getBufferParameter", null);
1184
1184
  __decorate([
1185
1185
  profile,
1186
1186
  __metadata("design:type", Function),
1187
1187
  __metadata("design:paramtypes", []),
1188
1188
  __metadata("design:returntype", Object)
1189
- ], WebGLRenderingContext.prototype, "getContextAttributes", null);
1189
+ ], WebGLRenderingContextBase.prototype, "getContextAttributes", null);
1190
1190
  __decorate([
1191
1191
  profile,
1192
1192
  __metadata("design:type", Function),
1193
1193
  __metadata("design:paramtypes", []),
1194
1194
  __metadata("design:returntype", Number)
1195
- ], WebGLRenderingContext.prototype, "getError", null);
1195
+ ], WebGLRenderingContextBase.prototype, "getError", null);
1196
1196
  __decorate([
1197
1197
  profile,
1198
1198
  __metadata("design:type", Function),
1199
1199
  __metadata("design:paramtypes", [String]),
1200
1200
  __metadata("design:returntype", void 0)
1201
- ], WebGLRenderingContext.prototype, "getExtension", null);
1201
+ ], WebGLRenderingContextBase.prototype, "getExtension", null);
1202
1202
  __decorate([
1203
1203
  profile,
1204
1204
  __metadata("design:type", Function),
1205
1205
  __metadata("design:paramtypes", [Number, Number, Number]),
1206
1206
  __metadata("design:returntype", Object)
1207
- ], WebGLRenderingContext.prototype, "getFramebufferAttachmentParameter", null);
1207
+ ], WebGLRenderingContextBase.prototype, "getFramebufferAttachmentParameter", null);
1208
1208
  __decorate([
1209
1209
  profile,
1210
1210
  __metadata("design:type", Function),
1211
1211
  __metadata("design:paramtypes", [Number]),
1212
1212
  __metadata("design:returntype", Object)
1213
- ], WebGLRenderingContext.prototype, "getParameter", null);
1213
+ ], WebGLRenderingContextBase.prototype, "getParameter", null);
1214
1214
  __decorate([
1215
1215
  profile,
1216
1216
  __metadata("design:type", Function),
1217
1217
  __metadata("design:paramtypes", [WebGLProgram]),
1218
1218
  __metadata("design:returntype", String)
1219
- ], WebGLRenderingContext.prototype, "getProgramInfoLog", null);
1219
+ ], WebGLRenderingContextBase.prototype, "getProgramInfoLog", null);
1220
1220
  __decorate([
1221
1221
  profile,
1222
1222
  __metadata("design:type", Function),
1223
1223
  __metadata("design:paramtypes", [WebGLProgram, Number]),
1224
1224
  __metadata("design:returntype", Object)
1225
- ], WebGLRenderingContext.prototype, "getProgramParameter", null);
1225
+ ], WebGLRenderingContextBase.prototype, "getProgramParameter", null);
1226
1226
  __decorate([
1227
1227
  profile,
1228
1228
  __metadata("design:type", Function),
1229
1229
  __metadata("design:paramtypes", [Number, Number]),
1230
1230
  __metadata("design:returntype", Number)
1231
- ], WebGLRenderingContext.prototype, "getRenderbufferParameter", null);
1231
+ ], WebGLRenderingContextBase.prototype, "getRenderbufferParameter", null);
1232
1232
  __decorate([
1233
1233
  profile,
1234
1234
  __metadata("design:type", Function),
1235
1235
  __metadata("design:paramtypes", [WebGLShader]),
1236
1236
  __metadata("design:returntype", String)
1237
- ], WebGLRenderingContext.prototype, "getShaderInfoLog", null);
1237
+ ], WebGLRenderingContextBase.prototype, "getShaderInfoLog", null);
1238
1238
  __decorate([
1239
1239
  profile,
1240
1240
  __metadata("design:type", Function),
1241
1241
  __metadata("design:paramtypes", [WebGLShader, Number]),
1242
1242
  __metadata("design:returntype", Object)
1243
- ], WebGLRenderingContext.prototype, "getShaderParameter", null);
1243
+ ], WebGLRenderingContextBase.prototype, "getShaderParameter", null);
1244
1244
  __decorate([
1245
1245
  profile,
1246
1246
  __metadata("design:type", Function),
1247
1247
  __metadata("design:paramtypes", [Number, Number]),
1248
1248
  __metadata("design:returntype", WebGLShaderPrecisionFormat)
1249
- ], WebGLRenderingContext.prototype, "getShaderPrecisionFormat", null);
1249
+ ], WebGLRenderingContextBase.prototype, "getShaderPrecisionFormat", null);
1250
1250
  __decorate([
1251
1251
  profile,
1252
1252
  __metadata("design:type", Function),
1253
1253
  __metadata("design:paramtypes", [WebGLShader]),
1254
1254
  __metadata("design:returntype", String)
1255
- ], WebGLRenderingContext.prototype, "getShaderSource", null);
1255
+ ], WebGLRenderingContextBase.prototype, "getShaderSource", null);
1256
1256
  __decorate([
1257
1257
  profile,
1258
1258
  __metadata("design:type", Function),
1259
1259
  __metadata("design:paramtypes", []),
1260
1260
  __metadata("design:returntype", Array)
1261
- ], WebGLRenderingContext.prototype, "getSupportedExtensions", null);
1261
+ ], WebGLRenderingContextBase.prototype, "getSupportedExtensions", null);
1262
1262
  __decorate([
1263
1263
  profile,
1264
1264
  __metadata("design:type", Function),
1265
1265
  __metadata("design:paramtypes", [Number, Number]),
1266
1266
  __metadata("design:returntype", Number)
1267
- ], WebGLRenderingContext.prototype, "getTexParameter", null);
1267
+ ], WebGLRenderingContextBase.prototype, "getTexParameter", null);
1268
1268
  __decorate([
1269
1269
  profile,
1270
1270
  __metadata("design:type", Function),
1271
1271
  __metadata("design:paramtypes", [WebGLProgram, String]),
1272
1272
  __metadata("design:returntype", WebGLUniformLocation)
1273
- ], WebGLRenderingContext.prototype, "getUniformLocation", null);
1273
+ ], WebGLRenderingContextBase.prototype, "getUniformLocation", null);
1274
1274
  __decorate([
1275
1275
  profile,
1276
1276
  __metadata("design:type", Function),
1277
1277
  __metadata("design:paramtypes", [WebGLProgram, WebGLUniformLocation]),
1278
1278
  __metadata("design:returntype", Object)
1279
- ], WebGLRenderingContext.prototype, "getUniform", null);
1279
+ ], WebGLRenderingContextBase.prototype, "getUniform", null);
1280
1280
  __decorate([
1281
1281
  profile,
1282
1282
  __metadata("design:type", Function),
1283
1283
  __metadata("design:paramtypes", [Number, Number]),
1284
1284
  __metadata("design:returntype", Number)
1285
- ], WebGLRenderingContext.prototype, "getVertexAttribOffset", null);
1285
+ ], WebGLRenderingContextBase.prototype, "getVertexAttribOffset", null);
1286
1286
  __decorate([
1287
1287
  profile,
1288
1288
  __metadata("design:type", Function),
1289
1289
  __metadata("design:paramtypes", [Number, Number]),
1290
1290
  __metadata("design:returntype", Object)
1291
- ], WebGLRenderingContext.prototype, "getVertexAttrib", null);
1291
+ ], WebGLRenderingContextBase.prototype, "getVertexAttrib", null);
1292
1292
  __decorate([
1293
1293
  profile,
1294
1294
  __metadata("design:type", Function),
1295
1295
  __metadata("design:paramtypes", [Number, Number]),
1296
1296
  __metadata("design:returntype", void 0)
1297
- ], WebGLRenderingContext.prototype, "hint", null);
1297
+ ], WebGLRenderingContextBase.prototype, "hint", null);
1298
1298
  __decorate([
1299
1299
  profile,
1300
1300
  __metadata("design:type", Function),
1301
1301
  __metadata("design:paramtypes", [WebGLBuffer]),
1302
1302
  __metadata("design:returntype", Boolean)
1303
- ], WebGLRenderingContext.prototype, "isBuffer", null);
1303
+ ], WebGLRenderingContextBase.prototype, "isBuffer", null);
1304
1304
  __decorate([
1305
1305
  profile,
1306
1306
  __metadata("design:type", Function),
1307
1307
  __metadata("design:paramtypes", []),
1308
1308
  __metadata("design:returntype", Boolean)
1309
- ], WebGLRenderingContext.prototype, "isContextLost", null);
1309
+ ], WebGLRenderingContextBase.prototype, "isContextLost", null);
1310
1310
  __decorate([
1311
1311
  profile,
1312
1312
  __metadata("design:type", Function),
1313
1313
  __metadata("design:paramtypes", [Number]),
1314
1314
  __metadata("design:returntype", Boolean)
1315
- ], WebGLRenderingContext.prototype, "isEnabled", null);
1315
+ ], WebGLRenderingContextBase.prototype, "isEnabled", null);
1316
1316
  __decorate([
1317
1317
  profile,
1318
1318
  __metadata("design:type", Function),
1319
1319
  __metadata("design:paramtypes", [WebGLFramebuffer]),
1320
1320
  __metadata("design:returntype", Boolean)
1321
- ], WebGLRenderingContext.prototype, "isFramebuffer", null);
1321
+ ], WebGLRenderingContextBase.prototype, "isFramebuffer", null);
1322
1322
  __decorate([
1323
1323
  profile,
1324
1324
  __metadata("design:type", Function),
1325
1325
  __metadata("design:paramtypes", [WebGLProgram]),
1326
1326
  __metadata("design:returntype", Boolean)
1327
- ], WebGLRenderingContext.prototype, "isProgram", null);
1327
+ ], WebGLRenderingContextBase.prototype, "isProgram", null);
1328
1328
  __decorate([
1329
1329
  profile,
1330
1330
  __metadata("design:type", Function),
1331
1331
  __metadata("design:paramtypes", [WebGLRenderbuffer]),
1332
1332
  __metadata("design:returntype", Boolean)
1333
- ], WebGLRenderingContext.prototype, "isRenderbuffer", null);
1333
+ ], WebGLRenderingContextBase.prototype, "isRenderbuffer", null);
1334
1334
  __decorate([
1335
1335
  profile,
1336
1336
  __metadata("design:type", Function),
1337
1337
  __metadata("design:paramtypes", [WebGLShader]),
1338
1338
  __metadata("design:returntype", Boolean)
1339
- ], WebGLRenderingContext.prototype, "isShader", null);
1339
+ ], WebGLRenderingContextBase.prototype, "isShader", null);
1340
1340
  __decorate([
1341
1341
  profile,
1342
1342
  __metadata("design:type", Function),
1343
1343
  __metadata("design:paramtypes", [WebGLTexture]),
1344
1344
  __metadata("design:returntype", Boolean)
1345
- ], WebGLRenderingContext.prototype, "isTexture", null);
1345
+ ], WebGLRenderingContextBase.prototype, "isTexture", null);
1346
1346
  __decorate([
1347
1347
  profile,
1348
1348
  __metadata("design:type", Function),
1349
1349
  __metadata("design:paramtypes", [Number]),
1350
1350
  __metadata("design:returntype", void 0)
1351
- ], WebGLRenderingContext.prototype, "lineWidth", null);
1351
+ ], WebGLRenderingContextBase.prototype, "lineWidth", null);
1352
1352
  __decorate([
1353
1353
  profile,
1354
1354
  __metadata("design:type", Function),
1355
1355
  __metadata("design:paramtypes", [WebGLProgram]),
1356
1356
  __metadata("design:returntype", void 0)
1357
- ], WebGLRenderingContext.prototype, "linkProgram", null);
1357
+ ], WebGLRenderingContextBase.prototype, "linkProgram", null);
1358
1358
  __decorate([
1359
1359
  profile,
1360
1360
  __metadata("design:type", Function),
1361
1361
  __metadata("design:paramtypes", [Number, Object]),
1362
1362
  __metadata("design:returntype", void 0)
1363
- ], WebGLRenderingContext.prototype, "pixelStorei", null);
1363
+ ], WebGLRenderingContextBase.prototype, "pixelStorei", null);
1364
1364
  __decorate([
1365
1365
  profile,
1366
1366
  __metadata("design:type", Function),
1367
1367
  __metadata("design:paramtypes", [Number, Number]),
1368
1368
  __metadata("design:returntype", void 0)
1369
- ], WebGLRenderingContext.prototype, "polygonOffset", null);
1369
+ ], WebGLRenderingContextBase.prototype, "polygonOffset", null);
1370
1370
  __decorate([
1371
1371
  profile,
1372
1372
  __metadata("design:type", Function),
1373
1373
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
1374
1374
  __metadata("design:returntype", void 0)
1375
- ], WebGLRenderingContext.prototype, "readPixels", null);
1375
+ ], WebGLRenderingContextBase.prototype, "readPixels", null);
1376
1376
  __decorate([
1377
1377
  profile,
1378
1378
  __metadata("design:type", Function),
1379
1379
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1380
1380
  __metadata("design:returntype", void 0)
1381
- ], WebGLRenderingContext.prototype, "renderbufferStorage", null);
1381
+ ], WebGLRenderingContextBase.prototype, "renderbufferStorage", null);
1382
1382
  __decorate([
1383
1383
  profile,
1384
1384
  __metadata("design:type", Function),
1385
1385
  __metadata("design:paramtypes", [Number, Boolean]),
1386
1386
  __metadata("design:returntype", void 0)
1387
- ], WebGLRenderingContext.prototype, "sampleCoverage", null);
1387
+ ], WebGLRenderingContextBase.prototype, "sampleCoverage", null);
1388
1388
  __decorate([
1389
1389
  profile,
1390
1390
  __metadata("design:type", Function),
1391
1391
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1392
1392
  __metadata("design:returntype", void 0)
1393
- ], WebGLRenderingContext.prototype, "scissor", null);
1393
+ ], WebGLRenderingContextBase.prototype, "scissor", null);
1394
1394
  __decorate([
1395
1395
  profile,
1396
1396
  __metadata("design:type", Function),
1397
1397
  __metadata("design:paramtypes", [WebGLShader, String]),
1398
1398
  __metadata("design:returntype", void 0)
1399
- ], WebGLRenderingContext.prototype, "shaderSource", null);
1399
+ ], WebGLRenderingContextBase.prototype, "shaderSource", null);
1400
1400
  __decorate([
1401
1401
  profile,
1402
1402
  __metadata("design:type", Function),
1403
1403
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1404
1404
  __metadata("design:returntype", void 0)
1405
- ], WebGLRenderingContext.prototype, "stencilFuncSeparate", null);
1405
+ ], WebGLRenderingContextBase.prototype, "stencilFuncSeparate", null);
1406
1406
  __decorate([
1407
1407
  profile,
1408
1408
  __metadata("design:type", Function),
1409
1409
  __metadata("design:paramtypes", [Number, Number, Number]),
1410
1410
  __metadata("design:returntype", void 0)
1411
- ], WebGLRenderingContext.prototype, "stencilFunc", null);
1411
+ ], WebGLRenderingContextBase.prototype, "stencilFunc", null);
1412
1412
  __decorate([
1413
1413
  profile,
1414
1414
  __metadata("design:type", Function),
1415
1415
  __metadata("design:paramtypes", [Number, Number]),
1416
1416
  __metadata("design:returntype", void 0)
1417
- ], WebGLRenderingContext.prototype, "stencilMaskSeparate", null);
1417
+ ], WebGLRenderingContextBase.prototype, "stencilMaskSeparate", null);
1418
1418
  __decorate([
1419
1419
  profile,
1420
1420
  __metadata("design:type", Function),
1421
1421
  __metadata("design:paramtypes", [Number]),
1422
1422
  __metadata("design:returntype", void 0)
1423
- ], WebGLRenderingContext.prototype, "stencilMask", null);
1423
+ ], WebGLRenderingContextBase.prototype, "stencilMask", null);
1424
1424
  __decorate([
1425
1425
  profile,
1426
1426
  __metadata("design:type", Function),
1427
1427
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1428
1428
  __metadata("design:returntype", void 0)
1429
- ], WebGLRenderingContext.prototype, "stencilOpSeparate", null);
1429
+ ], WebGLRenderingContextBase.prototype, "stencilOpSeparate", null);
1430
1430
  __decorate([
1431
1431
  profile,
1432
1432
  __metadata("design:type", Function),
1433
1433
  __metadata("design:paramtypes", [Number, Number, Number]),
1434
1434
  __metadata("design:returntype", void 0)
1435
- ], WebGLRenderingContext.prototype, "stencilOp", null);
1435
+ ], WebGLRenderingContextBase.prototype, "stencilOp", null);
1436
1436
  __decorate([
1437
1437
  profile,
1438
1438
  __metadata("design:type", Function),
1439
1439
  __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
1440
1440
  __metadata("design:returntype", void 0)
1441
- ], WebGLRenderingContext.prototype, "texImage2D", null);
1441
+ ], WebGLRenderingContextBase.prototype, "texImage2D", null);
1442
1442
  __decorate([
1443
1443
  profile,
1444
1444
  __metadata("design:type", Function),
1445
1445
  __metadata("design:paramtypes", [Number, Number, Number]),
1446
1446
  __metadata("design:returntype", void 0)
1447
- ], WebGLRenderingContext.prototype, "texParameterf", null);
1447
+ ], WebGLRenderingContextBase.prototype, "texParameterf", null);
1448
1448
  __decorate([
1449
1449
  profile,
1450
1450
  __metadata("design:type", Function),
1451
1451
  __metadata("design:paramtypes", [Number, Number, Number]),
1452
1452
  __metadata("design:returntype", void 0)
1453
- ], WebGLRenderingContext.prototype, "texParameteri", null);
1453
+ ], WebGLRenderingContextBase.prototype, "texParameteri", null);
1454
1454
  __decorate([
1455
1455
  profile,
1456
1456
  __metadata("design:type", Function),
1457
1457
  __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
1458
1458
  __metadata("design:returntype", void 0)
1459
- ], WebGLRenderingContext.prototype, "texSubImage2D", null);
1459
+ ], WebGLRenderingContextBase.prototype, "texSubImage2D", null);
1460
1460
  __decorate([
1461
1461
  profile,
1462
1462
  __metadata("design:type", Function),
1463
1463
  __metadata("design:paramtypes", [WebGLUniformLocation, Number]),
1464
1464
  __metadata("design:returntype", void 0)
1465
- ], WebGLRenderingContext.prototype, "uniform1f", null);
1465
+ ], WebGLRenderingContextBase.prototype, "uniform1f", null);
1466
1466
  __decorate([
1467
1467
  profile,
1468
1468
  __metadata("design:type", Function),
1469
1469
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1470
1470
  __metadata("design:returntype", void 0)
1471
- ], WebGLRenderingContext.prototype, "uniform1iv", null);
1471
+ ], WebGLRenderingContextBase.prototype, "uniform1iv", null);
1472
1472
  __decorate([
1473
1473
  profile,
1474
1474
  __metadata("design:type", Function),
1475
1475
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1476
1476
  __metadata("design:returntype", void 0)
1477
- ], WebGLRenderingContext.prototype, "uniform1fv", null);
1477
+ ], WebGLRenderingContextBase.prototype, "uniform1fv", null);
1478
1478
  __decorate([
1479
1479
  profile,
1480
1480
  __metadata("design:type", Function),
1481
1481
  __metadata("design:paramtypes", [WebGLUniformLocation, Number]),
1482
1482
  __metadata("design:returntype", void 0)
1483
- ], WebGLRenderingContext.prototype, "uniform1i", null);
1483
+ ], WebGLRenderingContextBase.prototype, "uniform1i", null);
1484
1484
  __decorate([
1485
1485
  profile,
1486
1486
  __metadata("design:type", Function),
1487
1487
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
1488
1488
  __metadata("design:returntype", void 0)
1489
- ], WebGLRenderingContext.prototype, "uniform2f", null);
1489
+ ], WebGLRenderingContextBase.prototype, "uniform2f", null);
1490
1490
  __decorate([
1491
1491
  profile,
1492
1492
  __metadata("design:type", Function),
1493
1493
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1494
1494
  __metadata("design:returntype", void 0)
1495
- ], WebGLRenderingContext.prototype, "uniform2iv", null);
1495
+ ], WebGLRenderingContextBase.prototype, "uniform2iv", null);
1496
1496
  __decorate([
1497
1497
  profile,
1498
1498
  __metadata("design:type", Function),
1499
1499
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1500
1500
  __metadata("design:returntype", void 0)
1501
- ], WebGLRenderingContext.prototype, "uniform2fv", null);
1501
+ ], WebGLRenderingContextBase.prototype, "uniform2fv", null);
1502
1502
  __decorate([
1503
1503
  profile,
1504
1504
  __metadata("design:type", Function),
1505
1505
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
1506
1506
  __metadata("design:returntype", void 0)
1507
- ], WebGLRenderingContext.prototype, "uniform2i", null);
1507
+ ], WebGLRenderingContextBase.prototype, "uniform2i", null);
1508
1508
  __decorate([
1509
1509
  profile,
1510
1510
  __metadata("design:type", Function),
1511
1511
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
1512
1512
  __metadata("design:returntype", void 0)
1513
- ], WebGLRenderingContext.prototype, "uniform3f", null);
1513
+ ], WebGLRenderingContextBase.prototype, "uniform3f", null);
1514
1514
  __decorate([
1515
1515
  profile,
1516
1516
  __metadata("design:type", Function),
1517
1517
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1518
1518
  __metadata("design:returntype", void 0)
1519
- ], WebGLRenderingContext.prototype, "uniform3iv", null);
1519
+ ], WebGLRenderingContextBase.prototype, "uniform3iv", null);
1520
1520
  __decorate([
1521
1521
  profile,
1522
1522
  __metadata("design:type", Function),
1523
1523
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1524
1524
  __metadata("design:returntype", void 0)
1525
- ], WebGLRenderingContext.prototype, "uniform3fv", null);
1525
+ ], WebGLRenderingContextBase.prototype, "uniform3fv", null);
1526
1526
  __decorate([
1527
1527
  profile,
1528
1528
  __metadata("design:type", Function),
1529
1529
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
1530
1530
  __metadata("design:returntype", void 0)
1531
- ], WebGLRenderingContext.prototype, "uniform3i", null);
1531
+ ], WebGLRenderingContextBase.prototype, "uniform3i", null);
1532
1532
  __decorate([
1533
1533
  profile,
1534
1534
  __metadata("design:type", Function),
1535
1535
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
1536
1536
  __metadata("design:returntype", void 0)
1537
- ], WebGLRenderingContext.prototype, "uniform4f", null);
1537
+ ], WebGLRenderingContextBase.prototype, "uniform4f", null);
1538
1538
  __decorate([
1539
1539
  profile,
1540
1540
  __metadata("design:type", Function),
1541
1541
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1542
1542
  __metadata("design:returntype", void 0)
1543
- ], WebGLRenderingContext.prototype, "uniform4iv", null);
1543
+ ], WebGLRenderingContextBase.prototype, "uniform4iv", null);
1544
1544
  __decorate([
1545
1545
  profile,
1546
1546
  __metadata("design:type", Function),
1547
1547
  __metadata("design:paramtypes", [WebGLUniformLocation, Object]),
1548
1548
  __metadata("design:returntype", void 0)
1549
- ], WebGLRenderingContext.prototype, "uniform4fv", null);
1549
+ ], WebGLRenderingContextBase.prototype, "uniform4fv", null);
1550
1550
  __decorate([
1551
1551
  profile,
1552
1552
  __metadata("design:type", Function),
1553
1553
  __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
1554
1554
  __metadata("design:returntype", void 0)
1555
- ], WebGLRenderingContext.prototype, "uniform4i", null);
1555
+ ], WebGLRenderingContextBase.prototype, "uniform4i", null);
1556
1556
  __decorate([
1557
1557
  profile,
1558
1558
  __metadata("design:type", Function),
1559
1559
  __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Object]),
1560
1560
  __metadata("design:returntype", void 0)
1561
- ], WebGLRenderingContext.prototype, "uniformMatrix2fv", null);
1561
+ ], WebGLRenderingContextBase.prototype, "uniformMatrix2fv", null);
1562
1562
  __decorate([
1563
1563
  profile,
1564
1564
  __metadata("design:type", Function),
1565
1565
  __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Object]),
1566
1566
  __metadata("design:returntype", void 0)
1567
- ], WebGLRenderingContext.prototype, "uniformMatrix3fv", null);
1567
+ ], WebGLRenderingContextBase.prototype, "uniformMatrix3fv", null);
1568
1568
  __decorate([
1569
1569
  profile,
1570
1570
  __metadata("design:type", Function),
1571
1571
  __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Object]),
1572
1572
  __metadata("design:returntype", void 0)
1573
- ], WebGLRenderingContext.prototype, "uniformMatrix4fv", null);
1573
+ ], WebGLRenderingContextBase.prototype, "uniformMatrix4fv", null);
1574
1574
  __decorate([
1575
1575
  profile,
1576
1576
  __metadata("design:type", Function),
1577
1577
  __metadata("design:paramtypes", [WebGLProgram]),
1578
1578
  __metadata("design:returntype", void 0)
1579
- ], WebGLRenderingContext.prototype, "useProgram", null);
1579
+ ], WebGLRenderingContextBase.prototype, "useProgram", null);
1580
1580
  __decorate([
1581
1581
  profile,
1582
1582
  __metadata("design:type", Function),
1583
1583
  __metadata("design:paramtypes", [WebGLProgram]),
1584
1584
  __metadata("design:returntype", void 0)
1585
- ], WebGLRenderingContext.prototype, "validateProgram", null);
1585
+ ], WebGLRenderingContextBase.prototype, "validateProgram", null);
1586
1586
  __decorate([
1587
1587
  profile,
1588
1588
  __metadata("design:type", Function),
1589
1589
  __metadata("design:paramtypes", [Number, Number]),
1590
1590
  __metadata("design:returntype", void 0)
1591
- ], WebGLRenderingContext.prototype, "vertexAttrib1f", null);
1591
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib1f", null);
1592
1592
  __decorate([
1593
1593
  profile,
1594
1594
  __metadata("design:type", Function),
1595
1595
  __metadata("design:paramtypes", [Number, Object]),
1596
1596
  __metadata("design:returntype", void 0)
1597
- ], WebGLRenderingContext.prototype, "vertexAttrib1fv", null);
1597
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib1fv", null);
1598
1598
  __decorate([
1599
1599
  profile,
1600
1600
  __metadata("design:type", Function),
1601
1601
  __metadata("design:paramtypes", [Number, Number, Number]),
1602
1602
  __metadata("design:returntype", void 0)
1603
- ], WebGLRenderingContext.prototype, "vertexAttrib2f", null);
1603
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib2f", null);
1604
1604
  __decorate([
1605
1605
  profile,
1606
1606
  __metadata("design:type", Function),
1607
1607
  __metadata("design:paramtypes", [Number, Object]),
1608
1608
  __metadata("design:returntype", void 0)
1609
- ], WebGLRenderingContext.prototype, "vertexAttrib2fv", null);
1609
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib2fv", null);
1610
1610
  __decorate([
1611
1611
  profile,
1612
1612
  __metadata("design:type", Function),
1613
1613
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1614
1614
  __metadata("design:returntype", void 0)
1615
- ], WebGLRenderingContext.prototype, "vertexAttrib3f", null);
1615
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib3f", null);
1616
1616
  __decorate([
1617
1617
  profile,
1618
1618
  __metadata("design:type", Function),
1619
1619
  __metadata("design:paramtypes", [Number, Object]),
1620
1620
  __metadata("design:returntype", void 0)
1621
- ], WebGLRenderingContext.prototype, "vertexAttrib3fv", null);
1621
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib3fv", null);
1622
1622
  __decorate([
1623
1623
  profile,
1624
1624
  __metadata("design:type", Function),
1625
1625
  __metadata("design:paramtypes", [Number, Number, Number, Number, Number]),
1626
1626
  __metadata("design:returntype", void 0)
1627
- ], WebGLRenderingContext.prototype, "vertexAttrib4f", null);
1627
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib4f", null);
1628
1628
  __decorate([
1629
1629
  profile,
1630
1630
  __metadata("design:type", Function),
1631
1631
  __metadata("design:paramtypes", [Number, Object]),
1632
1632
  __metadata("design:returntype", void 0)
1633
- ], WebGLRenderingContext.prototype, "vertexAttrib4fv", null);
1633
+ ], WebGLRenderingContextBase.prototype, "vertexAttrib4fv", null);
1634
1634
  __decorate([
1635
1635
  profile,
1636
1636
  __metadata("design:type", Function),
1637
1637
  __metadata("design:paramtypes", [Number, Number, Number, Boolean, Number, Number]),
1638
1638
  __metadata("design:returntype", void 0)
1639
- ], WebGLRenderingContext.prototype, "vertexAttribPointer", null);
1639
+ ], WebGLRenderingContextBase.prototype, "vertexAttribPointer", null);
1640
1640
  __decorate([
1641
1641
  profile,
1642
1642
  __metadata("design:type", Function),
1643
1643
  __metadata("design:paramtypes", [Number, Number, Number, Number]),
1644
1644
  __metadata("design:returntype", void 0)
1645
- ], WebGLRenderingContext.prototype, "viewport", null);
1645
+ ], WebGLRenderingContextBase.prototype, "viewport", null);
1646
+ export class WebGLRenderingContext extends WebGLRenderingContextBase {
1647
+ }
1646
1648
  //# sourceMappingURL=index.js.map