Home
last modified time | relevance | path

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

12345678910>>...72

/third_party/glslang/StandAlone/
DResourceLimits.cpp262 void DecodeResourceLimits(TBuiltInResource* resources, char* config) in DecodeResourceLimits() argument
289 resources->maxLights = value; in DecodeResourceLimits()
291 resources->maxClipPlanes = value; in DecodeResourceLimits()
293 resources->maxTextureUnits = value; in DecodeResourceLimits()
295 resources->maxTextureCoords = value; in DecodeResourceLimits()
297 resources->maxVertexAttribs = value; in DecodeResourceLimits()
299 resources->maxVertexUniformComponents = value; in DecodeResourceLimits()
301 resources->maxVaryingFloats = value; in DecodeResourceLimits()
303 resources->maxVertexTextureImageUnits = value; in DecodeResourceLimits()
305 resources->maxCombinedTextureImageUnits = value; in DecodeResourceLimits()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderLang.cpp178 void InitBuiltInResources(ShBuiltInResources *resources) in InitBuiltInResources() argument
181 memset(resources, 0, sizeof(*resources)); in InitBuiltInResources()
184 resources->MaxVertexAttribs = 8; in InitBuiltInResources()
185 resources->MaxVertexUniformVectors = 128; in InitBuiltInResources()
186 resources->MaxVaryingVectors = 8; in InitBuiltInResources()
187 resources->MaxVertexTextureImageUnits = 0; in InitBuiltInResources()
188 resources->MaxCombinedTextureImageUnits = 8; in InitBuiltInResources()
189 resources->MaxTextureImageUnits = 8; in InitBuiltInResources()
190 resources->MaxFragmentUniformVectors = 16; in InitBuiltInResources()
191 resources->MaxDrawBuffers = 1; in InitBuiltInResources()
[all …]
DInitialize.cpp12 void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavior &extBehavior) in InitExtensionBehavior() argument
14 if (resources.OES_standard_derivatives) in InitExtensionBehavior()
18 if (resources.OES_EGL_image_external) in InitExtensionBehavior()
22 if (resources.OES_EGL_image_external_essl3) in InitExtensionBehavior()
26 if (resources.NV_EGL_stream_consumer_external) in InitExtensionBehavior()
30 if (resources.ARB_texture_rectangle) in InitExtensionBehavior()
36 if (resources.EXT_blend_func_extended) in InitExtensionBehavior()
40 if (resources.EXT_draw_buffers) in InitExtensionBehavior()
44 if (resources.EXT_frag_depth) in InitExtensionBehavior()
48 if (resources.EXT_primitive_bounding_box) in InitExtensionBehavior()
[all …]
Dglslang_wrapper.cpp62 void GetBuiltInResources(const ShBuiltInResources &resources, TBuiltInResource *outResources) in GetBuiltInResources() argument
64 outResources->maxDrawBuffers = resources.MaxDrawBuffers; in GetBuiltInResources()
65 outResources->maxAtomicCounterBindings = resources.MaxAtomicCounterBindings; in GetBuiltInResources()
66 outResources->maxAtomicCounterBufferSize = resources.MaxAtomicCounterBufferSize; in GetBuiltInResources()
67 outResources->maxCombinedAtomicCounterBuffers = resources.MaxCombinedAtomicCounterBuffers; in GetBuiltInResources()
68 outResources->maxCombinedAtomicCounters = resources.MaxCombinedAtomicCounters; in GetBuiltInResources()
69 outResources->maxCombinedImageUniforms = resources.MaxCombinedImageUniforms; in GetBuiltInResources()
70 outResources->maxCombinedTextureImageUnits = resources.MaxCombinedTextureImageUnits; in GetBuiltInResources()
71 outResources->maxCombinedShaderOutputResources = resources.MaxCombinedShaderOutputResources; in GetBuiltInResources()
72 outResources->maxComputeWorkGroupCountX = resources.MaxComputeWorkGroupCount[0]; in GetBuiltInResources()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderLang.cpp173 void InitBuiltInResources(ShBuiltInResources *resources) in InitBuiltInResources() argument
176 memset(resources, 0, sizeof(*resources)); in InitBuiltInResources()
179 resources->MaxVertexAttribs = 8; in InitBuiltInResources()
180 resources->MaxVertexUniformVectors = 128; in InitBuiltInResources()
181 resources->MaxVaryingVectors = 8; in InitBuiltInResources()
182 resources->MaxVertexTextureImageUnits = 0; in InitBuiltInResources()
183 resources->MaxCombinedTextureImageUnits = 8; in InitBuiltInResources()
184 resources->MaxTextureImageUnits = 8; in InitBuiltInResources()
185 resources->MaxFragmentUniformVectors = 16; in InitBuiltInResources()
186 resources->MaxDrawBuffers = 1; in InitBuiltInResources()
[all …]
DInitialize.cpp12 void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavior &extBehavior) in InitExtensionBehavior() argument
14 if (resources.OES_standard_derivatives) in InitExtensionBehavior()
18 if (resources.OES_EGL_image_external) in InitExtensionBehavior()
22 if (resources.OES_EGL_image_external_essl3) in InitExtensionBehavior()
26 if (resources.NV_EGL_stream_consumer_external) in InitExtensionBehavior()
30 if (resources.ARB_texture_rectangle) in InitExtensionBehavior()
36 if (resources.EXT_blend_func_extended) in InitExtensionBehavior()
40 if (resources.EXT_draw_buffers) in InitExtensionBehavior()
44 if (resources.EXT_frag_depth) in InitExtensionBehavior()
48 if (resources.EXT_shader_texture_lod) in InitExtensionBehavior()
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_resource.py9 from importlib import resources, import_module
18 self.assertTrue(resources.is_resource(self.data, 'binary.file'))
21 self.assertFalse(resources.is_resource(self.data, 'not-a-file'))
25 self.assertFalse(resources.is_resource(self.data, 'subdirectory'))
28 contents = set(resources.contents(self.data))
61 self.assertEqual(set(resources.contents(package)), {'A', 'B', 'C'})
67 self.assertTrue(resources.is_resource(package, 'B'))
73 self.assertFalse(resources.is_resource(package, 'D'))
79 self.assertFalse(resources.is_resource(package, 'Z'))
97 self.assertFalse(resources.is_resource(module, 'A'))
[all …]
Dtest_read.py3 from importlib import import_module, resources
10 resources.read_binary(package, path)
15 resources.read_text(package, path)
20 result = resources.read_binary(self.data, 'binary.file')
24 result = resources.read_text(self.data, 'utf-8.file')
28 result = resources.read_text(self.data, 'utf-16.file', encoding='utf-16')
33 self.assertRaises(UnicodeError, resources.read_text, self.data, 'utf-16.file')
34 result = resources.read_text(self.data, 'utf-16.file', errors='ignore')
50 result = resources.read_binary(submodule, 'binary.file')
54 result = resources.read_binary('ziptestdata.subdirectory', 'binary.file')
Dtest_open.py3 from importlib import resources
10 with resources.open_binary(package, path):
16 with resources.open_text(package, path):
22 with resources.open_binary(self.data, 'binary.file') as fp:
27 with resources.open_text(self.data, 'utf-8.file') as fp:
32 with resources.open_text(self.data, 'utf-16.file', 'utf-16', 'strict') as fp:
38 with resources.open_text(self.data, 'utf-16.file', 'utf-8', 'strict') as fp:
40 with resources.open_text(self.data, 'utf-16.file', 'utf-8', 'ignore') as fp:
51 FileNotFoundError, resources.open_binary, self.data, 'does-not-exist'
56 FileNotFoundError, resources.open_text, self.data, 'does-not-exist'
Dtest_zip.py13 from importlib import resources
23 pkg_file = resources.files(self.root).joinpath(filename)
24 file = self.resources.enter_context(resources.as_file(pkg_file))
27 self.resources.callback(sys.path.pop, 0)
32 self.resources = ExitStack()
33 self.addCleanup(self.resources.close)
71 self.resources = ExitStack()
72 self.addCleanup(self.resources.close)
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DConstructCompiler_test.cpp17 ShBuiltInResources resources; in TEST() local
18 sh::InitBuiltInResources(&resources); in TEST()
20 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST()
27 ShBuiltInResources resources; in TEST() local
28 sh::InitBuiltInResources(&resources); in TEST()
29 resources.MaxDrawBuffers = 0; in TEST()
31 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST()
38 ShBuiltInResources resources; in TEST() local
39 sh::InitBuiltInResources(&resources); in TEST()
40 resources.EXT_blend_func_extended = 1; in TEST()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DConstructCompiler_test.cpp17 ShBuiltInResources resources; in TEST() local
18 sh::InitBuiltInResources(&resources); in TEST()
20 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST()
27 ShBuiltInResources resources; in TEST() local
28 sh::InitBuiltInResources(&resources); in TEST()
29 resources.MaxDrawBuffers = 0; in TEST()
31 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST()
38 ShBuiltInResources resources; in TEST() local
39 sh::InitBuiltInResources(&resources); in TEST()
40 resources.EXT_blend_func_extended = 1; in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/samples/shader_translator/
Dshader_translator.cpp50 void GenerateResources(ShBuiltInResources *resources) in GenerateResources() argument
52 sh::InitBuiltInResources(resources); in GenerateResources()
54 resources->MaxVertexAttribs = 8; in GenerateResources()
55 resources->MaxVertexUniformVectors = 128; in GenerateResources()
56 resources->MaxVaryingVectors = 8; in GenerateResources()
57 resources->MaxVertexTextureImageUnits = 0; in GenerateResources()
58 resources->MaxCombinedTextureImageUnits = 8; in GenerateResources()
59 resources->MaxTextureImageUnits = 8; in GenerateResources()
60 resources->MaxFragmentUniformVectors = 16; in GenerateResources()
61 resources->MaxDrawBuffers = 1; in GenerateResources()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/
Dtranslator_fuzzer.cpp210 ShBuiltInResources resources; in LLVMFuzzerTestOneInput() local
211 sh::InitBuiltInResources(&resources); in LLVMFuzzerTestOneInput()
214 resources.OES_standard_derivatives = 1; in LLVMFuzzerTestOneInput()
215 resources.OES_EGL_image_external = 1; in LLVMFuzzerTestOneInput()
216 resources.OES_EGL_image_external_essl3 = 1; in LLVMFuzzerTestOneInput()
217 resources.NV_EGL_stream_consumer_external = 1; in LLVMFuzzerTestOneInput()
218 resources.ARB_texture_rectangle = 1; in LLVMFuzzerTestOneInput()
219 resources.EXT_blend_func_extended = 1; in LLVMFuzzerTestOneInput()
220 resources.EXT_draw_buffers = 1; in LLVMFuzzerTestOneInput()
221 resources.EXT_frag_depth = 1; in LLVMFuzzerTestOneInput()
[all …]
/third_party/skia/third_party/externals/angle2/samples/shader_translator/
Dshader_translator.cpp57 void GenerateResources(ShBuiltInResources *resources) in GenerateResources() argument
59 sh::InitBuiltInResources(resources); in GenerateResources()
61 resources->MaxVertexAttribs = 8; in GenerateResources()
62 resources->MaxVertexUniformVectors = 128; in GenerateResources()
63 resources->MaxVaryingVectors = 8; in GenerateResources()
64 resources->MaxVertexTextureImageUnits = 0; in GenerateResources()
65 resources->MaxCombinedTextureImageUnits = 8; in GenerateResources()
66 resources->MaxTextureImageUnits = 8; in GenerateResources()
67 resources->MaxFragmentUniformVectors = 16; in GenerateResources()
68 resources->MaxDrawBuffers = 1; in GenerateResources()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/fuzz/
Dtranslator_fuzzer.cpp146 ShBuiltInResources resources; in LLVMFuzzerTestOneInput() local
147 sh::InitBuiltInResources(&resources); in LLVMFuzzerTestOneInput()
150 resources.OES_standard_derivatives = 1; in LLVMFuzzerTestOneInput()
151 resources.OES_EGL_image_external = 1; in LLVMFuzzerTestOneInput()
152 resources.OES_EGL_image_external_essl3 = 1; in LLVMFuzzerTestOneInput()
153 resources.NV_EGL_stream_consumer_external = 1; in LLVMFuzzerTestOneInput()
154 resources.ARB_texture_rectangle = 1; in LLVMFuzzerTestOneInput()
155 resources.EXT_blend_func_extended = 1; in LLVMFuzzerTestOneInput()
156 resources.EXT_draw_buffers = 1; in LLVMFuzzerTestOneInput()
157 resources.EXT_frag_depth = 1; in LLVMFuzzerTestOneInput()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c207 pipe_resource_reference(&buf->resources[i], NULL); in vl_video_buffer_destroy()
234 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes()
236 if (util_format_get_nr_components(buf->resources[i]->format) == 1) in vl_video_buffer_sampler_view_planes()
239 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes()
272 struct pipe_resource *res = buf->resources[plane_order[i]]; in vl_video_buffer_sampler_view_components()
319 if (!buf->resources[i]) { in vl_video_buffer_surfaces()
326 surf_templ.format = vl_video_buffer_surface_format(buf->resources[i]->format); in vl_video_buffer_surfaces()
328 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces()
396 struct pipe_resource *resources[VL_NUM_COMPONENTS]; in vl_video_buffer_create_ex() local
401 memset(resources, 0, sizeof resources); in vl_video_buffer_create_ex()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c62 struct r600_texture *resources[VL_NUM_COMPONENTS] = {}; in r600_video_buffer_create() local
86 resources[0] = (struct r600_texture *) in r600_video_buffer_create()
88 if (!resources[0]) in r600_video_buffer_create()
96 resources[1] = (struct r600_texture *) in r600_video_buffer_create()
98 if (!resources[1]) in r600_video_buffer_create()
107 resources[2] = (struct r600_texture *) in r600_video_buffer_create()
109 if (!resources[2]) in r600_video_buffer_create()
114 if (!resources[i]) in r600_video_buffer_create()
117 pbs[i] = &resources[i]->resource.buf; in r600_video_buffer_create()
118 surfaces[i] = &resources[i]->surface; in r600_video_buffer_create()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp174 ShBuiltInResources resources; in createCompiler() local
175 resources.MaxVertexAttribs = MAX_VERTEX_ATTRIBS; in createCompiler()
176 resources.MaxVertexUniformVectors = MAX_VERTEX_UNIFORM_VECTORS; in createCompiler()
177 resources.MaxVaryingVectors = MAX_VARYING_VECTORS; in createCompiler()
178 resources.MaxVertexTextureImageUnits = MAX_VERTEX_TEXTURE_IMAGE_UNITS; in createCompiler()
179 resources.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; in createCompiler()
180 resources.MaxTextureImageUnits = MAX_TEXTURE_IMAGE_UNITS; in createCompiler()
181 resources.MaxFragmentUniformVectors = MAX_FRAGMENT_UNIFORM_VECTORS; in createCompiler()
182 resources.MaxDrawBuffers = MAX_DRAW_BUFFERS; in createCompiler()
183 resources.MaxVertexOutputVectors = MAX_VERTEX_OUTPUT_VECTORS; in createCompiler()
[all …]
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
Dinternal_interface.hpp215 PPSizeResource resources[SPIRV_CROSS_NUM_DESCRIPTOR_SETS][SPIRV_CROSS_NUM_DESCRIPTOR_BINDINGS]; member
244 assert(!resources[set][binding].ptr); in register_resource()
246 resources[set][binding].ptr = (void **)&value.ptr; in register_resource()
247 resources[set][binding].size = internal::Resource<U>::Size; in register_resource()
248 resources[set][binding].pre_dereference = internal::Resource<U>::PreDereference; in register_resource()
329 assert(resources[set][binding].ptr); in set_resource()
330 assert(size >= resources[set][binding].size); in set_resource()
333 if (resources[set][binding].pre_dereference) in set_resource()
334 *resources[set][binding].ptr = *data; in set_resource()
336 *resources[set][binding].ptr = data; in set_resource()
[all …]
/third_party/skia/tools/skottie_ios_app/
DBUILD.gn33 "../../resources/skottie/skottie-3d-rotation-order.json",
34 "../../resources/skottie/skottie-camera-parent-3.json",
35 "../../resources/skottie/skottie-gradient-ramp.json",
36 "../../resources/skottie/skottie-linear-wipe-effect.json",
37 "../../resources/skottie/skottie-text-animator-1.json",
38 "../../resources/skottie/skottie-text-animator-2.json",
39 "../../resources/skottie/skottie-text-animator-3.json",
40 "../../resources/skottie/skottie-text-animator-4.json",
41 "../../resources/skottie/skottie-text-animator-5.json",
42 "../../resources/skottie/skottie-text-animator-8.json",
[all …]
/third_party/skia/third_party/externals/spirv-cross/tests-other/
Dc_api_test.c65 static void dump_resource_list(spvc_compiler compiler, spvc_resources resources, spvc_resource_type… in dump_resource_list() argument
70 SPVC_CHECKED_CALL(spvc_resources_get_resource_list_for_type(resources, type, &list, &count)); in dump_resource_list()
82 static void dump_resources(spvc_compiler compiler, spvc_resources resources) in dump_resources() argument
84 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_UNIFORM_BUFFER, "UBO"); in dump_resources()
85 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_STORAGE_BUFFER, "SSBO"); in dump_resources()
86 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_PUSH_CONSTANT, "Push"); in dump_resources()
87 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_SEPARATE_SAMPLERS, "Samplers"); in dump_resources()
88 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_SEPARATE_IMAGE, "Image"); in dump_resources()
89 …dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_SAMPLED_IMAGE, "Combined image samplers… in dump_resources()
90 dump_resource_list(compiler, resources, SPVC_RESOURCE_TYPE_STAGE_INPUT, "Stage input"); in dump_resources()
[all …]
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dusing.js25 function dispose(resources, inspection) { argument
27 var len = resources.length;
31 var maybePromise = castPreservingDisposable(resources[i++]);
37 resources.promise);
103 this.resources[this.index]._setDisposable(value);
143 var resources = new ResourceList(len);
155 resources: resources, property
160 resources[i] = resource;
163 var reflectedResources = new Array(resources.length);
165 reflectedResources[i] = Promise.resolve(resources[i]).reflect();
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/lib/rac/
Dwriter.go499 resources []int member
511 arity := len(n.children) + len(n.resources)
544 arity := uint64(len(n.children) + len(n.resources))
554 for i := range n.resources {
557 buf = buf[8*len(n.resources):]
559 putU64LE(buf[8*i:], dPtr|resourceToTag(n.resources, o.tertiary))
570 for i, res := range n.resources {
574 buf = buf[8*len(n.resources):]
582 putU64LE(buf[8*i:], cOffsetCLength|resourceToTag(n.resources, o.secondary))
631 func resourceToTag(resources []int, r OptResource) uint64 {
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dmemory.cpp113 if (!resources.count(&q.device())) { in resource()
114 auto r = (!resources.empty() ? in resource()
116 *resources.begin()->second) : in resource()
119 resources.insert(std::make_pair(&q.device(), in resource()
124 return *resources.find(&q.device())->second; in resource()
130 resources.erase(&q.device()); in resource_out()
144 if (!resources.count(&q.device())) { in resource_in()
147 resources.insert(std::make_pair(&q.device(), in resource_in()
151 return *resources.find(&q.device())->second; in resource_in()
162 resources.erase(&q.device()); in resource_out()
[all …]

12345678910>>...72