/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | RobustResourceInitTest.cpp | 1007 // Make the destination non-multisampled depth FBO. in TEST_P() 1012 GLRenderbuffer depth; in TEST_P() local 1013 glBindRenderbuffer(GL_RENDERBUFFER, depth); in TEST_P() 1019 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depth); in TEST_P() 1028 // Make the multisampled depth FBO. in TEST_P() 1043 // Test drawing with the resolved depth buffer. in TEST_P() 1506 // Initialize a FBO with depth and simple color. in maskedDepthClear() 1523 // Disable depth writes and trigger a clear. in maskedDepthClear() 1529 // Draw red with a depth function that checks for the clear value. in maskedDepthClear() 1538 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::black) << "depth shoul in maskedDepthClear() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageCompressionTranscodingSupport.cpp | 653 imageData[resultImageNdx].getImageInfo(imageNdx).extent.depth); in iterate() 743 UVec3(isCompressed ? imageExtent.width : imageExtent.width * m_blockWidth, isCompressed? imageExtent.height :imageExtent.height * m_blockHeight,imageExtent.depth)) * in copyDataToImage() 851 imageData[1].getImageInfo(ndx).extent.depth); in executeShader() 1115 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage() 1117 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage() 1119 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, compressedImageInfo.extent.depth, 0u, compressedImageInfo.arrayLayers)); in decompressImage() 1145 const VkDeviceSize bufferSize = getImageSizeBytes(IVec3((int)extentCompressed.width, (int)extentCompressed.height, (int)extentCompressed.depth), m_parameters.formatForVerify); in decompressImage() 1287 vk.cmdDispatch(cmdBuffer, extentCompressed.width, extentCompressed.height, extentCompressed.depth); in decompressImage() 1346 ConstPixelBufferAccess resultPixels (mapVkFormat(decompressedImageInfo.format), decompressedImageInfo.extent.width, decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, resultAlloc.getHostPtr()); in decompressImage() 1347 ConstPixelBufferAccess referencePixels (mapVkFormat(decompressedImageInfo.format), decompressedImageInfo.extent.width, decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, referenceAllo in decompressImage() 3244 deUint32 depth = 1u + 2 * (imageType == IMAGE_TYPE_3D); createImageCompressionTranscodingTests() local [all...] |
H A D | vktImageDepthStencilDescriptorTests.cpp | 22 * \brief Tests using depth/stencil images as descriptors. 91 // Note: we will not be using separate depth/stencil layouts. There's a separate group of tests for that. in layoutExtension() 109 RW = 2, // This always means a normal read/write depth/stencil attachment (NOT a storage image). 167 // We cannot access depth/stencil images both as a depth/stencil attachment and an input attachment at the same time if they have 213 AspectAccess depthAccess; // Type of access that will be used for depth (must be legal). 216 tcu::Maybe<ROAccessVec> depthROAccesses; // Types of read-only accesses for depth (used when depthAccess is RO). 224 // Does this case need a depth/stencil attachment? 227 // Does this case use the depth aspect as an input attachment? 236 // Does this case need a depth/stenci 374 float depth; global() member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageCompressionTranscodingSupport.cpp | 651 imageData[resultImageNdx].getImageInfo(imageNdx).extent.depth); in iterate() 732 UVec3(isCompressed ? imageExtent.width : imageExtent.width * m_blockWidth, isCompressed? imageExtent.height :imageExtent.height * m_blockHeight,imageExtent.depth)) * in copyDataToImage() 840 imageData[1].getImageInfo(ndx).extent.depth); in executeShader() 1104 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage() 1106 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, decompressedImageInfo.extent.depth, 0u, decompressedImageInfo.arrayLayers)); in decompressImage() 1108 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, compressedImageInfo.extent.depth, 0u, compressedImageInfo.arrayLayers)); in decompressImage() 1134 const VkDeviceSize bufferSize = getImageSizeBytes(IVec3((int)extentCompressed.width, (int)extentCompressed.height, (int)extentCompressed.depth), m_parameters.formatForVerify); in decompressImage() 1276 vk.cmdDispatch(cmdBuffer, extentCompressed.width, extentCompressed.height, extentCompressed.depth); in decompressImage() 1335 ConstPixelBufferAccess resultPixels (mapVkFormat(decompressedImageInfo.format), decompressedImageInfo.extent.width, decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, resultAlloc.getHostPtr()); in decompressImage() 1336 ConstPixelBufferAccess referencePixels (mapVkFormat(decompressedImageInfo.format), decompressedImageInfo.extent.width, decompressedImageInfo.extent.height, decompressedImageInfo.extent.depth, referenceAllo in decompressImage() 3230 deUint32 depth = 1u + 2 * (imageType == IMAGE_TYPE_3D); createImageCompressionTranscodingTests() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | TextureStorage11.cpp | 562 // CopySubresourceRegion cannot copy partial depth stencils, use the blitter instead in updateSubresourceLevel() 576 srcBox.back = copyArea.z + copyArea.depth; in updateSubresourceLevel() 615 // D3D11 can't perform partial CopySubresourceRegion on depth/stencil textures, so pSrcBox in copySubresourceLevel() 630 // CopySubresourceRegion on depth/stencil textures on 9_3. in copySubresourceLevel() 637 srcBox.back = region.z + region.depth; in copySubresourceLevel() 769 const int depth = destBox ? destBox->depth : static_cast<int>(image->getDepth()); in setData() local 792 const size_t neededSize = bufferDepthPitch * depth; in setData() 800 loadFunctionInfo.loadFunction(width, height, depth, pixelData + srcSkipBytes, srcRowPitch, in setData() 824 destD3DBox.back = destBox->z + destBox->depth; in setData() 2831 TextureStorage11_3D(Renderer11 *renderer, GLenum internalformat, bool renderTarget, GLsizei width, GLsizei height, GLsizei depth, int levels, const std::string &label) TextureStorage11_3D() argument 3212 TextureStorage11_2DArray(Renderer11 *renderer, GLenum internalformat, bool renderTarget, GLsizei width, GLsizei height, GLsizei depth, int levels, const std::string &label) TextureStorage11_2DArray() argument 3877 TextureStorage11_2DMultisampleArray(Renderer11 *renderer, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, int levels, int samples, bool fixedSampleLocations, const std::string &label) TextureStorage11_2DMultisampleArray() argument [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_base.cpp | 171 GLfloat depth = 0.0; in ClearBufferfi() local 172 tie(succ, depth) = NVal(env, funcArg[NARG_POS::THIRD]).ToFloat(); in ClearBufferfi() 183 context->GetWebGL2RenderingContextImpl().ClearBufferfi(env, buffer, drawbuffer, depth, stencil); in ClearBufferfi() 640 tie(succ, args.depth) = NVal(env, funcArg[NARG_POS::SIXTH]).ToGLsizei(); in TexStorage3D() 682 tie(succ, imgArg.depth) = NVal(env, funcArg[NARG_POS::SIXTH]).ToGLsizei(); in TexImage3D() 760 tie(succ, imgArg.depth) = NVal(env, funcArg[NARG_POS::EIGHTH]).ToGLsizei(); in TexSubImage3D() 878 tie(succ, imgArg.depth) = NVal(env, funcArg[NARG_POS::SIXTH]).ToGLsizei(); in CompressedTexImage3D() 957 tie(succ, imgArg.depth) = NVal(env, funcArg[NARG_POS::EIGHTH]).ToGLsizei(); in CompressedTexSubImage3D() 1537 arg.depth = 1; in TexStorage2D()
|
/third_party/mesa3d/include/GL/ |
H A D | gl.h | 837 GLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); 1492 GLsizei depth, GLint border, 1499 GLsizei height, GLsizei depth, 1510 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 1511 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 1824 GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); 1830 GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); 1912 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 1915 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 351 void Context::setClearDepth(float depth) in setClearDepth() argument 353 mState.depthClearValue = depth; in setClearDepth() 1575 size_t Context::getRequiredBufferSize(GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type) const in getRequiredBufferSize() argument 1578 if (width == 0 || height == 0 || depth == 0) in getRequiredBufferSize() 1592 return (mState.unpackParameters.skipImages + (depth - 1)) * bytesPerImage in getRequiredBufferSize() 2772 // Applies the render target surface, depth stencil surface, viewport rectangle and scissor rectangle 2853 // Applies the fixed-function state (culling, depth test, alpha blending, stenciling, etc) 2993 float depthBias = ldexp(mState.polygonOffsetUnits, -23); // We use 32-bit floating-point for all depth formats, with 23 mantissa bits. in applyState() 3416 ASSERT(format != GL_DEPTH_STENCIL_OES); // The blitter only handles reading either depth or stencil. in readPixels() 3459 float depth in clear() local 3530 float depth = clamp01(value); clearDepthBuffer() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineCFGStructurizer.cpp | 478 virtual void dump(const TargetRegisterInfo *TRI, int depth = 0) = 0; 480 void dumpDepth(int depth) { 481 for (int i = depth; i > 0; --i) { 501 void dump(const TargetRegisterInfo *TRI, int depth = 0) override { 502 dumpDepth(depth); 551 void dump(const TargetRegisterInfo *TRI, int depth = 0) override { 552 dumpDepth(depth); 557 dumpDepth(depth); 563 MRTI->dump(TRI, depth + 1);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_event_hub_drag.cpp | 1153 int32_t depth = 1; in PrintBuilderNode() local 1154 PrintIfImageNode(customNode, depth, hasImageNode, imageNodes); in PrintBuilderNode() 1160 const RefPtr<UINode>& builderNode, int32_t depth, bool& hasImageNode, std::list<RefPtr<FrameNode>>& imageNodes) in PrintIfImageNode() 1162 if (depth > MAX_BUILDER_DEPTH) { in PrintIfImageNode() 1179 PrintIfImageNode(child, depth + 1, hasImageNode, imageNodes); in PrintIfImageNode() 1159 PrintIfImageNode( const RefPtr<UINode>& builderNode, int32_t depth, bool& hasImageNode, std::list<RefPtr<FrameNode>>& imageNodes) PrintIfImageNode() argument
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | focus_hub_test_ng_for_property_config.cpp | 514 int32_t depth = 1; in HWTEST_F() local 525 focusHub->DumpFocusTree(depth); in HWTEST_F() 531 focusHub->DumpFocusTree(depth); in HWTEST_F() 537 focusHub->DumpFocusTree(depth); in HWTEST_F() 543 focusHub->DumpFocusTree(depth); in HWTEST_F()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_paletteuse.c | 512 int depth) in disp_node() 523 depth*INDENT, ' ', node->palette_id, in disp_node() 531 av_bprintf(buf, "%*cnode%d -> node%d\n", depth*INDENT, ' ', in disp_node() 533 if (node->left_id != -1) disp_node(buf, map, node_id, node->left_id, depth + 1); in disp_node() 534 if (node->right_id != -1) disp_node(buf, map, node_id, node->right_id, depth + 1); in disp_node() 509 disp_node(AVBPrint *buf, const struct color_node *map, int parent_id, int node_id, int depth) disp_node() argument
|
/third_party/backends/backend/ |
H A D | agfafocus.c | 1693 s->bpp = s->params.depth = 1; in sane_get_parameters() 1719 s->params.depth = 8; in sane_get_parameters() 1729 s->bpp = s->params.depth = 8; in sane_get_parameters() 1739 s->params.depth = 8; in sane_get_parameters() 1749 s->bpp = s->params.depth = 8; in sane_get_parameters() 1757 (s->params.pixels_per_line + (8 - s->params.depth)) in sane_get_parameters() 1758 / (8 / s->params.depth);*/ in sane_get_parameters()
|
H A D | mustek_usb.c | 139 s->params.depth = 1; in calc_parameters() 146 s->params.depth = 8; in calc_parameters() 153 s->params.depth = 8; in calc_parameters() 214 s->params.bytes_per_line = s->params.pixels_per_line * s->params.depth / 8 in calc_parameters() 223 s->params.pixels_per_line, s->params.lines, 1 << s->params.depth); in calc_parameters()
|
H A D | u12.c | 1512 s->params.depth = mp[s->val[OPT_MODE].w].depth; in sane_get_parameters() 1514 s->params.depth = 8; in sane_get_parameters() 1525 if (s->params.depth == 1) in sane_get_parameters() 1529 s->params.depth / 8; in sane_get_parameters()
|
H A D | net.c | 121 static int depth; /* bits per pixel */ variable 128 /* This variable is only needed, if the depth is 16bit/channel and 137 /* This variable is only needed, if the depth is 16bit/channel and 1865 depth = reply.params.depth; 2148 if ((depth == 16) && (server_big_endian != client_big_endian)) 2250 /* Check whether we are scanning with a depth of 16 bits/pixel and whether 2255 if ((depth == 16) && (server_big_endian != client_big_endian))
|
H A D | snapscan.c | 1133 p->depth = 1; in sane_get_parameters() 1135 p->depth = 16; in sane_get_parameters() 1137 p->depth = 8; in sane_get_parameters() 1139 p->depth = pss->val[OPT_BIT_DEPTH].w; in sane_get_parameters() 1141 DBG (DL_DATA_TRACE, "%s: depth = %ld\n", me, (long) p->depth); in sane_get_parameters() 2560 * Have replaced the bit depth option with a mode option; various
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_device.c | 1465 struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, in usb_alloc_device() 1480 DPRINTF("parent_dev=%p, bus=%p, parent_hub=%p, depth=%u, " in usb_alloc_device() 1482 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device() 1503 if (depth > 0x10) { in usb_alloc_device() 1505 "Invalid device depth\n"); in usb_alloc_device() 1534 udev->depth = depth; in usb_alloc_device() 1464 usb_alloc_device(device_t parent_dev, struct usb_bus *bus, struct usb_device *parent_hub, uint8_t depth, uint8_t port_index, uint8_t port_no, enum usb_dev_speed speed, enum usb_hc_mode mode) usb_alloc_device() argument
|
/third_party/libdrm/ |
H A D | xf86drmMode.c | 259 drm_public int drmModeAddFB(int fd, uint32_t width, uint32_t height, uint8_t depth, in drmModeAddFB() argument 271 f.depth = depth; in drmModeAddFB() 343 r->depth = info.depth; in drmModeGetFB()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-operator.h | 339 ContextAccess(size_t depth, size_t index, bool immutable); 341 size_t depth() const { return depth_; } in depth() function in v8::internal::compiler::final 1053 const Operator* HasContextExtension(size_t depth); 1054 const Operator* LoadContext(size_t depth, size_t index, bool immutable); 1055 const Operator* StoreContext(size_t depth, size_t index);
|
H A D | scheduler.cc | 764 int Push(int depth, BasicBlock* child, int unvisited) { in Push() argument 766 stack_[depth].block = child; in Push() 767 stack_[depth].index = 0; in Push() 769 return depth + 1; in Push() 771 return depth; in Push() 975 TRACE("id:%d is a loop header, increment loop depth to %d\n", in ComputeAndInsertSpecialRPO() 982 TRACE("id:%d is not in a loop (depth == %d)\n", current->id().ToInt(), in ComputeAndInsertSpecialRPO() 985 TRACE("id:%d has loop header id:%d, (depth == %d)\n", in ComputeAndInsertSpecialRPO() 1075 os << " depth: " << block->loop_depth(); in PrintRPO() 1119 // Check loop depth o in VerifySpecialRPO() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_resource.c | 405 box->width, box->height, box->depth); 493 set_box(box.depth, u_minify(prsc->depth0, l)); 513 set_box(box.depth, 1); 592 /* for array textures, box->depth is the array_size, otherwise 593 * for 3d textures, it is the depth: 598 tmpl.array_size = box->depth; 602 tmpl.depth0 = box->depth;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingBufferDeviceAddressTests.cpp | 114 deUint32 depth; member 272 if (curDepth != m_data.depth) in checkBuffer() 352 if (curDepth != m_data.depth) in fillBuffer() 693 for (deUint32 d = 0; d < m_data.depth; ++d) in iterate() 923 1u // deUint32 depth; in iterate() 1693 depthCases[depthNdx].count, // deUint32 depth; in createBufferDeviceAddressTests() 1704 if (c.set != 3 && (c.depth == 3 || c.layout != LAYOUT_STD140)) in createBufferDeviceAddressTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderSmokeTestsEXT.cpp | 628 const tcu::IVec3 imageDim (static_cast<int>(colorBufferExtent.width), static_cast<int>(colorBufferExtent.height), static_cast<int>(colorBufferExtent.depth)); in iterate() 912 const tcu::IVec3 imageDim (static_cast<int>(colorBufferExtent.width), static_cast<int>(colorBufferExtent.height), static_cast<int>(colorBufferExtent.depth)); in testFullscreenGradient() 1047 float depth; member 1154 << " float depth;\n" // Triangle depth (allows painting the background with a different color). in initPrograms() 1173 << " gl_MeshVerticesEXT[gl_LocalInvocationIndex].gl_Position = vec4(proportion, 1.0 - proportion, pc.depth, 1.0);\n" in initPrograms() 1194 << " gl_MeshVerticesEXT[localVertexIndices.x].gl_Position = vec4(vertex.coords[globalVertexIndices.x], pc.depth, 1.0);\n" in initPrograms() 1195 << " gl_MeshVerticesEXT[localVertexIndices.y].gl_Position = vec4(vertex.coords[globalVertexIndices.y], pc.depth, 1.0);\n" in initPrograms() 1196 << " gl_MeshVerticesEXT[localVertexIndices.z].gl_Position = vec4(vertex.coords[globalVertexIndices.z], pc.depth, 1.0);\n" in initPrograms() 1227 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 123 float depth; member 136 , depth (depth_) in MeshParams() 288 // Check color image format support (depth/stencil will be chosen at runtime). in checkSupport() 402 // Choose depth/stencil format. in iterate() 417 TCU_THROW(NotSupportedError, "Required depth/stencil image features not supported"); in iterate() 418 log << tcu::TestLog::Message << "Chosen depth/stencil format: " << dsFormat << tcu::TestLog::EndMessage; in iterate() 425 // Create color and depth/stencil images. in iterate() 913 m_testConfig.meshParams.depth, // float meshDepth; in iterate() 1006 logErrors(log, "Depth", "Result depth image and error mask", depthAccess, depthErrorAccess); in iterate() 1083 config.meshParams.depth in AddSingleTestCaseStatic() [all...] |