Home
last modified time | relevance | path

Searched refs:faceIndex (Results 1 – 25 of 25) sorted by relevance

/external/skqp/src/ports/
DSkFontMgr_custom_embedded.cpp59 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()
DSkFontMgr_custom_directory.cpp66 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()
DSkFontMgr_win_dw.cpp918 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamIndex() local
919 if (faceIndex == ttcIndex) { in onMakeFromStreamIndex()
967 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamArgs() local
971 if (faceIndex != ttcIndex) { in onMakeFromStreamArgs()
/external/skia/src/ports/
DSkFontMgr_custom_embedded.cpp86 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()
DSkFontMgr_custom_directory.cpp66 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()
DSkFontMgr_win_dw.cpp991 int faceIndex = fontFace->GetIndex(); in onMakeFromStreamArgs() local
995 if (faceIndex != ttcIndex) { in onMakeFromStreamArgs()
1116 int faceIndex = fontFace->GetIndex(); in onMakeFromFontData() local
1120 if (faceIndex != ttcIndex) { in onMakeFromFontData()
/external/angle/src/tests/gl_tests/
DGetImageTest.cpp210 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local
212 glTexImage2D(kCubeFaces[faceIndex], 0, GL_RGBA, kSmallSize, kSmallSize, 0, GL_RGBA, in TEST_P()
213 GL_UNSIGNED_BYTE, expectedData[faceIndex].data()); in TEST_P()
223 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local
225 glGetTexImageANGLE(kCubeFaces[faceIndex], 0, GL_RGBA, GL_UNSIGNED_BYTE, actualData.data()); in TEST_P()
227 EXPECT_EQ(expectedData[faceIndex], actualData); in TEST_P()
DCopyTexImageTest.cpp370 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()
441 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local
448 glCopyTexSubImage2D(face, 0, 0, 0, faceIndex, 0, 1, 1); in TEST_P()
455 GLsizei faceIndex = face - GL_TEXTURE_CUBE_MAP_POSITIVE_X; in TEST_P() local
462 EXPECT_PIXEL_COLOR_EQ(0, 0, fboPixels[faceIndex]); in TEST_P()
DSimpleOperationTest.cpp1043 for (size_t faceIndex = 0; faceIndex < kCubeFaces.size(); ++faceIndex) in TEST_P() local
1045 glTexImage2D(kCubeFaces[faceIndex], 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
1046 colors[faceIndex].data()); in TEST_P()
1114 for (int faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local
1116 int index = faceIndex * 4; in TEST_P()
1124 colors[faceIndex][0]); in TEST_P()
DTextureTest.cpp2069 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local
2072 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P()
2074 Vector4 clearColorF = faceColors[faceIndex].toNormalizedVector(); in TEST_P()
2078 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]); in TEST_P()
2082 for (size_t faceIndex = 0; faceIndex < 6; ++faceIndex) in TEST_P() local
2085 GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, mTextureCube, 0); in TEST_P()
2086 EXPECT_PIXEL_COLOR_EQ(0, 0, faceColors[faceIndex]) in TEST_P()
2087 << "face color " << faceIndex << " shouldn't change"; in TEST_P()
9032 for (GLenum faceIndex = 0; faceIndex < 6; faceIndex++) in TEST_P() local
9034 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, baseLevel, GL_RGBA8UI, width, in TEST_P()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1811 GLint faceIndex = index.cubeMapFaceIndex(); in copyImage() local
1816 ANGLE_TRY(redefineImage(context, faceIndex, index.getLevelIndex(), in copyImage()
1849 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copyImage()
1859 if (size.width > 0 && isValidFaceLevel(faceIndex, index.getLevelIndex())) in copyImage()
1861 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copyImage()
1886 GLint faceIndex = index.cubeMapFaceIndex(); in copySubImage() local
1893 ANGLE_TRY(mImageArray[faceIndex][index.getLevelIndex()]->copyFromFramebuffer( in copySubImage()
1900 if (isValidFaceLevel(faceIndex, index.getLevelIndex())) in copySubImage()
1902 ANGLE_TRY(updateStorageFaceLevel(context, faceIndex, index.getLevelIndex())); in copySubImage()
1926 GLint faceIndex = index.cubeMapFaceIndex(); in copyTexture() local
[all …]
DTextureD3D.h460 bool isValidFaceLevel(int faceIndex, int level) const;
461 bool isFaceLevelComplete(int faceIndex, int level) const;
464 angle::Result updateStorageFaceLevel(const gl::Context *context, int faceIndex, int level);
467 int faceIndex,
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp447 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()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp2403 const int faceIndex = index.cubeMapFaceIndex(); in findRenderTarget() local
2407 ASSERT(faceIndex >= 0 && faceIndex < static_cast<GLint>(gl::kCubeFaceCount)); in findRenderTarget()
2415 if (!mRenderTarget[faceIndex][level]) in findRenderTarget()
2421 *outRT = mLevelZeroRenderTarget[faceIndex].get(); in findRenderTarget()
2427 *outRT = mRenderTarget[faceIndex][level].get(); in findRenderTarget()
2464 const int faceIndex = index.cubeMapFaceIndex(); in getRenderTarget() local
2468 ASSERT(faceIndex >= 0 && faceIndex < static_cast<GLint>(gl::kCubeFaceCount)); in getRenderTarget()
2482 if (!mRenderTarget[faceIndex][level]) in getRenderTarget()
2495 if (!mLevelZeroRenderTarget[faceIndex]) in getRenderTarget()
2501 rtvDesc.Texture2DArray.FirstArraySlice = faceIndex; in getRenderTarget()
[all …]
/external/pdfium/core/fxge/
Dcfx_font.cpp60 int32_t faceIndex, in LoadFileImp() argument
74 RetainPtr<CFX_Face> face = CFX_Face::Open(library, &args, faceIndex); in LoadFileImp()
/external/swiftshader/include/GLES2/
Dgl2ext.h3134 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
3211 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
/external/mesa3d/include/GLES2/
Dgl2ext.h3300 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
3377 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
/external/angle/include/GLES2/
Dgl2ext.h3316 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
3393 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
/external/swiftshader/include/GL/
Dglcorearb.h5371 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
5429 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
Dglext.h10443 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
10508 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
/external/mesa3d/include/GL/
Dglcorearb.h5519 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
5577 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
Dglext.h10629 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
10694 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…
/external/libepoxy/prebuilt-intermediates/include/epoxy/
Dgl_generated.h8739 … GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGly…
13894 … GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGly…
/external/libepoxy/prebuilt-intermediates/src/
Dgl_generated_dispatch.c116402faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScal…
/external/OpenCL-CTS/test_conformance/gl/GLEW/GL/
Dglew.h15800 …, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGly…