/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/ |
D | happy.c | 19 } faces[NUM_HAPPY_FACES]; variable 34 faces[i].x = randomFloat(0.0f, w - HAPPY_FACE_SIZE); in initializeHappyFaces() 35 faces[i].y = randomFloat(0.0f, h - HAPPY_FACE_SIZE); in initializeHappyFaces() 36 faces[i].xvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces() 37 faces[i].yvel = randomFloat(-60.0f, 60.0f); in initializeHappyFaces() 77 faces[i].x += faces[i].xvel * deltaTime; in render() 78 faces[i].y += faces[i].yvel * deltaTime; in render() 79 if (faces[i].x > maxx) { in render() 80 faces[i].x = maxx; in render() 81 faces[i].xvel = -faces[i].xvel; in render() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexVerifierUtil.cpp | 73 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument 89 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces() 90 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces() 94 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces() 95 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces() 99 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces() 100 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces() 107 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces() 108 faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces() 113 faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces() [all …]
|
D | tcuTexLookupVerifier.cpp | 1519 static bool isSeamlessLinearSampleResultValid (const ConstPixelBufferAccess (&faces)[CUBEFACE_LAST], in isSeamlessLinearSampleResultValid() 1525 const int size = faces[coords.face].getWidth(); in isSeamlessLinearSampleResultValid() 1536 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type); in isSeamlessLinearSampleResultValid() 1567 quad.p00 = lookup<float>(faces[c00.face], sampler, c00.s, c00.t, 0); in isSeamlessLinearSampleResultValid() 1568 quad.p10 = lookup<float>(faces[c10.face], sampler, c10.s, c10.t, 0); in isSeamlessLinearSampleResultValid() 1569 quad.p01 = lookup<float>(faces[c01.face], sampler, c01.s, c01.t, 0); in isSeamlessLinearSampleResultValid() 1570 quad.p11 = lookup<float>(faces[c11.face], sampler, c11.s, c11.t, 0); in isSeamlessLinearSampleResultValid() 1773 ConstPixelBufferAccess faces[CUBEFACE_LAST]; in isLookupResultValid() local 1774 getCubeLevelFaces(texture, 0, faces); in isLookupResultValid() 1776 if (isCubeLevelSampleResultValid(faces, sampler, sampler.magFilter, prec, faceCoords, result)) in isLookupResultValid() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fFboStateQueryTests.cpp | 187 const GLenum faces[] = in test() local 194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) in test() 195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); in test() 198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) in test() 200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); in test() 201 …ram(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]); in test()
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstfacedetect.cpp | 560 gint min_size_height, Rect r, vector < Rect > &faces) in gst_face_detect_run_detector() 570 detector->detectMultiScale (roi, faces, filter->scale_factor, in gst_face_detect_run_detector() 594 vector < Rect > faces; in gst_face_detect_transform_ip() local 606 faces); in gst_face_detect_transform_ip() 613 if (!faces.empty ()) { in gst_face_detect_transform_ip() 623 if (!faces.empty ()) { in gst_face_detect_transform_ip() 637 filter->face_detected = !faces.empty ()? TRUE : FALSE; in gst_face_detect_transform_ip() 644 for (unsigned int i = 0; i < faces.size (); ++i) { in gst_face_detect_transform_ip() 645 Rect r = faces[i]; in gst_face_detect_transform_ip() 695 faces.size (), r.x, r.y, r.width, r.height, have_eyes, have_nose, in gst_face_detect_transform_ip()
|
D | gstfaceblur.cpp | 347 vector < Rect > faces; in gst_face_blur_transform_ip() local 363 filter->cvCascade->detectMultiScale (filter->cvGray, faces, in gst_face_blur_transform_ip() 367 if (!faces.empty ()) { in gst_face_blur_transform_ip() 369 for (i = 0; i < faces.size (); ++i) { in gst_face_blur_transform_ip() 370 Rect *r = &faces[i]; in gst_face_blur_transform_ip()
|
/third_party/freetype/src/cache/ |
D | ftcmanag.c | 324 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FTC_Manager_LookupFace() 328 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FTC_Manager_LookupFace() 390 FTC_MruList_Init( &manager->faces, in FTC_Manager_New() 444 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done() 462 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset() 681 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
|
D | ftcmanag.h | 103 FTC_MruListRec faces; member
|
/third_party/skia/third_party/externals/freetype/src/cache/ |
D | ftcmanag.c | 324 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FTC_Manager_LookupFace() 328 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FTC_Manager_LookupFace() 390 FTC_MruList_Init( &manager->faces, in FTC_Manager_New() 444 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done() 462 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset() 681 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
|
/third_party/flutter/skia/third_party/externals/freetype/src/cache/ |
D | ftcmanag.c | 325 FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare, in FTC_Manager_LookupFace() 329 error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode ); in FTC_Manager_LookupFace() 391 FTC_MruList_Init( &manager->faces, in FTC_Manager_New() 441 FTC_MruList_Done( &manager->faces ); in FTC_Manager_Done() 459 FTC_MruList_Reset( &manager->faces ); in FTC_Manager_Reset() 678 FTC_MruList_RemoveSelection( &manager->faces, in FTC_Manager_RemoveFaceID()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cTextureGatherTests.cpp | 586 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCubeInt() local 596 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, tex_type, 0); in CreateTextureCubeInt() 602 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, tex_type, &pixels[0]); in CreateTextureCubeInt() 609 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, tex_type, data); in CreateTextureCubeInt() 610 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, tex_type, data + 0); in CreateTextureCubeInt() 611 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, tex_type, data + 1); in CreateTextureCubeInt() 612 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, tex_type, data + 2); in CreateTextureCubeInt() 613 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, tex_type, data + 3); in CreateTextureCubeInt() 630 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCube() local 641 glTexImage2D(faces[j], i, internal_format, size, size, 0, format, GL_FLOAT, &pixels[0]); in CreateTextureCube() [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_texture_cube_map_array.txt | 129 represent the faces of a cube. When accessing a cube map, the 130 texture coordinates are projected onto one of the six faces of the 164 be a multiple of six indicating 6N layer-faces in the cube map 213 the maximum number of layer-faces for cube map array textures 247 first layer-face to update, and <depth> is the number layer-faces to 463 for cube map texture faces) 473 The face number correspond to the cube map faces as listed in 711 correspond to the six faces of the first layer of the cube map 712 array, and subsequent groups of six layer-faces correspond to 716 faces, respectively. A valid cube map array texture will thus [all …]
|
D | ARB_get_texture_sub_image.txt | 99 called, but only texels from the requested cube map faces (selected by 115 is the number of faces to access. For cube map array textures, <zoffset> 117 faces to access. Each layer-face is translated into an array layer and a 185 <height>, and <depth> parameters and the faces, layers, and layer-faces 290 cube map texture faces as per Table 9.2. This is consisten
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_texture_cube_map_array.txt | 139 represent the faces of a cube. When accessing a cube map, the 140 texture coordinates are projected onto one of the six faces of the 174 be a multiple of six indicating 6N layer-faces in the cube map 223 the maximum number of layer-faces for cube map array textures 257 first layer-face to update, and <depth> is the number layer-faces to 473 for cube map texture faces) 483 The face number correspond to the cube map faces as listed in 721 correspond to the six faces of the first layer of the cube map 722 array, and subsequent groups of six layer-faces correspond to 726 faces, respectively. A valid cube map array texture will thus [all …]
|
D | ARB_get_texture_sub_image.txt | 109 called, but only texels from the requested cube map faces (selected by 125 is the number of faces to access. For cube map array textures, <zoffset> 127 faces to access. Each layer-face is translated into an array layer and a 195 <height>, and <depth> parameters and the faces, layers, and layer-faces 300 cube map texture faces as per Table 9.2. This is consisten
|
/third_party/flutter/skia/tests/ |
D | FontHostTest.cpp | 201 static const char* const faces[] = { in test_advances() local 238 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances() 239 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
|
/third_party/skia/tests/ |
D | FontHostTest.cpp | 201 static const char* const faces[] = { in test_advances() local 238 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { in test_advances() 239 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_cmd.c | 278 SVGA3dSurfaceFace **faces, // OUT in SVGA3D_BeginDefineSurface() argument 295 *faces = &cmd->face[0]; in SVGA3D_BeginDefineSurface() 298 memset(*faces, 0, sizeof **faces * SVGA3D_MAX_SURFACE_FACES); in SVGA3D_BeginDefineSurface() 330 SVGA3dSurfaceFace *faces; in SVGA3D_DefineSurface2D() local 334 sid, 0, format, &faces, &mipSizes, 1); in SVGA3D_DefineSurface2D() 338 faces[0].numMipLevels = 1; in SVGA3D_DefineSurface2D()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cTextureGatherTests.cpp | 737 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCubeInt() local 747 glTexImage2D(faces[j], i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTextureCubeInt() 753 glTexSubImage2D(faces[j], 0, 0, 0, csize, csize, GL_RGBA_INTEGER, GL_INT, &pixels[0]); in CreateTextureCubeInt() 760 glTexSubImage2D(faces[j], 0, 22, 25, 2, 2, GL_RGBA_INTEGER, GL_INT, data); in CreateTextureCubeInt() 761 glTexSubImage2D(faces[j], 0, 16, 10, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 0); in CreateTextureCubeInt() 762 glTexSubImage2D(faces[j], 0, 11, 2, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 1); in CreateTextureCubeInt() 763 glTexSubImage2D(faces[j], 0, 24, 13, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 2); in CreateTextureCubeInt() 764 glTexSubImage2D(faces[j], 0, 9, 14, 1, 1, GL_RGBA_INTEGER, GL_INT, data + 3); in CreateTextureCubeInt() 781 const GLenum faces[6] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in CreateTextureCube() local 791 glTexImage2D(faces[j], i, internal_format, size, size, 0, format, GL_FLOAT, 0); in CreateTextureCube() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_NV_viewport_swizzle.adoc | 27 single-pass cube map rendering (broadcasting a primitive to multiple faces 61 layered FBO where the six cube faces are treated as layers. 133 // Figure out which faces the primitive projects onto and 146 The application code is set up so that each of the six cube faces has a
|
D | VK_NV_viewport_swizzle.txt | 27 single-pass cube map rendering (broadcasting a primitive to multiple faces 61 layered FBO where the six cube faces are treated as layers. 133 // Figure out which faces the primitive projects onto and 146 The application code is set up so that each of the six cube faces has a
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | WGL_NV_render_depth_texture.txt | 195 cube map faces.) 201 accumulation buffers between levels or faces. 206 free to share a single depth buffer between levels or faces. 208 The contents of any color or depth buffer that may be shared between faces 209 are undefined after switching between mipmap levels or cube map faces.
|
/third_party/openGLES/extensions/NV/ |
D | WGL_NV_render_depth_texture.txt | 195 cube map faces.) 201 accumulation buffers between levels or faces. 206 free to share a single depth buffer between levels or faces. 208 The contents of any color or depth buffer that may be shared between faces 209 are undefined after switching between mipmap levels or cube map faces.
|
/third_party/mesa3d/include/android_stub/system/ |
D | camera.h | 302 camera_face_t *faces; member
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 2113 args.face_id = filt_args->faces[j]; in mip_filter_linear() 2194 args.face_id = filt_args->faces[j]; in mip_filter_nearest() 2253 args.face_id = filt_args->faces[j]; in mip_filter_none() 2299 args.face_id = filt_args->faces[j]; in mip_filter_none_no_filter_select() 2346 const uint faces[TGSI_QUAD_SIZE], in img_filter_2d_ewa() 2427 args.face_id = faces[j]; in img_filter_2d_ewa() 2637 args.face_id = filt_args->faces[j]; in mip_filter_linear_aniso() 2651 s, t, p, filt_args->faces, filt_args->offset, in mip_filter_linear_aniso() 2702 args.face_id = filt_args->faces[j]; in mip_filter_linear_2d_linear_repeat_POT() 3229 uint faces[TGSI_QUAD_SIZE]) in convert_cube() [all …]
|