Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
Dr300_screen.c86 return chip_families[r300screen->caps.family]; in r300_get_name()
92 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param()
130 return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1; in r300_get_param()
238 return !r300screen->caps.has_tcl; in r300_get_param()
244 return r300screen->caps.has_tcl; in r300_get_param()
292 boolean is_r400 = r300screen->caps.is_r400; in r300_get_shader_param()
293 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param()
331 return r300screen->caps.num_tex_units; in r300_get_shader_param()
366 if (!r300screen->caps.has_tcl) { in r300_get_shader_param()
435 if (r300screen->caps.is_r500) { in r300_get_paramf()
[all …]
Dr300_context.c123 if (!r300->screen->caps.has_tcl) { in r300_destroy_context()
156 boolean is_rv350 = r300->screen->caps.is_rv350; in r300_setup_atoms()
157 boolean is_r500 = r300->screen->caps.is_r500; in r300_setup_atoms()
158 boolean has_tcl = r300->screen->caps.has_tcl; in r300_setup_atoms()
211 R300_INIT_ATOM(hiz_clear, r300->screen->caps.hiz_ram > 0 ? 4 : 0); in r300_setup_atoms()
212 R300_INIT_ATOM(zmask_clear, r300->screen->caps.zmask_ram > 0 ? 4 : 0); in r300_setup_atoms()
241 if (!r300->screen->caps.has_tcl) { in r300_setup_atoms()
315 if (r300->screen->caps.is_r500) { in r300_init_states()
317 } else if (!r300->screen->caps.has_tcl) { in r300_init_states()
340 if (r300->screen->caps.is_rv350) { in r300_init_states()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c72 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
74 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
76 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
78 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
92 return vscreen->caps.caps.v1.bset.indep_blend_enable; in virgl_get_param()
94 return vscreen->caps.caps.v1.bset.indep_blend_func; in virgl_get_param()
99 return vscreen->caps.caps.v1.bset.fragment_coord_conventions; in virgl_get_param()
101 return vscreen->caps.caps.v1.bset.depth_clip_disable; in virgl_get_param()
103 return vscreen->caps.caps.v1.max_streamout_buffers; in virgl_get_param()
108 return vscreen->caps.caps.v1.bset.primitive_restart; in virgl_get_param()
[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/skia/src/gpu/
DGrXferProcessor.cpp39 void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey() argument
57 this->onGetGLSLProcessorKey(caps, b); in getGLSLProcessorKey()
160 const GrCaps& caps) { in GetAnalysisProperties() argument
163 result = factory->analysisProperties(color, coverage, caps); in GetAnalysisProperties()
165 result = GrPorterDuffXPFactory::SrcOverAnalysisProperties(color, coverage, caps); in GetAnalysisProperties()
169 !caps.shaderCaps()->dstReadInShaderSupport()) { in GetAnalysisProperties()
171 if (caps.textureBarrierSupport()) { in GetAnalysisProperties()
182 const GrCaps& caps) { in MakeXferProcessor() argument
183 SkASSERT(!hasMixedSamples || caps.shaderCaps()->dualSourceBlendingSupport()); in MakeXferProcessor()
185 return factory->makeXferProcessor(color, coverage, hasMixedSamples, caps); in MakeXferProcessor()
[all …]
DGrGpu.cpp48 const GrCaps& caps = *this->caps(); in isACopyNeededForTextureParams() local
49 if (textureParams.isTiled() && !caps.npotTextureTileSupport() && in isACopyNeededForTextureParams()
92 static bool check_texture_creation_params(const GrCaps& caps, const GrSurfaceDesc& desc, in check_texture_creation_params() argument
95 if (!caps.isConfigTexturable(desc.fConfig)) { in check_texture_creation_params()
104 if (*isRT && !caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in check_texture_creation_params()
114 int maxRTSize = caps.maxRenderTargetSize(); in check_texture_creation_params()
119 int maxSize = caps.maxTextureSize(); in check_texture_creation_params()
138 const GrCaps* caps = this->caps(); in createTexture() local
140 bool textureCreationParamsValid = check_texture_creation_params(*caps, desc, &isRT, in createTexture()
146 desc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in createTexture()
[all …]
DGrRenderTargetOpList.h43 void makeClosed(const GrCaps& caps) override { in makeClosed() argument
49 this->forwardCombine(caps); in makeClosed()
51 INHERITED::makeClosed(caps); in makeClosed()
71 uint32_t addOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addOp() argument
72 this->recordOp(std::move(op), caps, nullptr, nullptr); in addOp()
75 uint32_t addOp(std::unique_ptr<GrOp> op, const GrCaps& caps, in addOp() argument
77 this->recordOp(std::move(op), caps, clip.doesClip() ? &clip : nullptr, &dstProxy); in addOp()
82 void fullClear(const GrCaps& caps, GrColor color);
94 bool copySurface(const GrCaps& caps,
132 GrOp* recordOp(std::unique_ptr<GrOp>, const GrCaps& caps,
/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/effects/
DGrCustomXfermode.cpp55 GrProcessorAnalysisCoverage coverage, const GrCaps& caps) { in can_use_hw_blend_equation() argument
56 if (!caps.advancedBlendEquationSupport()) { in can_use_hw_blend_equation()
62 if (caps.canUseAdvancedBlendEquation(equation)) { in can_use_hw_blend_equation()
102 void onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
121 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps, in GenKey() argument
126 SkASSERT(caps.advBlendEqInteraction() > 0); // 0 will mean !xp.hasHWBlendEquation(). in GenKey()
127 key |= caps.advBlendEqInteraction(); in GenKey()
130 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey()
175 void CustomXP::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument
176 GLCustomXP::GenKey(*this, caps, b); in onGetGLSLProcessorKey()
[all …]
DGrBezierEffect.h63 const GrCaps& caps,
69 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
76 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
107 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
145 const GrCaps& caps,
151 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
158 if (!caps.shaderCaps()->shaderDerivativeSupport()) {
189 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
231 const GrCaps& caps) { in Make() argument
270 void getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const override;
/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/libcap/contrib/bug400591/
Dbug.c13 cap_t caps, caps2; in main() local
18 assert((caps = cap_get_pid(1))); in main()
20 text1 = cap_to_text(caps, NULL); in main()
23 size = cap_size (caps); in main()
29 copy_size = cap_copy_ext (buffer, caps, size); in main()
40 assert(cap_compare(caps, caps2) == 0); in main()
/external/ltp/testcases/kernel/security/filecaps/
Dcheck_simple_capset.c31 cap_t caps, caps2; in main() local
34 caps = cap_from_text("cap_setpcap+ep"); in main()
36 ret = cap_set_proc(caps); in main()
37 ret = cap_compare(caps, caps2); in main()
40 cap_free(caps); in main()
/external/strace/
Dptp.c120 struct ptp_clock_caps caps; in ptp_ioctl() local
126 if (umove_or_printaddr(tcp, arg, &caps)) in ptp_ioctl()
130 caps.max_adj, caps.n_alarm, caps.n_ext_ts, in ptp_ioctl()
131 caps.n_per_out, caps.pps); in ptp_ioctl()
/external/tinycompress/
Dcompress.c143 const struct snd_compr_caps *caps) in _is_codec_supported() argument
148 for (i = 0; i < caps->num_codecs; i++) { in _is_codec_supported()
149 if (caps->codecs[i] == config->codec->id) { in _is_codec_supported()
160 if (config->fragment_size < caps->min_fragment_size) { in _is_codec_supported()
162 config->fragment_size, caps->min_fragment_size); in _is_codec_supported()
165 if (config->fragment_size > caps->max_fragment_size) { in _is_codec_supported()
167 config->fragment_size, caps->max_fragment_size); in _is_codec_supported()
170 if (config->fragments < caps->min_fragments) { in _is_codec_supported()
172 config->fragments, caps->min_fragments); in _is_codec_supported()
175 if (config->fragments > caps->max_fragments) { in _is_codec_supported()
[all …]
/external/libcap/libcap/
Dcap_text.c307 static int getstateflags(cap_t caps, int capno) in getstateflags() argument
311 if (isset_cap(caps, capno, CAP_EFFECTIVE)) { in getstateflags()
314 if (isset_cap(caps, capno, CAP_PERMITTED)) { in getstateflags()
317 if (isset_cap(caps, capno, CAP_INHERITABLE)) { in getstateflags()
326 char *cap_to_text(cap_t caps, ssize_t *length_p) in cap_to_text() argument
336 if (!good_cap_t(caps)) { in cap_to_text()
341 switch (caps->head.version) { in cap_to_text()
358 _cap_debugcap("e = ", *caps, CAP_EFFECTIVE); in cap_to_text()
359 _cap_debugcap("i = ", *caps, CAP_INHERITABLE); in cap_to_text()
360 _cap_debugcap("p = ", *caps, CAP_PERMITTED); in cap_to_text()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_bsp.c165 uint32_t caps = (d->slice_count << 4)&0xfff0; in nouveau_vp3_fill_picparm_vc1_bsp() local
188 return caps | 2; in nouveau_vp3_fill_picparm_vc1_bsp()
197 uint32_t caps = (d->slice_count << 4)&0xfff0; in nouveau_vp3_fill_picparm_h264_bsp() local
201 caps |= 1 << 20; in nouveau_vp3_fill_picparm_h264_bsp()
230 return caps | 3; in nouveau_vp3_fill_picparm_h264_bsp()
284 uint32_t endmarker, caps; in nouveau_vp3_bsp_end() local
297 caps = nouveau_vp3_fill_picparm_mpeg12_bsp(dec, desc.mpeg12, bsp); in nouveau_vp3_bsp_end()
301 caps = nouveau_vp3_fill_picparm_mpeg4_bsp(dec, desc.mpeg4, bsp); in nouveau_vp3_bsp_end()
305 caps = nouveau_vp3_fill_picparm_vc1_bsp(dec, desc.vc1, bsp); in nouveau_vp3_bsp_end()
310 caps = nouveau_vp3_fill_picparm_h264_bsp(dec, desc.h264, bsp); in nouveau_vp3_bsp_end()
[all …]
/external/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.cpp43 const GrCaps& caps, const SkRect& thisBounds, in isCompatible() argument
53 (fProcessors->xferProcessor() && fProcessors->xferProcessor()->xferBarrierType(caps))) { in isCompatible()
66 const GrCaps& caps, const GrAppliedClip* clip, GrProcessorAnalysisCoverage geometryCoverage, in xpRequiresDstTexture() argument
79 analysis = fProcessors->finalize(*geometryColor, coverage, clip, isMixedSamples, caps, in xpRequiresDstTexture()
95 const GrCaps& caps, const GrAppliedClip* clip, GrProcessorAnalysisCoverage geometryCoverage, in xpRequiresDstTexture() argument
98 auto result = this->xpRequiresDstTexture(caps, clip, geometryCoverage, &color); in xpRequiresDstTexture()
132 args.fCaps = &target->caps(); in pipelineInitArgs()
152 const GrSimpleMeshDrawOpHelperWithStencil& that, const GrCaps& caps, in isCompatible() argument
154 return INHERITED::isCompatible(that, caps, thisBounds, thatBounds) && in isCompatible()
/external/vulkan-validation-layers/demos/smoke/
DShell.cpp385 VkSurfaceCapabilitiesKHR caps; in resize_swapchain() local
387 ctx_.surface, &caps)); in resize_swapchain()
389 VkExtent2D extent = caps.currentExtent; in resize_swapchain()
396 if (extent.width < caps.minImageExtent.width) in resize_swapchain()
397 extent.width = caps.minImageExtent.width; in resize_swapchain()
398 else if (extent.width > caps.maxImageExtent.width) in resize_swapchain()
399 extent.width = caps.maxImageExtent.width; in resize_swapchain()
401 if (extent.height < caps.minImageExtent.height) in resize_swapchain()
402 extent.height = caps.minImageExtent.height; in resize_swapchain()
403 else if (extent.height > caps.maxImageExtent.height) in resize_swapchain()
[all …]
/external/skia/tests/
DProxyTest.cpp43 const GrCaps& caps, in check_rendertarget() argument
50 REPORTER_ASSERT(reporter, rtProxy->maxWindowRectangles(caps) == expectedMaxWindowRects); in check_rendertarget()
115 const GrCaps& caps = *ctxInfo.grContext()->caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
160 int supportedSamples = caps.getSampleCount(numSamples, config); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 check_rendertarget(reporter, caps, provider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 fit, caps.maxWindowRectangles(), false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
210 const GrCaps& caps = *ctxInfo.grContext()->caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
218 int supportedNumSamples = caps.getSampleCount(numSamples, config); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
220 bool renderable = caps.isConfigRenderable(config, numSamples > 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
243 check_rendertarget(reporter, caps, provider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_is_capture_device.cc23 v4l2_capability caps; in main() local
24 if (!v4l2_dev.ProbeCaps(&caps, false)) { in main()
28 is_capture_device = ((caps.capabilities & V4L2_CAP_VIDEO_CAPTURE) && in main()
29 !(caps.capabilities & V4L2_CAP_VIDEO_OUTPUT)); in main()
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c146 struct ptp_clock_caps caps; in main() local
272 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main()
283 caps.max_adj, in main()
284 caps.n_alarm, in main()
285 caps.n_ext_ts, in main()
286 caps.n_per_out, in main()
287 caps.pps, in main()
288 caps.n_pins, in main()
289 caps.cross_timestamping); in main()
382 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main()
[all …]
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp100 VkSurfaceCapabilitiesKHR caps; in createSwapchain() local
102 fSurface, &caps); in createSwapchain()
137 VkExtent2D extent = caps.currentExtent; in createSwapchain()
145 if (extent.width < caps.minImageExtent.width) { in createSwapchain()
146 extent.width = caps.minImageExtent.width; in createSwapchain()
147 } else if (extent.width > caps.maxImageExtent.width) { in createSwapchain()
148 extent.width = caps.maxImageExtent.width; in createSwapchain()
151 if (extent.height < caps.minImageExtent.height) { in createSwapchain()
152 extent.height = caps.minImageExtent.height; in createSwapchain()
153 } else if (extent.height > caps.maxImageExtent.height) { in createSwapchain()
[all …]

12345678910>>...20