Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
220f80f8
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
220f80f8
编写于
7月 13, 2022
作者:
W
wangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加优化过的khrgles2
Signed-off-by:
N
wangshi
<
wangshi@kaihongdigi.com
>
上级
fb129f32
变更
21
展开全部
隐藏空白更改
内联
并排
Showing
21 changed file
with
2617 addition
and
0 deletion
+2617
-0
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp
+60
-0
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h
+40
-0
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp
+60
-0
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h
+40
-0
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp
+81
-0
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h
+32
-0
graphic/vkgl/src/khrgles2/build0001/BUILD.gn
graphic/vkgl/src/khrgles2/build0001/BUILD.gn
+70
-0
graphic/vkgl/src/khrgles2/build0001/Test.json
graphic/vkgl/src/khrgles2/build0001/Test.json
+38
-0
graphic/vkgl/src/khrgles2/build0001/logdefine.cpp
graphic/vkgl/src/khrgles2/build0001/logdefine.cpp
+20
-0
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp
...s2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp
+80
-0
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp
...les2/core/Khrgles2internalformat_renderbufferTestCase.cpp
+64
-0
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp
...hrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp
+172
-0
graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp
...ders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp
+72
-0
graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp
...src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp
+32
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp
...es2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp
+1324
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp
...khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp
+48
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
...c/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
+144
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
...ture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
+144
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp
.../texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp
+32
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp
...ure_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp
+32
-0
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp
...gles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp
+32
-0
未找到文件。
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Khrgles2BaseFunc.h"
#include "ActsKhrgles20001TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles20001TestSuite
::
startTime
;
time_t
ActsKhrgles20001TestSuite
::
endTime
;
FuncRunResult
ActsKhrgles20001TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles20001TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
startTime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles20001TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endTime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endTime
-
startTime
));
}
// Preset action of the test case
void
ActsKhrgles20001TestSuite
::
SetUp
(
void
)
{
}
// Cleanup action of the test case
void
ActsKhrgles20001TestSuite
::
TearDown
(
void
)
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#ifndef KHRGLES2_TESTCASE_H
#define KHRGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles2BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles20001TestSuite
:
public
testing
::
Test
{
public:
static
time_t
startTime
;
static
time_t
endTime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
(
void
);
// Cleanup action of the test case
virtual
void
TearDown
(
void
);
};
}
// namespace OHOS
#endif // KHRGLES2_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include <ctime>
#include "Khrgles2BaseFunc.h"
#include "ActsKhrgles2TestSuite.h"
namespace
OHOS
{
using
namespace
std
;
using
namespace
testing
::
ext
;
time_t
ActsKhrgles2TestSuite
::
startTime
;
time_t
ActsKhrgles2TestSuite
::
endTime
;
FuncRunResult
ActsKhrgles2TestSuite
::
runResult
;
// Preset action of the test suite, which is executed before the first test case
void
ActsKhrgles2TestSuite
::
SetUpTestCase
(
void
)
{
time
(
&
startTime
);
RegistPackage
();
runResult
.
numPassed
=
0
;
runResult
.
numFailed
=
0
;
runResult
.
numNotSupported
=
0
;
runResult
.
numWarnings
=
0
;
runResult
.
numWaived
=
0
;
}
// Test suite cleanup action, which is executed after the last test case
void
ActsKhrgles2TestSuite
::
TearDownTestCase
(
void
)
{
time
(
&
endTime
);
printf
(
"Test run totals --- Passed[%d]
\n
"
,
runResult
.
numPassed
);
printf
(
"Test run totals --- Failed[%d]
\n
"
,
runResult
.
numFailed
);
printf
(
"Test run totals --- Notsupport[%d]
\n
"
,
runResult
.
numNotSupported
);
printf
(
"Test run totals --- Warnings[%d]
\n
"
,
runResult
.
numWarnings
);
printf
(
"Test run totals --- Waved[%d]
\n
"
,
runResult
.
numWaived
);
printf
(
"testmain end --- COST TIME[%lld]
\n
"
,
(
endTime
-
startTime
));
}
// Preset action of the test case
void
ActsKhrgles2TestSuite
::
SetUp
(
void
)
{
}
// Cleanup action of the test case
void
ActsKhrgles2TestSuite
::
TearDown
(
void
)
{
}
}
\ No newline at end of file
graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#ifndef KHRGLES2_TESTCASE_H
#define KHRGLES2_TESTCASE_H
#include <gtest/gtest.h>
#include "Khrgles2BaseFunc.h"
namespace
OHOS
{
class
ActsKhrgles2TestSuite
:
public
testing
::
Test
{
public:
static
time_t
startTime
;
static
time_t
endTime
;
static
FuncRunResult
runResult
;
protected:
// Preset action of the test suite, which is executed before the first test case
static
void
SetUpTestCase
(
void
);
// Test suite cleanup action, which is executed after the last test case
static
void
TearDownTestCase
(
void
);
// Preset action of the test case
virtual
void
SetUp
(
void
);
// Cleanup action of the test case
virtual
void
TearDown
(
void
);
};
}
// namespace OHOS
#endif // KHRGLES2_TESTCASE_H
\ No newline at end of file
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <cstdio>
#include "tcuDefs.hpp"
#include "tcuCommandLine.hpp"
#include "tcuPlatform.hpp"
#include "ActsApp.h"
#include "tcuResource.hpp"
#include "tcuTestLog.hpp"
#include "tcuTestSessionExecutor.hpp"
#include "deUniquePtr.hpp"
#include "tcuOhosPlatform.hpp"
#include "external/openglcts/modules/common/glcConfigPackage.hpp"
#include "external/openglcts/modules/common/glcTestPackage.hpp"
#include "external/openglcts/modules/gles2/es2cTestPackage.hpp"
#include "external/openglcts/modules/gles32/es32cTestPackage.hpp"
#include "external/openglcts/modules/gles31/es31cTestPackage.hpp"
#include "external/openglcts/modules/gles3/es3cTestPackage.hpp"
#include "external/openglcts/modules/glesext/esextcTestPackage.hpp"
#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp"
#include "modules/gles2/tes2TestPackage.hpp"
#include "modules/gles3/tes3TestPackage.hpp"
#include "modules/gles31/tes31TestPackage.hpp"
#include "ohos_context_i.h"
#include "logdefine.h"
#include "Khrgles2BaseFunc.h"
static
tcu
::
TestPackage
*
createKhrgles2Package
(
tcu
::
TestContext
&
testCtx
)
{
return
new
es2cts
::
TestPackage
(
testCtx
,
"KHR-GLES2"
);
}
void
RegistPackage
(
void
)
{
tcu
::
TestPackageRegistry
*
registry
=
tcu
::
TestPackageRegistry
::
getSingleton
();
registry
->
registerPackage
(
"KHR-GLES2"
,
createKhrgles2Package
);
}
// extern tcu::TestLog tcutestlog;
FuncRunResult
RunTestKHRGLES
(
int
argc
,
const
char
**
argv
)
{
FuncRunResult
runResult
;
try
{
tcu
::
CommandLine
cmdLine
(
argc
,
argv
);
tcu
::
DirArchive
archive
(
cmdLine
.
getArchiveDir
());
de
::
UniquePtr
<
tcu
::
Platform
>
platform
(
createOhosPlatform
());
de
::
UniquePtr
<
tcu
::
ActsApp
>
app
(
new
tcu
::
ActsApp
(
*
platform
,
archive
,
OHOS
::
Logdefine
::
tcutestlog
,
cmdLine
));
for
(;;)
{
if
(
!
app
->
iterate
())
{
break
;
};
};
runResult
.
isComplete
=
app
->
getResult
().
isComplete
;
runResult
.
numPassed
=
app
->
getResult
().
numPassed
;
runResult
.
numExecuted
=
app
->
getResult
().
numExecuted
;
runResult
.
numFailed
=
app
->
getResult
().
numFailed
;
runResult
.
numNotSupported
=
app
->
getResult
().
numNotSupported
;
runResult
.
numWarnings
=
app
->
getResult
().
numWarnings
;
runResult
.
numWaived
=
app
->
getResult
().
numWaived
;
}
catch
(
const
std
::
exception
&
e
)
{
tcu
::
die
(
"%s"
,
e
.
what
());
};
return
runResult
;
}
\ No newline at end of file
graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#ifndef KHRGLES2_FUNC_H
#define KHRGLES2_FUNC_H
struct
FuncRunResult
{
int
numExecuted
;
// !< Total number of cases executed.
int
numPassed
;
// !< Number of cases passed.
int
numFailed
;
// !< Number of cases failed.
int
numNotSupported
;
// !< Number of cases not supported.
int
numWarnings
;
// !< Number of QualityWarning / CompatibilityWarning results.
int
numWaived
;
// !< Number of waived tests.
bool
isComplete
;
// !< Is run complete.
};
void
RegistPackage
(
void
);
FuncRunResult
RunTestKHRGLES
(
int
argc
,
const
char
**
argv
);
#endif // KHRGLES2_FUNC_H
\ No newline at end of file
graphic/vkgl/src/khrgles2/build0001/BUILD.gn
0 → 100644
浏览文件 @
220f80f8
# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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("//test/xts/acts/graphic/vkgl/comm.gni")
config("deqp_platform_ohos_config") {
cflags_cc = deqp_common_cflags_cc
cflags_cc += [
# "-Wno-conversion",
# "-Wno-unused-function",
"-Wno-unused-parameter",
]
defines = deqp_common_defines
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles2func0001") {
sources = common_src
sources += [ "../Khrgles2BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles2TestSuite0001") {
sources = [
"../ActsKhrgles20001TestSuite.cpp",
"../core/Khrgles2internalformat_copy_tex_imageTestCase.cpp",
"../core/Khrgles2internalformat_renderbufferTestCase.cpp",
"../core/Khrgles2internalformat_texture2dTestCase.cpp",
"../shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp",
"../shaders/Khrgles2shaders_negativeTestCase.cpp",
"../texture_3d/Khrgles2filtering_combinationsTestCase.cpp",
"../texture_3d/Khrgles2filtering_formatsTestCase.cpp",
"../texture_3d/Khrgles2filtering_sizesTestCase.cpp",
"../texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp",
"../texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp",
"../texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp",
"../texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp",
]
include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]
deps = [ ":libkhrgles2func0001" ]
cflags = [ "-Wno-error" ]
}
graphic/vkgl/src/khrgles2/build0001/Test.json
0 → 100644
浏览文件 @
220f80f8
{
"description"
:
"Config for ActsKhrgles2TestSuite0001 test cases"
,
"driver"
:
{
"module-name"
:
"ActsKhrgles2TestSuite0001"
,
"native-test-timeout"
:
"120000"
,
"native-test-device-path"
:
"/data/local/tmp"
,
"runtime-hint"
:
"100s"
,
"type"
:
"CppTest"
},
"kits"
:
[
{
"pre-push"
:
[
],
"post-push"
:
[
"chmod -R 777 /data/local/tmp/*"
,
"mkdir /data/local/tmp/gl_cts"
,
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts"
,
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp"
,
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push"
:
[
"ActsKhrgles2TestSuite0001->/data/local/tmp/ActsKhrgles2TestSuite0001"
,
"../../../common/common/librosen_context.z.so->/system/lib"
,
"../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type"
:
"PushKit"
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"mkdir /data/test"
,
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
graphic/vkgl/src/khrgles2/build0001/logdefine.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include "logdefine.h"
namespace
OHOS
{
tcu
::
TestLog
Logdefine
::
tcutestlog
(
"/data/local/tmp/ActsKhrgles2TestSuite0001.qpa"
,
0
);
}
// OHOS
\ No newline at end of file
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000449
,
"KHR-GLES2.core.internalf"
,
"ormat.copy_tex_image.rgb"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000450
,
"KHR-GLES2.core.internalf"
,
"ormat.copy_tex_image.rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000451
,
"KHR-GLES2.core.internalfo"
,
"rmat.copy_tex_image.alpha"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000452
,
"KHR-GLES2.core.internalform"
,
"at.copy_tex_image.luminance"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000453
,
"KHR-GLES2.core.internalformat."
,
"copy_tex_image.luminance_alpha"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000454
,
"KHR-GLES2.core.internalfor"
,
"mat.copy_tex_image.rgb5_a1"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000455
,
"KHR-GLES2.core.internalfo"
,
"rmat.copy_tex_image.rgb565"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000456
,
"KHR-GLES2.core.internalfo"
,
"rmat.copy_tex_image.rgba4"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000457
,
"KHR-GLES2.core.internalformat.cop"
,
"y_tex_image.luminance4_alpha4_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000458
,
"KHR-GLES2.core.internalformat.cop"
,
"y_tex_image.luminance8_alpha8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000459
,
"KHR-GLES2.core.internalformat"
,
".copy_tex_image.luminance8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000460
,
"KHR-GLES2.core.internalform"
,
"at.copy_tex_image.alpha8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000461
,
"KHR-GLES2.core.internalfor"
,
"mat.copy_tex_image.rgb10_a2"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000462
,
"KHR-GLES2.core.internalfo"
,
"rmat.copy_tex_image.rgb10"
);
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000463
,
"KHR-GLES2.core.internalf"
,
"ormat.renderbuffer.rgba8"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000464
,
"KHR-GLES2.core.internal"
,
"format.renderbuffer.rgb8"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000465
,
"KHR-GLES2.core.internalformat."
,
"renderbuffer.stencil_index1_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000466
,
"KHR-GLES2.core.internalformat."
,
"renderbuffer.stencil_index4_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000467
,
"KHR-GLES2.core.internalforma"
,
"t.renderbuffer.stencil_index8"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000468
,
"KHR-GLES2.core.internalformat."
,
"renderbuffer.depth_component16"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000469
,
"KHR-GLES2.core.internalformat."
,
"renderbuffer.depth_component24"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000470
,
"KHR-GLES2.core.internalformat."
,
"renderbuffer.depth_component32"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000471
,
"KHR-GLES2.core.internalformat"
,
".renderbuffer.depth24_stencil8"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000472
,
"KHR-GLES2.core.internalfo"
,
"rmat.renderbuffer.rgb5_a1"
);
graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000412
,
"KHR-GLES2.core.internalformat.t"
,
"exture2d.rgba_unsigned_byte_rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000413
,
"KHR-GLES2.core.internalformat."
,
"texture2d.rgb_unsigned_byte_rgb"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000414
,
"KHR-GLES2.core.internalformat.textur"
,
"e2d.rgba_unsigned_short_4_4_4_4_rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000415
,
"KHR-GLES2.core.internalformat.texture2d.lu"
,
"minance_alpha_unsigned_byte_luminance_alpha"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000416
,
"KHR-GLES2.core.internalformat.textur"
,
"e2d.luminance_unsigned_byte_luminance"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000417
,
"KHR-GLES2.core.internalformat.te"
,
"xture2d.alpha_unsigned_byte_alpha"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000418
,
"KHR-GLES2.core.internalformat.texture2"
,
"d.rgba_unsigned_int_2_10_10_10_rev_rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000419
,
"KHR-GLES2.core.internalformat.texture2d."
,
"rgba_unsigned_int_2_10_10_10_rev_rgb10_a2"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000420
,
"KHR-GLES2.core.internalformat.texture2d."
,
"rgba_unsigned_int_2_10_10_10_rev_rgb5_a1"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000421
,
"KHR-GLES2.core.internalformat.texture"
,
"2d.rgb_unsigned_int_2_10_10_10_rev_rgb"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000422
,
"KHR-GLES2.core.internalformat.texture2d.dep"
,
"th_component_unsigned_short_depth_component"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000423
,
"KHR-GLES2.core.internalformat.texture2d.de"
,
"pth_component_unsigned_int_depth_component"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000424
,
"KHR-GLES2.core.internalformat.texture2d.de"
,
"pth_stencil_unsigned_int_24_8_depth_stencil"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000425
,
"KHR-GLES2.core.internalformat.t"
,
"exture2d.rgb_half_float_oes_rgb"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000426
,
"KHR-GLES2.core.internalformat.te"
,
"xture2d.rgba_half_float_oes_rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000427
,
"KHR-GLES2.core.internalformat.text"
,
"ure2d.rgb_half_float_oes_rgb_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000428
,
"KHR-GLES2.core.internalformat.textu"
,
"re2d.rgba_half_float_oes_rgba_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000429
,
"KHR-GLES2.core.internalforma"
,
"t.texture2d.rgb_float_rgb32f"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000430
,
"KHR-GLES2.core.internalformat"
,
".texture2d.rgba_float_rgba32f"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000431
,
"KHR-GLES2.core.internalformat.t"
,
"exture2d.rgb_float_rgb32f_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000432
,
"KHR-GLES2.core.internalformat.te"
,
"xture2d.rgba_float_rgba32f_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000433
,
"KHR-GLES2.core.internalformat.tex"
,
"ture2d.rgba_unsigned_byte_rgb5_a1"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000434
,
"KHR-GLES2.core.internalformat.te"
,
"xture2d.rgba_unsigned_byte_rgba4"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000435
,
"KHR-GLES2.core.internalformat.te"
,
"xture2d.rgb_unsigned_byte_rgb565"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000436
,
"KHR-GLES2.core.internalformat.textur"
,
"e2d.rgba_unsigned_short_4_4_4_4_rgba4"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000437
,
"KHR-GLES2.core.internalformat.textur"
,
"e2d.rgba_unsigned_short_5_5_5_1_rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000438
,
"KHR-GLES2.core.internalformat.texture"
,
"2d.rgba_unsigned_short_5_5_5_1_rgb5_a1"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000439
,
"KHR-GLES2.core.internalformat.text"
,
"ure2d.rgb_unsigned_short_5_6_5_rgb"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000440
,
"KHR-GLES2.core.internalformat.textu"
,
"re2d.rgb_unsigned_short_5_6_5_rgb565"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000441
,
"KHR-GLES2.core.internalformat.texture2d.lumin"
,
"ance_alpha_unsigned_byte_luminance8_alpha8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000442
,
"KHR-GLES2.core.internalformat.texture2d.lumin"
,
"ance_alpha_unsigned_byte_luminance4_alpha4_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000443
,
"KHR-GLES2.core.internalformat.texture2d"
,
".luminance_unsigned_byte_luminance8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000444
,
"KHR-GLES2.core.internalformat.textu"
,
"re2d.alpha_unsigned_byte_alpha8_oes"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000445
,
"KHR-GLES2.core.internalformat.texture2d.dep"
,
"th_component_unsigned_int_depth_component16"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000446
,
"KHR-GLES2.core.internalformat.texture2d.dept"
,
"h_component_unsigned_short_depth_component16"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000447
,
"KHR-GLES2.core.internalformat.texture2d.dep"
,
"th_component_unsigned_int_depth_component24"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000448
,
"KHR-GLES2.core.internalformat.texture2d.dep"
,
"th_component_unsigned_int_depth_component32"
);
graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000003
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_float_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000004
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_float_frag"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000005
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_vec2_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000006
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_vec2_frag"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000007
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_vec3_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000008
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.sin_vec3_frag"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000009
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_float_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000010
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_float_frag"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000011
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_vec2_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000012
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_vec2_frag"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000013
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_vec3_vert"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000014
,
"KHR-GLES2.shaders.aggressive"
,
"_optimizations.cos_vec3_frag"
);
graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000001
,
"KHR-GLES2.shaders."
,
"negative.initialize"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000002
,
"KHR-GLES2.shaders.nega"
,
"tive.constant_sequence"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
此差异已折叠。
点击以展开。
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000015
,
"KHR-GLES2.texture_3d.filte"
,
"ring.formats.rgba8_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000016
,
"KHR-GLES2.texture_3d.filt"
,
"ering.formats.rgba8_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000017
,
"KHR-GLES2.texture_3d.filtering.fo"
,
"rmats.rgba8_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000018
,
"KHR-GLES2.texture_3d.filtering.fo"
,
"rmats.rgba8_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000019
,
"KHR-GLES2.texture_3d.filtering.fo"
,
"rmats.rgba8_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000020
,
"KHR-GLES2.texture_3d.filtering.f"
,
"ormats.rgba8_linear_mipmap_linear"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000021
,
"KHR-GLES2.texture_3d.filt"
,
"ering.sizes.4x8x8_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000022
,
"KHR-GLES2.texture_3d.fil"
,
"tering.sizes.4x8x8_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000023
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.4x8x8_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000024
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.4x8x8_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000025
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.4x8x8_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000026
,
"KHR-GLES2.texture_3d.filtering."
,
"sizes.4x8x8_linear_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000027
,
"KHR-GLES2.texture_3d.filte"
,
"ring.sizes.32x64x16_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000028
,
"KHR-GLES2.texture_3d.filte"
,
"ring.sizes.32x64x16_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000029
,
"KHR-GLES2.texture_3d.filtering.siz"
,
"es.32x64x16_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000030
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.32x64x16_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000031
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.32x64x16_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000032
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.32x64x16_linear_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000033
,
"KHR-GLES2.texture_3d.filter"
,
"ing.sizes.128x32x64_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000034
,
"KHR-GLES2.texture_3d.filte"
,
"ring.sizes.128x32x64_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000035
,
"KHR-GLES2.texture_3d.filtering.siz"
,
"es.128x32x64_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000036
,
"KHR-GLES2.texture_3d.filtering.siz"
,
"es.128x32x64_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000037
,
"KHR-GLES2.texture_3d.filtering.siz"
,
"es.128x32x64_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000038
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.128x32x64_linear_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000039
,
"KHR-GLES2.texture_3d.filt"
,
"ering.sizes.3x7x5_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000040
,
"KHR-GLES2.texture_3d.fil"
,
"tering.sizes.3x7x5_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000041
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.3x7x5_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000042
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.3x7x5_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000043
,
"KHR-GLES2.texture_3d.filtering.s"
,
"izes.3x7x5_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000044
,
"KHR-GLES2.texture_3d.filtering."
,
"sizes.3x7x5_linear_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000045
,
"KHR-GLES2.texture_3d.filte"
,
"ring.sizes.63x63x63_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000046
,
"KHR-GLES2.texture_3d.filte"
,
"ring.sizes.63x63x63_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000047
,
"KHR-GLES2.texture_3d.filtering.siz"
,
"es.63x63x63_nearest_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000048
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.63x63x63_linear_mipmap_nearest"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000049
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.63x63x63_nearest_mipmap_linear"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000050
,
"KHR-GLES2.texture_3d.filtering.si"
,
"zes.63x63x63_linear_mipmap_linear"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000382
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_4x4_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000383
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_5x4_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000384
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_5x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000385
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_6x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000386
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_6x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000387
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_8x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000388
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_8x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000389
,
"KHR-GLES2.texture_3d.compres"
,
"sed_texture.rgba_astc_8x8_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000390
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_10x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000391
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_10x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000392
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_10x8_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000393
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_10x10_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000394
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_12x10_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000395
,
"KHR-GLES2.texture_3d.compress"
,
"ed_texture.rgba_astc_12x12_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000396
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_4x4_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000397
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_5x4_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000398
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_5x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000399
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_6x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000400
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_6x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000401
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_8x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000402
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_8x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000403
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.srgb8_alpha8_astc_8x8_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000404
,
"KHR-GLES2.texture_3d.compressed_"
,
"texture.sgb8_alpha8_astc_10x5_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000405
,
"KHR-GLES2.texture_3d.compressed_t"
,
"exture.srgb8_alpha8_astc_10x6_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000406
,
"KHR-GLES2.texture_3d.compressed_t"
,
"exture.srgb8_alpha8_astc_10x8_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000407
,
"KHR-GLES2.texture_3d.compressed_t"
,
"exture.srgb8_alpha8_astc_10x10_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000408
,
"KHR-GLES2.texture_3d.compressed_t"
,
"exture.srgb8_alpha8_astc_12x10_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000409
,
"KHR-GLES2.texture_3d.compressed_t"
,
"exture.srgb8_alpha8_astc_12x12_khr"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000410
,
"KHR-GLES2.texture_3d.compressed_te"
,
"xture.negative_compressed_tex_image"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000411
,
"KHR-GLES2.texture_3d.compressed_text"
,
"ure.negative_compressed_tex_sub_image"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000378
,
"KHR-GLES2.texture_3d"
,
".copy_sub_image.rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000379
,
"KHR-GLES2.texture_3d.c"
,
"opy_sub_image.negative"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000380
,
"KHR-GLES2.texture_3d.f"
,
"ramebuffer_texture.rgba"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000381
,
"KHR-GLES2.texture_3d.fra"
,
"mebuffer_texture.negative"
);
graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp
0 → 100644
浏览文件 @
220f80f8
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles2BaseFunc.h"
#include "../ActsKhrgles20001TestSuite.h"
#include "shrinkdefine.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000376
,
"KHR-GLES2.texture_"
,
"3d.sub_image.rgba8"
);
static
SHRINK_HWTEST_F
(
ActsKhrgles20001TestSuite
,
TestCase_000377
,
"KHR-GLES2.texture_3"
,
"d.sub_image.negative"
);
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录