提交 de86269d 编写于 作者: G guoenquan

modify webGL of question checkcode

Signed-off-by: Nguoenquan <guoenquan1@huawei-partners.com>
上级 3c73ddd1
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default { export default {
onCreate() { onCreate() {
console.info('TestApplication onCreate'); console.info('TestApplication onCreate');
......
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '@ohos/hypium' import { Hypium } from '@ohos/hypium'
......
...@@ -1124,10 +1124,10 @@ export default function webgl1Test_webgl4() { ...@@ -1124,10 +1124,10 @@ export default function webgl1Test_webgl4() {
/** /**
* @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0347 * @tc.number GRAPHIC_FUNCTION_JS_WEBGL_TESTWEBGL_0347
* @tc.name testTexSubImage2D8 * @tc.name testTexSubImage2D_8
* @tc.desc Test texSubImage2D. * @tc.desc Test texSubImage2D.
*/ */
it('testTexSubImage2D8', 0, async function (done) { it('testTexSubImage2D_8', 0, async function (done) {
//initContext(); //initContext();
console.info('jsWebGL2 texSubImage2D test start ...' + JSON.stringify(gl2)); console.info('jsWebGL2 texSubImage2D test start ...' + JSON.stringify(gl2));
var buffer = new ArrayBuffer(8); var buffer = new ArrayBuffer(8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册