/third_party/flutter/skia/src/ports/ |
D | SkFontMgr_custom_embedded.cpp | 59 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_embedded_font() local 63 if (!scanner.scanFont(stream.get(), faceIndex, in load_embedded_font() 66 SkDebugf("---- failed to open <%d> <%d> as a font\n", index, faceIndex); in load_embedded_font() 75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0); in load_embedded_font()
|
D | SkFontMgr_custom_directory.cpp | 66 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_directory_fonts() local 70 if (!scanner.scanFont(stream.get(), faceIndex, in load_directory_fonts() 85 faceIndex)); in load_directory_fonts()
|
D | SkFontMgr_win_dw.cpp | 940 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamIndex() local 941 if (faceIndex == ttcIndex) { in onMakeFromStreamIndex() 989 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamArgs() local 993 if (faceIndex != ttcIndex) { in onMakeFromStreamArgs()
|
/third_party/skia/src/ports/ |
D | SkFontMgr_custom_embedded.cpp | 86 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_font_from_data() local 90 if (!scanner.scanFont(stream.get(), faceIndex, in load_font_from_data() 93 SkDebugf("---- failed to open <%d> <%d> as a font\n", index, faceIndex); in load_font_from_data() 102 auto data = std::make_unique<SkFontData>(stream->duplicate(), faceIndex, nullptr, 0); in load_font_from_data()
|
D | SkFontMgr_custom_directory.cpp | 66 for (int faceIndex = 0; faceIndex < numFaces; ++faceIndex) { in load_directory_fonts() local 70 if (!scanner.scanFont(stream.get(), faceIndex, in load_directory_fonts() 85 faceIndex)); in load_directory_fonts()
|
D | SkFontMgr_win_dw.cpp | 1101 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamArgs() local 1105 if (faceIndex != ttcIndex) { in onMakeFromStreamArgs()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 389 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 391 glTexImage2D(face, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &fboPixels[faceIndex]); in TEST_P() 405 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 413 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, faceIndex, 0, 0, 0, 1, 1); in TEST_P() 422 for (GLsizei faceIndex = 0; faceIndex < kCubeMapFaceCount; ++faceIndex) in TEST_P() local 424 EXPECT_PIXEL_COLOR_EQ(faceIndex, 0, fboPixels[faceIndex]); in TEST_P() 457 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 464 glCopyTexSubImage2D(face, 0, 0, 0, faceIndex, 0, 1, 1); in TEST_P() 471 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 478 EXPECT_PIXEL_COLOR_EQ(0, 0, fboPixels[faceIndex]); in TEST_P()
|
D | SimpleOperationTest.cpp | 915 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local 917 glTexImage2D(kCubeFaces[faceIndex], 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 918 colors[faceIndex].data()); in TEST_P() 986 for (int faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 988 int index = faceIndex * 4; in TEST_P() 996 colors[faceIndex][0]); in TEST_P()
|
D | TextureTest.cpp | 1581 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 1584 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P() 1586 Vector4 clearColorF = faceColors[faceIndex].toNormalizedVector(); in TEST_P() 1590 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]); in TEST_P() 1594 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 1597 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P() 1598 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]) in TEST_P() 1599 << "face color " << faceIndex << " shouldn't change"; in TEST_P() 4852 for (GLenum faceIndex = 0; faceIndex < 6; faceIndex++) in TEST_P() local 4854 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, baseLevel, GL_RGBA8UI, width, in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1729 GLint faceIndex = index.cubeMapFaceIndex(); in copyImage() local 1734 ANGLE_TRY(redefineImage(context, faceIndex, index.getLevelIndex(), in copyImage() 1767 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copyImage() 1777 if (size.width > 0 && isValidFaceLevel(faceIndex, index.getLevelIndex())) in copyImage() 1779 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copyImage() 1804 GLint faceIndex = index.cubeMapFaceIndex(); in copySubImage() local 1811 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copySubImage() 1818 if (isValidFaceLevel(faceIndex, index.getLevelIndex())) in copySubImage() 1820 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copySubImage() 1844 GLint faceIndex = index.cubeMapFaceIndex(); in copyTexture() local [all …]
|
D | TextureD3D.h | 440 bool isValidFaceLevel(int faceIndex, int level) const; 441 bool isFaceLevelComplete(int faceIndex, int level) const; 444 angle::Result updateStorageFaceLevel(const gl::Context *context, int faceIndex, int level); 447 int faceIndex,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1817 GLint faceIndex = index.cubeMapFaceIndex(); in copyImage() local 1822 ANGLE_TRY(redefineImage(context, faceIndex, index.getLevelIndex(), in copyImage() 1854 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copyImage() 1864 if (size.width > 0 && isValidFaceLevel(faceIndex, index.getLevelIndex())) in copyImage() 1866 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copyImage() 1891 GLint faceIndex = index.cubeMapFaceIndex(); in copySubImage() local 1898 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copySubImage() 1905 if (isValidFaceLevel(faceIndex, index.getLevelIndex())) in copySubImage() 1907 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copySubImage() 1931 GLint faceIndex = index.cubeMapFaceIndex(); in copyTexture() local [all …]
|
D | TextureD3D.h | 463 bool isValidFaceLevel(int faceIndex, int level) const; 464 bool isFaceLevelComplete(int faceIndex, int level) const; 467 angle::Result updateStorageFaceLevel(const gl::Context *context, int faceIndex, int level); 470 int faceIndex,
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | GetImageTest.cpp | 215 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local 217 glTexImage2D(kCubeFaces[faceIndex], 0, GL_RGBA, kSmallSize, kSmallSize, 0, GL_RGBA, in TEST_P() 218 GL_UNSIGNED_BYTE, expectedData[faceIndex].data()); in TEST_P() 228 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local 230 glGetTexImageANGLE(kCubeFaces[faceIndex], 0, GL_RGBA, GL_UNSIGNED_BYTE, actualData.data()); in TEST_P() 232 EXPECT_EQ(expectedData[faceIndex], actualData); in TEST_P()
|
D | CopyTexImageTest.cpp | 370 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 372 glTexImage2D(face, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &fboPixels[faceIndex]); in TEST_P() 386 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 394 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, faceIndex, 0, 0, 0, 1, 1); in TEST_P() 403 for (GLsizei faceIndex = 0; faceIndex < kCubeMapFaceCount; ++faceIndex) in TEST_P() local 405 EXPECT_PIXEL_COLOR_EQ(faceIndex, 0, fboPixels[faceIndex]); in TEST_P() 438 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 445 glCopyTexSubImage2D(face, 0, 0, 0, faceIndex, 0, 1, 1); in TEST_P() 452 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local 459 EXPECT_PIXEL_COLOR_EQ(0, 0, fboPixels[faceIndex]); in TEST_P()
|
D | SimpleOperationTest.cpp | 1040 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local 1042 glTexImage2D(kCubeFaces[faceIndex], 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 1043 colors[faceIndex].data()); in TEST_P() 1111 for (int faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 1113 int index = faceIndex * 4; in TEST_P() 1121 colors[faceIndex][0]); in TEST_P()
|
D | TextureTest.cpp | 2081 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 2084 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P() 2086 Vector4 clearColorF = faceColors[faceIndex].toNormalizedVector(); in TEST_P() 2090 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]); in TEST_P() 2094 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local 2097 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P() 2098 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]) in TEST_P() 2099 << "face color " << faceIndex << " shouldn't change"; in TEST_P() 9427 for (GLenum faceIndex = 0; faceIndex < 6; faceIndex++) in TEST_P() local 9429 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, baseLevel, GL_RGBA8UI, width, in TEST_P() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cTextureFilterMinmaxTests.cpp | 447 for (int faceIndex = 0; faceIndex < tcu::CUBEFACE_LAST; ++faceIndex) in generate() local 449 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceIndex, 0); in generate() 452 tcu::fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)faceIndex), 4, in generate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | TextureStorage11.cpp | 2435 const int faceIndex = index.cubeMapFaceIndex(); in findRenderTarget() local 2439 ASSERT(faceIndex >= 0 && faceIndex < static_cast<GLint>(gl::kCubeFaceCount)); in findRenderTarget() 2447 if (!mRenderTarget[faceIndex][level]) in findRenderTarget() 2453 *outRT = mLevelZeroRenderTarget[faceIndex].get(); in findRenderTarget() 2459 *outRT = mRenderTarget[faceIndex][level].get(); in findRenderTarget() 2496 const int faceIndex = index.cubeMapFaceIndex(); in getRenderTarget() local 2500 ASSERT(faceIndex >= 0 && faceIndex < static_cast<GLint>(gl::kCubeFaceCount)); in getRenderTarget() 2514 if (!mRenderTarget[faceIndex][level]) in getRenderTarget() 2527 if (!mLevelZeroRenderTarget[faceIndex]) in getRenderTarget() 2533 rtvDesc.Texture2DArray.FirstArraySlice = faceIndex; in getRenderTarget() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | TextureStorage11.cpp | 2217 const int faceIndex = index.cubeMapFaceIndex(); in getRenderTarget() local 2221 ASSERT(faceIndex >= 0 && faceIndex < static_cast<GLint>(gl::kCubeFaceCount)); in getRenderTarget() 2225 if (!mRenderTarget[faceIndex][level]) in getRenderTarget() 2238 if (!mLevelZeroRenderTarget[faceIndex]) in getRenderTarget() 2244 rtvDesc.Texture2DArray.FirstArraySlice = faceIndex; in getRenderTarget() 2251 mLevelZeroRenderTarget[faceIndex].reset(new TextureRenderTarget11( in getRenderTarget() 2258 *outRT = mLevelZeroRenderTarget[faceIndex].get(); in getRenderTarget() 2283 rtvDesc.Texture2DArray.FirstArraySlice = faceIndex; in getRenderTarget() 2290 mRenderTarget[faceIndex][level].reset(new TextureRenderTarget11( in getRenderTarget() 2301 dsvDesc.Texture2DArray.FirstArraySlice = faceIndex; in getRenderTarget() [all …]
|
/third_party/mesa3d/include/GLES2/ |
D | gl2ext.h | 3300 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly… 3377 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
|
/third_party/skia/third_party/externals/swiftshader/include/GLES2/ |
D | gl2ext.h | 3134 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly… 3211 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
|
/third_party/skia/third_party/externals/opengl-registry/api/GLES2/ |
D | gl2ext.h | 3134 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly… 3211 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
|
/third_party/flutter/skia/third_party/externals/angle2/include/GLES2/ |
D | gl2ext.h | 3134 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly… 3211 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
|
/third_party/openGLES/api/GLES2/ |
D | gl2ext.h | 3316 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly… 3393 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
|