Home
last modified time | relevance | path

Searched refs:invalidTexture (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tests/
DGLBackendSurfaceTest.cpp108 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local
109 REPORTER_ASSERT(reporter, !invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
111 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
113 backendTexCopy = invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
116 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
118 invalidTexture = backendTex; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
119 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
120 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
122 invalidTexture = static_cast<decltype(invalidTexture)&>(invalidTexture); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
123 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
[all …]
DVkBackendSurfaceTest.cpp169 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
170 REPORTER_ASSERT(reporter, !invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
171 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
173 backendTex2 = invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
175 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
177 invalidTexture = backendTex1; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
178 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
179 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex1)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
181 invalidTexture = static_cast<decltype(invalidTexture)&>(invalidTexture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
182 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
[all …]
/third_party/flutter/skia/tests/
DGLBackendSurfaceTest.cpp110 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local
111 REPORTER_ASSERT(reporter, !invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
113 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
115 backendTexCopy = invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
118 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
120 invalidTexture = backendTex; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
121 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
122 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
124 invalidTexture = static_cast<decltype(invalidTexture)&>(invalidTexture); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
125 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
[all …]
DVkBackendSurfaceTest.cpp108 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
109 REPORTER_ASSERT(reporter, !invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
110 … REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
112 backendTexCopy = invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
114 … REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
116 invalidTexture = backendTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
117 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
118 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
120 invalidTexture = static_cast<decltype(invalidTexture)&>(invalidTexture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
121 REPORTER_ASSERT(reporter, invalidTexture.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcCompressedFormatTests.cpp412 } invalidTexture; variable
532 …D, 0, GL_COMPRESSED_RGB8_ETC2, invalidTexture.width, invalidTexture.height, 0, invalidTexture.data… in __anon399be5110402()
539 …EXTURE_3D, 0, 0, 0, invalidTexture.width, invalidTexture.height, GL_COMPRESSED_RGB8_ETC2, invalidT… in __anon399be5110502()
577 …MPRESSED_RGB8_ETC2, invalidTexture.width - i % 2, invalidTexture.height - (i + 1) % 2, 0, invalidT… in __anon399be5110702()
593 const auto updateWidth = invalidTexture.width - (i % 2) * blockSize; in __anon399be5110702()
594 const auto updateHeight = invalidTexture.height - ((i + 1) % 2) * blockSize; in __anon399be5110702()
596 DE_ASSERT(updateDataSize <= invalidTexture.data.size()); in __anon399be5110702()
597 …pFaces[i], 0, 0, 0, updateWidth, updateHeight, format, updateDataSize, invalidTexture.data.data()); in __anon399be5110702()
621 …0, GL_COMPRESSED_RGB8_ETC2, invalidTexture.width - 1, invalidTexture.height, 6, 0, invalidTexture.… in __anon399be5110c02()
730 …D, 0, GL_COMPRESSED_RGB8_ETC2, invalidTexture.width, invalidTexture.height, 1, invalidTexture.data… in __anon399be5111702()
[all …]