Home
last modified time | relevance | path

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

12345678910>>...39

/external/mesa3d/src/gallium/drivers/r300/
Dr300_chipset.c37 static void r300_apply_hyperz_blacklist(struct r300_capabilities* caps) in r300_apply_hyperz_blacklist() argument
58 caps->zmask_ram = 0; in r300_apply_hyperz_blacklist()
59 caps->hiz_ram = 0; in r300_apply_hyperz_blacklist()
66 void r300_parse_chipset(uint32_t pci_id, struct r300_capabilities* caps) in r300_parse_chipset() argument
71 caps->family = CHIP_##chipfamily; \ in r300_parse_chipset()
83 caps->high_second_pipe = FALSE; in r300_parse_chipset()
84 caps->num_vert_fpus = 0; in r300_parse_chipset()
85 caps->hiz_ram = 0; in r300_parse_chipset()
86 caps->zmask_ram = 0; in r300_parse_chipset()
87 caps->has_cmask = FALSE; in r300_parse_chipset()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c69 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
71 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
73 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
75 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
87 return vscreen->caps.caps.v1.bset.indep_blend_enable; in virgl_get_param()
89 return vscreen->caps.caps.v1.bset.indep_blend_func; in virgl_get_param()
94 return vscreen->caps.caps.v1.bset.fragment_coord_conventions; in virgl_get_param()
96 return vscreen->caps.caps.v1.bset.depth_clip_disable; in virgl_get_param()
98 return vscreen->caps.caps.v1.max_streamout_buffers; in virgl_get_param()
103 return vscreen->caps.caps.v1.bset.primitive_restart; in virgl_get_param()
[all …]
/external/adhd/cras/src/tests/
Dalsa_helpers_unittest.cc41 snd_pcm_chmap_query_t **caps; in TEST() local
45 caps = (snd_pcm_chmap_query_t **)calloc(4, sizeof(*caps)); in TEST()
61 caps[0] = c; in TEST()
66 caps[1] = c; in TEST()
71 caps[2] = c; in TEST()
73 caps[3] = NULL; in TEST()
76 c = cras_chmap_caps_match(caps, fmt); in TEST()
79 caps[1]->map.pos[0] = 5; in TEST()
80 caps[1]->map.pos[1] = 7; in TEST()
82 c = cras_chmap_caps_match(caps, fmt); in TEST()
[all …]
/external/python/cpython3/Lib/
Dmailcap.py29 caps = {}
39 if not key in caps:
40 caps[key] = value
42 caps[key] = caps[key] + value
43 return caps
67 caps, _ = _readmailcapfile(fp, None)
68 return caps
80 caps = {}
106 if key in caps:
107 caps[key].append(fields)
[all …]
/external/python/cpython2/Lib/
Dmailcap.py19 caps = {}
28 if not key in caps:
29 caps[key] = value
31 caps[key] = caps[key] + value
32 return caps
62 caps = {}
85 if key in caps:
86 caps[key].append(fields)
88 caps[key] = [fields]
89 return caps
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_dump.c417 if (caps->m & p##_##n) \
424 nine_dump_D3DCAPS9(unsigned ch, const D3DCAPS9 *caps) in nine_dump_D3DCAPS9() argument
431 DBG_FLAG(ch, "D3DCAPS9(%p): (out of memory)\n", caps); in nine_dump_D3DCAPS9()
435 C2S("DeviceType: %s\n", nine_D3DDEVTYPE_to_str(caps->DeviceType)); in nine_dump_D3DCAPS9()
437 C2S("AdapterOrdinal: %u\nCaps:", caps->AdapterOrdinal); in nine_dump_D3DCAPS9()
438 if (caps->Caps & 0x20000) in nine_dump_D3DCAPS9()
440 if (caps->Caps & ~0x20000) in nine_dump_D3DCAPS9()
441 C2S(" %x", caps->Caps & ~0x20000); in nine_dump_D3DCAPS9()
678 C2S("\nMaxTextureWidth: %u", caps->MaxTextureWidth); in nine_dump_D3DCAPS9()
679 C2S("\nMaxTextureHeight: %u", caps->MaxTextureHeight); in nine_dump_D3DCAPS9()
[all …]
/external/swiftshader/src/D3D8/
DDirect3D8.cpp753 D3DCAPS8 caps; in GetDeviceCaps() local
754 ZeroMemory(&caps, sizeof(D3DCAPS8)); in GetDeviceCaps()
757 caps.DeviceType = D3DDEVTYPE_HAL; in GetDeviceCaps()
758 caps.AdapterOrdinal = D3DADAPTER_DEFAULT; in GetDeviceCaps()
761 caps.Caps = 0; // D3DCAPS_READ_SCANLINE in GetDeviceCaps()
763caps.Caps2 = // D3DCAPS2_CANCALIBRATEGAMMA | // The system has a calibrator installed that can aut… in GetDeviceCaps()
770caps.Caps3 = D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD; //The device will work as expected with … in GetDeviceCaps()
772 caps.PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | in GetDeviceCaps()
779caps.CursorCaps = D3DCURSORCAPS_COLOR | // A full-color cursor is supported in hardware. Specifica… in GetDeviceCaps()
783caps.DevCaps = D3DDEVCAPS_CANBLTSYSTONONLOCAL | // Device supports blits from system-memory text… in GetDeviceCaps()
[all …]
/external/skia/src/gpu/
DGrContextThreadSafeProxy.cpp26 bool GrContextThreadSafeProxy::init(sk_sp<const GrCaps> caps, in init() argument
28 return INHERITED::init(std::move(caps), std::move(FPFactoryCache)); in init()
46 if (!this->caps()->mipMapSupport()) { in createCharacterization()
50 GrPixelConfig config = this->caps()->getConfigFromBackendFormat(backendFormat, ii.colorType()); in createCharacterization()
55 if (!SkSurface_Gpu::Valid(this->caps(), config, ii.colorSpace())) { in createCharacterization()
59 sampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, config); in createCharacterization()
66 FSAAType = this->caps()->usesMixedSamples() ? GrFSAAType::kMixedSamples in createCharacterization()
74 if (isTextureable && !this->caps()->isConfigTexturable(config)) { in createCharacterization()
98 sk_sp<const GrCaps> caps, in Make() argument
103 if (!proxy->init(std::move(caps), std::move(cache))) { in Make()
DGrRenderTargetOpList.h41 void makeClosed(const GrCaps& caps) override { in makeClosed() argument
46 this->forwardCombine(caps); in makeClosed()
48 INHERITED::makeClosed(caps); in makeClosed()
65 void addOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addOp() argument
66 auto addDependency = [ &caps, this ] (GrSurfaceProxy* p) { in addOp()
67 this->addDependency(p, caps); in addOp()
72 this->recordOp(std::move(op), GrProcessorSet::EmptySetAnalysis(), nullptr, nullptr, caps); in addOp()
75 void addWaitOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addWaitOp() argument
77 this->addOp(std::move(op), caps); in addWaitOp()
81 GrAppliedClip&& clip, const DstProxy& dstProxy, const GrCaps& caps) { in addDrawOp() argument
[all …]
DGrXferProcessor.cpp42 void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey() argument
60 this->onGetGLSLProcessorKey(caps, b); in getGLSLProcessorKey()
169 const GrCaps& caps, in GetAnalysisProperties() argument
173 result = factory->analysisProperties(color, coverage, caps, clampType); in GetAnalysisProperties()
175 result = GrPorterDuffXPFactory::SrcOverAnalysisProperties(color, coverage, caps, in GetAnalysisProperties()
180 !caps.shaderCaps()->dstReadInShaderSupport()) { in GetAnalysisProperties()
191 const GrCaps& caps, in MakeXferProcessor() argument
193 SkASSERT(!hasMixedSamples || caps.shaderCaps()->dualSourceBlendingSupport()); in MakeXferProcessor()
195 return factory->makeXferProcessor(color, coverage, hasMixedSamples, caps, clampType); in MakeXferProcessor()
198 caps); in MakeXferProcessor()
DGrGpu.cpp47 bool GrGpu::IsACopyNeededForRepeatWrapMode(const GrCaps* caps, GrTextureProxy* texProxy, in IsACopyNeededForRepeatWrapMode() argument
52 if (!caps->npotTextureTileSupport() && in IsACopyNeededForRepeatWrapMode()
87 bool GrGpu::IsACopyNeededForMips(const GrCaps* caps, const GrTextureProxy* texProxy, in IsACopyNeededForMips() argument
91 bool willNeedMips = GrSamplerState::Filter::kMipMap == filter && caps->mipMapSupport(); in IsACopyNeededForMips()
110 if (!this->caps()->validateSurfaceDesc(desc, mipMapped)) { in createTexture()
116 desc.fSampleCnt = this->caps()->getRenderTargetSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture()
132 if (!this->caps()->reuseScratchTextures() && !isRT) { in createTexture()
154 SkASSERT(this->caps()); in wrapBackendTexture()
155 if (!this->caps()->isConfigTexturable(backendTex.config())) { in wrapBackendTexture()
158 if (backendTex.width() > this->caps()->maxTextureSize() || in wrapBackendTexture()
[all …]
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py65 def compose_capability_list(caps): argument
74 return "{" + ", ".join(['SpvCapability{}'.format(c) for c in caps]) + "}"
77 def get_capability_array_name(caps): argument
83 if not caps:
85 return '{}_caps_{}'.format(PYGEN_VARIABLE_PREFIX, ''.join(caps))
88 def generate_capability_arrays(caps): argument
94 caps = sorted(set([tuple(c) for c in caps if c]))
98 for c in caps]
209 def __init__(self, opname, caps, exts, operands, version): argument
222 self.num_caps = len(caps)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py65 def compose_capability_list(caps): argument
74 return "{" + ", ".join(['SpvCapability{}'.format(c) for c in caps]) + "}"
77 def get_capability_array_name(caps): argument
83 if not caps:
85 return '{}_caps_{}'.format(PYGEN_VARIABLE_PREFIX, ''.join(caps))
88 def generate_capability_arrays(caps): argument
94 caps = sorted(set([tuple(c) for c in caps if c]))
98 for c in caps]
209 def __init__(self, opname, caps, exts, operands, version): argument
222 self.num_caps = len(caps)
[all …]
/external/swiftshader/src/D3D9/
DDirect3D9.cpp1224 D3DCAPS9 caps; in GetDeviceCaps() local
1225 ZeroMemory(&caps, sizeof(D3DCAPS9)); in GetDeviceCaps()
1228 caps.DeviceType = D3DDEVTYPE_HAL; in GetDeviceCaps()
1229 caps.AdapterOrdinal = D3DADAPTER_DEFAULT; in GetDeviceCaps()
1232 caps.Caps = D3DCAPS_READ_SCANLINE; in GetDeviceCaps()
1234caps.Caps2 = D3DCAPS2_CANAUTOGENMIPMAP | // The driver is capable of automatically generating mi… in GetDeviceCaps()
1241caps.Caps3 = D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD | // Indicates that the device can respect… in GetDeviceCaps()
1246 caps.PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | in GetDeviceCaps()
1253caps.CursorCaps = D3DCURSORCAPS_COLOR | // A full-color cursor is supported in hardware. Specifica… in GetDeviceCaps()
1257caps.DevCaps = D3DDEVCAPS_CANBLTSYSTONONLOCAL | // Device supports blits from system-memory text… in GetDeviceCaps()
[all …]
/external/skqp/src/gpu/
DGrGpu.cpp48 bool GrGpu::IsACopyNeededForRepeatWrapMode(const GrCaps* caps, GrTextureProxy* texProxy, in IsACopyNeededForRepeatWrapMode() argument
53 if (!caps->npotTextureTileSupport() && in IsACopyNeededForRepeatWrapMode()
88 bool GrGpu::IsACopyNeededForMips(const GrCaps* caps, const GrTextureProxy* texProxy, in IsACopyNeededForMips() argument
92 bool willNeedMips = GrSamplerState::Filter::kMipMap == filter && caps->mipMapSupport(); in IsACopyNeededForMips()
111 if (!this->caps()->validateSurfaceDesc(desc, mipMapped)) { in createTexture()
117 desc.fSampleCnt = this->caps()->getRenderTargetSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture()
133 if (!this->caps()->reuseScratchTextures() && !isRT) { in createTexture()
155 SkASSERT(this->caps()); in wrapBackendTexture()
156 if (!this->caps()->isConfigTexturable(backendTex.config())) { in wrapBackendTexture()
159 if (backendTex.width() > this->caps()->maxTextureSize() || in wrapBackendTexture()
[all …]
DGrXferProcessor.cpp42 void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey() argument
60 this->onGetGLSLProcessorKey(caps, b); in getGLSLProcessorKey()
169 const GrCaps& caps) { in GetAnalysisProperties() argument
172 result = factory->analysisProperties(color, coverage, caps); in GetAnalysisProperties()
174 result = GrPorterDuffXPFactory::SrcOverAnalysisProperties(color, coverage, caps); in GetAnalysisProperties()
178 !caps.shaderCaps()->dstReadInShaderSupport()) { in GetAnalysisProperties()
189 const GrCaps& caps) { in MakeXferProcessor() argument
190 SkASSERT(!hasMixedSamples || caps.shaderCaps()->dualSourceBlendingSupport()); in MakeXferProcessor()
192 return factory->makeXferProcessor(color, coverage, hasMixedSamples, caps); in MakeXferProcessor()
195 caps); in MakeXferProcessor()
/external/u-boot/cmd/
Dsetexpr.c175 struct cap caps[slre.num_caps + 2]; in regex_sub() local
181 (void) memset(caps, 0, sizeof(caps)); in regex_sub()
183 res = slre_match(&slre, datap, len, caps); in regex_sub()
188 if (caps[i].len > 0) { in regex_sub()
190 caps[i].len, caps[i].ptr); in regex_sub()
210 old = caps[0].ptr; in regex_sub()
211 olen = caps[0].len; in regex_sub()
242 if (caps[i].len == 0) in regex_sub()
250 caps[i].len, caps[i].ptr, in regex_sub()
262 caps[i].ptr, caps[i].len); in regex_sub()
/external/skqp/tests/
DAdvancedBlendTest.cpp18 const GrCaps& caps = *ctxInfo.grContext()->contextPriv().caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
27 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
34 procs.finalize(opaque, coverage, nullptr, false, caps, &overrideColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
36 if (caps.advancedBlendEquationSupport() && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
37 !caps.isAdvancedBlendEquationBlacklisted(blendEquation)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
40 if (GrCaps::kAdvancedCoherent_BlendEquationSupport == caps.blendEquationSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
45 == caps.blendEquationSupport()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DAdvancedBlendTest.cpp18 const GrCaps& caps = *ctxInfo.grContext()->priv().caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
27 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps, GrClampType::kAuto); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
36 GrFSAAType::kNone, caps, GrClampType::kAuto, &overrideColor); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
38 if (caps.advancedBlendEquationSupport() && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
39 !caps.isAdvancedBlendEquationBlacklisted(blendEquation)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
42 if (GrCaps::kAdvancedCoherent_BlendEquationSupport == caps.blendEquationSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
47 == caps.blendEquationSupport()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/effects/
DGrDistanceFieldGeoProc.h60 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
66 caps, proxies, numActiveProxies, params, lum, flags, localMatrixIfUsesLocalCoords)); in Make()
69 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
75 caps, proxies, numActiveProxies, params, flags, localMatrixIfUsesLocalCoords)); in Make()
95 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
100 GrDistanceFieldA8TextGeoProc(const GrShaderCaps& caps,
138 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
145 new GrDistanceFieldPathGeoProc(caps, matrix, wideColor, proxies, numActiveProxies, in Make()
162 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
167 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps,
[all …]
DGrCustomXfermode.cpp58 GrProcessorAnalysisCoverage coverage, const GrCaps& caps) { in can_use_hw_blend_equation() argument
59 if (!caps.advancedBlendEquationSupport()) { in can_use_hw_blend_equation()
65 if (caps.isAdvancedBlendEquationBlacklisted(equation)) { in can_use_hw_blend_equation()
103 void onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
122 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps, in GenKey() argument
127 SkASSERT(caps.advBlendEqInteraction() > 0); // 0 will mean !xp.hasHWBlendEquation(). in GenKey()
128 key |= caps.advBlendEqInteraction(); in GenKey()
131 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey()
176 void CustomXP::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument
177 GLCustomXP::GenKey(*this, caps, b); in onGetGLSLProcessorKey()
[all …]
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h60 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
66 caps, proxies, numActiveProxies, params, lum, flags, localMatrixIfUsesLocalCoords)); in Make()
69 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
75 caps, proxies, numActiveProxies, params, flags, localMatrixIfUsesLocalCoords)); in Make()
95 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
100 GrDistanceFieldA8TextGeoProc(const GrShaderCaps& caps,
138 static sk_sp<GrGeometryProcessor> Make(const GrShaderCaps& caps, in Make() argument
145 new GrDistanceFieldPathGeoProc(caps, matrix, wideColor, proxies, numActiveProxies, in Make()
162 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
167 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps,
[all …]
DGrCustomXfermode.cpp58 GrProcessorAnalysisCoverage coverage, const GrCaps& caps) { in can_use_hw_blend_equation() argument
59 if (!caps.advancedBlendEquationSupport()) { in can_use_hw_blend_equation()
65 if (caps.isAdvancedBlendEquationBlacklisted(equation)) { in can_use_hw_blend_equation()
103 void onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
122 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps, in GenKey() argument
127 SkASSERT(caps.advBlendEqInteraction() > 0); // 0 will mean !xp.hasHWBlendEquation(). in GenKey()
128 key |= caps.advBlendEqInteraction(); in GenKey()
131 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey()
176 void CustomXP::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument
177 GLCustomXP::GenKey(*this, caps, b); in onGetGLSLProcessorKey()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp21 bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) { in IsSupported() argument
22 const GrShaderCaps& shaderCaps = *caps.shaderCaps(); in IsSupported()
23 return caps.instanceAttribSupport() && shaderCaps.integerSupport() && in IsSupported()
24 shaderCaps.floatIs32Bits() && GrCaps::kNone_MapFlags != caps.mapBufferFlags() && in IsSupported()
25 caps.isConfigTexturable(kAlpha_half_GrPixelConfig) && in IsSupported()
26 caps.isConfigRenderable(kAlpha_half_GrPixelConfig) && in IsSupported()
27 caps.isConfigTexturable(kAlpha_8_GrPixelConfig) && in IsSupported()
28 caps.isConfigRenderable(kAlpha_8_GrPixelConfig) && in IsSupported()
29 caps.halfFloatVertexAttributeSupport() && in IsSupported()
30 !caps.blacklistCoverageCounting(); in IsSupported()
[all …]
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp21 bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) { in IsSupported() argument
22 const GrShaderCaps& shaderCaps = *caps.shaderCaps(); in IsSupported()
23 return caps.instanceAttribSupport() && shaderCaps.integerSupport() && in IsSupported()
24 shaderCaps.floatIs32Bits() && GrCaps::kNone_MapFlags != caps.mapBufferFlags() && in IsSupported()
25 caps.isConfigTexturable(kAlpha_half_GrPixelConfig) && in IsSupported()
26 caps.isConfigRenderable(kAlpha_half_GrPixelConfig) && in IsSupported()
27 caps.isConfigTexturable(kAlpha_8_GrPixelConfig) && in IsSupported()
28 caps.isConfigRenderable(kAlpha_8_GrPixelConfig) && in IsSupported()
29 caps.halfFloatVertexAttributeSupport() && in IsSupported()
30 !caps.blacklistCoverageCounting(); in IsSupported()
[all …]

12345678910>>...39