Home
last modified time | relevance | path

Searched refs:caps (Results 1 - 25 of 666) sorted by relevance

12345678910>>...27

/third_party/mesa3d/src/gallium/drivers/r300/
H A 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 in r300_parse_chipset()
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_screen.c71 if (vscreen->caps.caps.v2.host_feature_check_version >= 5) in virgl_get_name()
72 return vscreen->caps.caps.v2.renderer; in virgl_get_name()
88 return vscreen->caps.caps.v2.max_anisotropy > 1.0; in virgl_get_param()
92 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
94 return vscreen->caps.caps in virgl_get_param()
666 union virgl_caps *caps = &vscreen->caps.caps; virgl_is_format_supported() local
886 fixup_formats(union virgl_caps *caps, struct virgl_supported_format_mask *mask) fixup_formats() argument
999 fixup_renderer(union virgl_caps *caps) fixup_renderer() argument
1087 union virgl_caps *caps = &screen->caps.caps; virgl_create_screen() local
[all...]
H A Dvirgl_winsys.h39 union virgl_caps caps; member
117 int (*get_caps)(struct virgl_winsys *vws, struct virgl_drm_caps *caps);
143 /* this defaults all newer caps,
146 static inline void virgl_ws_fill_new_caps_defaults(struct virgl_drm_caps *caps) in virgl_ws_fill_new_caps_defaults() argument
148 caps->caps.v2.min_aliased_point_size = 1.f; in virgl_ws_fill_new_caps_defaults()
149 caps->caps.v2.max_aliased_point_size = 255.f; in virgl_ws_fill_new_caps_defaults()
150 caps->caps in virgl_ws_fill_new_caps_defaults()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCaps.cpp68 TextureCaps caps; in GenerateMinimumTextureCaps() local
71 caps.texturable = internalFormatInfo.textureSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
72 caps.filterable = internalFormatInfo.filterSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
73 caps.textureAttachment = internalFormatInfo.textureAttachmentSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
74 caps.renderbuffer = internalFormatInfo.renderbufferSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
75 caps.blendable = internalFormatInfo.blendSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
77 caps.sampleCounts.insert(0); in GenerateMinimumTextureCaps()
83 caps.sampleCounts.insert(4); in GenerateMinimumTextureCaps()
87 return caps; in GenerateMinimumTextureCaps()
94 void TextureCapsMap::insert(GLenum internalFormat, const TextureCaps &caps) in insert() argument
121 set(angle::FormatID formatID, const TextureCaps &caps) set() argument
944 Caps caps; GenerateMinimumCaps() local
[all...]
H A DCompiler.cpp78 const gl::Caps &caps = state.getCaps(); in Compiler() local
91 mResources.MaxVertexAttribs = caps.maxVertexAttributes; in Compiler()
92 mResources.MaxVertexUniformVectors = caps.maxVertexUniformVectors; in Compiler()
93 mResources.MaxVaryingVectors = caps.maxVaryingVectors; in Compiler()
94 mResources.MaxVertexTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Vertex]; in Compiler()
95 mResources.MaxCombinedTextureImageUnits = caps.maxCombinedTextureImageUnits; in Compiler()
96 mResources.MaxTextureImageUnits = caps.maxShaderTextureImageUnits[ShaderType::Fragment]; in Compiler()
97 mResources.MaxFragmentUniformVectors = caps.maxFragmentUniformVectors; in Compiler()
98 mResources.MaxDrawBuffers = caps.maxDrawBuffers; in Compiler()
124 // TODO: use shader precision caps t in Compiler()
[all...]
/third_party/backends/backend/escl/
H A Descl_capabilities.c206 scanner->caps[type].ColorModes = char_to_array(scanner->caps[type].ColorModes, &scanner->caps[type].ColorModesSize, (SANE_String_Const)xmlNodeGetContent(node), 1); in find_valor_of_array_variables()
209 scanner->caps[type].ContentTypes = char_to_array(scanner->caps[type].ContentTypes, &scanner->caps[type].ContentTypesSize, (SANE_String_Const)xmlNodeGetContent(node), 0); in find_valor_of_array_variables()
214 scanner->caps[type].DocumentFormats = char_to_array(scanner->caps[type].DocumentFormats, &scanner->caps[type].DocumentFormatsSize, (SANE_String_Const)xmlNodeGetContent(node), 0); in find_valor_of_array_variables()
215 scanner->caps[typ in find_valor_of_array_variables()
[all...]
H A Descl_crop.c48 ratio = (double)w / (double)scanner->caps[scanner->source].width; in escl_crop_surface()
49 scanner->caps[scanner->source].width = w; in escl_crop_surface()
50 if (scanner->caps[scanner->source].pos_x < 0) in escl_crop_surface()
51 scanner->caps[scanner->source].pos_x = 0; in escl_crop_surface()
52 if (scanner->caps[scanner->source].pos_x && in escl_crop_surface()
53 (scanner->caps[scanner->source].width > in escl_crop_surface()
54 scanner->caps[scanner->source].pos_x)) in escl_crop_surface()
55 x_off = (int)((double)scanner->caps[scanner->source].pos_x * ratio); in escl_crop_surface()
56 real_w = scanner->caps[scanner->source].width - x_off; in escl_crop_surface()
58 scanner->caps[scanne in escl_crop_surface()
[all...]
H A Descl_newjob.c163 if (scanner->caps[scanner->source].default_format) in escl_newjob()
164 free(scanner->caps[scanner->source].default_format); in escl_newjob()
165 scanner->caps[scanner->source].default_format = NULL; in escl_newjob()
166 int have_png = scanner->caps[scanner->source].have_png; in escl_newjob()
167 int have_jpeg = scanner->caps[scanner->source].have_jpeg; in escl_newjob()
168 int have_tiff = scanner->caps[scanner->source].have_tiff; in escl_newjob()
169 int have_pdf = scanner->caps[scanner->source].have_pdf; in escl_newjob()
174 scanner->caps[scanner->source].default_format = in escl_newjob()
175 strdup(scanner->caps[scanner->source].DocumentFormats[have_tiff]); in escl_newjob()
178 scanner->caps[scanne in escl_newjob()
[all...]
H A Descl.c671 int n = handler->scanner->caps[handler->scanner->source].SupportedResolutions[0] + 1; in _get_resolution()
674 DBG(10, "SEARCH RESOLUTION [ %d | %d]\n", resol, (int)handler->scanner->caps[handler->scanner->source].SupportedResolutions[x]); in _get_resolution()
675 if (resol == handler->scanner->caps[handler->scanner->source].SupportedResolutions[x]) in _get_resolution()
677 else if (resol < handler->scanner->caps[handler->scanner->source].SupportedResolutions[x]) in _get_resolution()
680 return handler->scanner->caps[handler->scanner->source].SupportedResolutions[1]; in _get_resolution()
685 old = handler->scanner->caps[handler->scanner->source].SupportedResolutions[x]; in _get_resolution()
717 s->scanner->caps[s->scanner->source].default_color = in init_options_small()
718 strdup(s->scanner->caps[source].default_color); in init_options_small()
719 s->scanner->caps[s->scanner->source].default_resolution = in init_options_small()
720 _get_resolution(s, s->scanner->caps[sourc in init_options_small()
[all...]
/third_party/ffmpeg/libavdevice/
H A Ddshow_common.c85 void ff_print_VIDEO_STREAM_CONFIG_CAPS(const VIDEO_STREAM_CONFIG_CAPS *caps) in ff_print_VIDEO_STREAM_CONFIG_CAPS() argument
90 ff_printGUID(&caps->guid); in ff_print_VIDEO_STREAM_CONFIG_CAPS()
92 dshowdebug(" VideoStandard\t%lu\n", caps->VideoStandard); in ff_print_VIDEO_STREAM_CONFIG_CAPS()
93 dshowdebug(" InputSize %ld\t%ld\n", caps->InputSize.cx, caps->InputSize.cy); in ff_print_VIDEO_STREAM_CONFIG_CAPS()
94 dshowdebug(" MinCroppingSize %ld\t%ld\n", caps->MinCroppingSize.cx, caps->MinCroppingSize.cy); in ff_print_VIDEO_STREAM_CONFIG_CAPS()
95 dshowdebug(" MaxCroppingSize %ld\t%ld\n", caps->MaxCroppingSize.cx, caps->MaxCroppingSize.cy); in ff_print_VIDEO_STREAM_CONFIG_CAPS()
96 dshowdebug(" CropGranularityX\t%d\n", caps in ff_print_VIDEO_STREAM_CONFIG_CAPS()
115 ff_print_AUDIO_STREAM_CONFIG_CAPS(const AUDIO_STREAM_CONFIG_CAPS *caps) ff_print_AUDIO_STREAM_CONFIG_CAPS() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A Drenderer9_utils.cpp501 gl::Caps *caps, in GenerateCaps()
509 // Can't continue with out device caps in GenerateCaps()
527 caps->compressedTextureFormats.push_back(internalFormat); in GenerateCaps()
532 caps->maxElementIndex = static_cast<GLint64>(std::numeric_limits<unsigned int>::max()); in GenerateCaps()
535 caps->max3DTextureSize = 1; in GenerateCaps()
538 caps->max2DTextureSize = std::min(deviceCaps.MaxTextureWidth, deviceCaps.MaxTextureHeight); in GenerateCaps()
541 caps->maxCubeMapTextureSize = caps->max2DTextureSize; in GenerateCaps()
544 caps->maxArrayTextureLayers = 1; in GenerateCaps()
547 caps in GenerateCaps()
497 GenerateCaps(IDirect3D9 *d3d9, IDirect3DDevice9 *device, D3DDEVTYPE deviceType, UINT adapter, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions, gl::Limitations *limitations) GenerateCaps() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A Drenderer11_utils.cpp934 void SetUAVRelatedResourceLimits(D3D_FEATURE_LEVEL featureLevel, gl::Caps *caps) in SetUAVRelatedResourceLimits() argument
936 ASSERT(caps); in SetUAVRelatedResourceLimits()
962 caps->maxCombinedAtomicCounterBuffers = reservedUAVsForAtomicCounterBuffers; in SetUAVRelatedResourceLimits()
963 caps->maxShaderAtomicCounterBuffers[gl::ShaderType::Compute] = in SetUAVRelatedResourceLimits()
965 caps->maxShaderAtomicCounterBuffers[gl::ShaderType::Fragment] = in SetUAVRelatedResourceLimits()
967 caps->maxAtomicCounterBufferBindings = reservedUAVsForAtomicCounterBuffers; in SetUAVRelatedResourceLimits()
972 caps->maxCombinedAtomicCounters = reservedUAVsForAtomicCounterBuffers * 1024; in SetUAVRelatedResourceLimits()
973 caps->maxShaderAtomicCounters[gl::ShaderType::Compute] = caps->maxCombinedAtomicCounters; in SetUAVRelatedResourceLimits()
979 caps in SetUAVRelatedResourceLimits()
1290 GetMaximumClientVersion(const Renderer11DeviceCaps &caps) GetMaximumClientVersion() argument
1377 GenerateCaps(ID3D11Device *device, ID3D11DeviceContext *deviceContext, const Renderer11DeviceCaps &renderer11DeviceCaps, const angle::FeaturesD3D &features, const char *description, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions, gl::Limitations *limitations) GenerateCaps() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A Drenderergl_utils.cpp580 // caps that are defined as 64-bit values in core spec, but were introduced earlier in in QuerySingleGLInt64()
640 gl::Caps *caps, in GenerateCaps()
660 caps->compressedTextureFormats.push_back(internalFormat); in GenerateCaps()
669 caps->maxElementIndex = QuerySingleGLInt64(functions, GL_MAX_ELEMENT_INDEX); in GenerateCaps()
672 if (caps->maxElementIndex == 0) in GenerateCaps()
674 caps->maxElementIndex = 0xFFFF; in GenerateCaps()
680 caps->maxElementIndex = static_cast<GLint64>(std::numeric_limits<unsigned int>::max()); in GenerateCaps()
698 caps->max3DTextureSize = std::min({QuerySingleGLInt(functions, GL_MAX_3D_TEXTURE_SIZE), in GenerateCaps()
707 caps->max2DTextureSize = std::min(QuerySingleGLInt(functions, GL_MAX_TEXTURE_SIZE), in GenerateCaps()
709 caps in GenerateCaps()
638 GenerateCaps(const FunctionsGL *functions, const angle::FeaturesGL &features, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap, gl::Extensions *extensions, gl::Limitations *limitations, gl::Version *maxSupportedESVersion, MultiviewImplementationTypeGL *multiviewImplementationType) GenerateCaps() argument
[all...]
/third_party/skia/src/gpu/
H A DGrGpu.cpp44 void GrGpu::initCapsAndCompiler(sk_sp<const GrCaps> caps) { in initCapsAndCompiler() argument
45 fCaps = std::move(caps); in initCapsAndCompiler()
54 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels()
64 if (caps->writePixelsRowBytesSupport()) { in validate_texel_levels()
107 if (this->caps()->isFormatCompressed(format)) { in createTextureCommon()
113 if (!this->caps()->validateSurfaceParams(dimensions, in createTextureCommon()
124 this->caps()->getRenderTargetSampleCount(renderTargetSampleCnt, format); in createTextureCommon()
140 if (!this->caps()->reuseScratchTextures() && renderable == GrRenderable::kNo) { in createTextureCommon()
144 if (renderTargetSampleCnt > 1 && !this->caps()->msaaResolvesAutomatically()) { in createTextureCommon()
166 this->caps() in createTexture()
53 validate_texel_levels(SkISize dimensions, GrColorType texelColorType, const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) validate_texel_levels() argument
327 const GrCaps* caps = this->caps(); wrapBackendTexture() local
346 const GrCaps* caps = this->caps(); wrapCompressedBackendTexture() local
369 const GrCaps* caps = this->caps(); wrapRenderableBackendTexture() local
392 const GrCaps* caps = this->caps(); wrapBackendRenderTarget() local
877 const GrCaps* caps = this->caps(); createBackendTexture() local
918 const GrCaps* caps = this->caps(); createCompressedBackendTexture() local
[all...]
H A DGrProgramDesc.cpp49 const GrCaps& caps) { in sampler_key()
59 const GrCaps& caps) { in add_geomproc_sampler_keys()
66 uint32_t samplerKey = sampler_key(backendFormat.textureType(), sampler.swizzle(), caps); in add_geomproc_sampler_keys()
69 caps.addExtraSamplerKey(b, sampler.samplerState(), backendFormat); in add_geomproc_sampler_keys()
84 const GrCaps& caps, in gen_geomproc_key()
89 geomProc.addToKey(*caps.shaderCaps(), b); in gen_geomproc_key()
92 add_geomproc_sampler_keys(b, geomProc, caps); in gen_geomproc_key()
96 const GrCaps& caps, in gen_xp_key()
109 xp.addToKey(*caps.shaderCaps(), in gen_xp_key()
116 const GrCaps& caps, in gen_fp_key()
48 sampler_key(GrTextureType textureType, const GrSwizzle& swizzle, const GrCaps& caps) sampler_key() argument
57 add_geomproc_sampler_keys(GrProcessorKeyBuilder* b, const GrGeometryProcessor& geomProc, const GrCaps& caps) add_geomproc_sampler_keys() argument
83 gen_geomproc_key(const GrGeometryProcessor& geomProc, const GrCaps& caps, GrProcessorKeyBuilder* b) gen_geomproc_key() argument
95 gen_xp_key(const GrXferProcessor& xp, const GrCaps& caps, const GrPipeline& pipeline, GrProcessorKeyBuilder* b) gen_xp_key() argument
115 gen_fp_key(const GrFragmentProcessor& fp, const GrCaps& caps, GrProcessorKeyBuilder* b) gen_fp_key() argument
144 gen_key(GrProcessorKeyBuilder* b, const GrProgramInfo& programInfo, const GrCaps& caps) gen_key() argument
170 Build(GrProgramDesc* desc, const GrProgramInfo& programInfo, const GrCaps& caps) Build() argument
179 Describe(const GrProgramInfo& programInfo, const GrCaps& caps) Describe() argument
[all...]
H A DGrDynamicAtlas.cpp57 const GrCaps& caps, in MakeLazyAtlasProxy()
59 GrBackendFormat format = caps.getDefaultBackendFormat(colorType, GrRenderable::kYes); in MakeLazyAtlasProxy()
63 sampleCount = caps.internalMultisampleCount(format); in MakeLazyAtlasProxy()
68 sampleCount, GrProtected::kNo, caps, useAllocator); in MakeLazyAtlasProxy()
74 SkISize initialSize, int maxAtlasSize, const GrCaps& caps, in GrDynamicAtlas()
80 SkASSERT(fMaxAtlasSize <= caps.maxTextureSize()); in GrDynamicAtlas()
81 this->reset(initialSize, caps); in GrDynamicAtlas()
87 void GrDynamicAtlas::reset(SkISize initialSize, const GrCaps& caps) { in reset() argument
108 fColorType, fInternalMultisample, caps, GrSurfaceProxy::UseAllocator::kNo); in reset()
121 GrSurfaceProxyView GrDynamicAtlas::readView(const GrCaps& caps) cons
53 MakeLazyAtlasProxy( LazyInstantiateAtlasCallback&& callback, GrColorType colorType, InternalMultisample internalMultisample, const GrCaps& caps, GrSurfaceProxy::UseAllocator useAllocator) MakeLazyAtlasProxy() argument
73 GrDynamicAtlas(GrColorType colorType, InternalMultisample internalMultisample, SkISize initialSize, int maxAtlasSize, const GrCaps& caps, RectanizerAlgorithm algorithm) GrDynamicAtlas() argument
[all...]
/third_party/python/Lib/
H A Dmailcap.py41 caps = {}
51 if not key in caps:
52 caps[key] = value
54 caps[key] = caps[key] + value
55 return caps
79 caps, _ = _readmailcapfile(fp, None)
80 return caps
92 caps = {}
118 if key in caps
[all...]
/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_device.c50 get_capset(int fd, struct virgl_renderer_capset_drm *caps) in get_capset() argument
55 .addr = VOID2U64(caps), in get_capset()
56 .size = sizeof(*caps), in get_capset()
59 memset(caps, 0, sizeof(*caps)); in get_capset()
125 struct virgl_renderer_capset_drm caps; in virtio_device_new() local
138 ret = get_capset(fd, &caps); in virtio_device_new()
140 INFO_MSG("could not get caps: %s", strerror(errno)); in virtio_device_new()
144 if (caps.context_type != VIRTGPU_DRM_CONTEXT_MSM) { in virtio_device_new()
145 INFO_MSG("wrong context_type: %u", caps in virtio_device_new()
[all...]
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_dump.c418 if (caps->m & p##_##n) \
425 nine_dump_D3DCAPS9(unsigned ch, const D3DCAPS9 *caps) in nine_dump_D3DCAPS9() argument
432 DBG_FLAG(ch, "D3DCAPS9(%p): (out of memory)\n", caps); in nine_dump_D3DCAPS9()
436 C2S("DeviceType: %s\n", nine_D3DDEVTYPE_to_str(caps->DeviceType)); in nine_dump_D3DCAPS9()
438 C2S("AdapterOrdinal: %u\nCaps:", caps->AdapterOrdinal); in nine_dump_D3DCAPS9()
439 if (caps->Caps & 0x20000) in nine_dump_D3DCAPS9()
441 if (caps->Caps & ~0x20000) in nine_dump_D3DCAPS9()
442 C2S(" %x", caps->Caps & ~0x20000); in nine_dump_D3DCAPS9()
679 C2S("\nMaxTextureWidth: %u", caps->MaxTextureWidth); in nine_dump_D3DCAPS9()
680 C2S("\nMaxTextureHeight: %u", caps in nine_dump_D3DCAPS9()
[all...]
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl07.c98 cap_t caps = cap_init(); in verify_prctl() local
103 cap_set_flag(caps, CAP_EFFECTIVE, numcaps, caplist, CAP_SET); in verify_prctl()
104 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl()
105 cap_set_flag(caps, CAP_PERMITTED, numcaps, caplist, CAP_SET); in verify_prctl()
106 cap_set_proc(caps); in verify_prctl()
111 cap_clear_flag(caps, CAP_INHERITABLE); in verify_prctl()
112 cap_set_proc(caps); in verify_prctl()
115 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl()
116 cap_clear_flag(caps, CAP_PERMITTED); in verify_prctl()
117 cap_set_proc(caps); in verify_prctl()
[all...]
/third_party/skia/src/sksl/
H A DSkSLMain.cpp95 const SkSL::ShaderCapsClass** caps, in detect_shader_settings()
118 *caps = s_addAndTrueCaps.get(); in detect_shader_settings()
122 *caps = s_negativeFractCaps.get(); in detect_shader_settings()
126 *caps = s_noFragCoordCaps.get(); in detect_shader_settings()
130 *caps = s_minAbsCaps.get(); in detect_shader_settings()
134 *caps = s_defaultCaps.get(); in detect_shader_settings()
138 *caps = s_emulateAbsIntCaps.get(); in detect_shader_settings()
142 *caps = s_fbFetchSupport.get(); in detect_shader_settings()
146 *caps = s_incompleteShortIntCaps.get(); in detect_shader_settings()
150 *caps in detect_shader_settings()
93 detect_shader_settings(const SkSL::String& text, SkSL::Program::Settings* settings, const SkSL::ShaderCapsClass** caps, std::unique_ptr<SkSL::SkVMDebugInfo>* debugInfo) detect_shader_settings() argument
300 const SkSL::ShaderCapsClass* caps = &standaloneCaps; processCommand() local
[all...]
/third_party/alsa-lib/src/mixer/
H A Dsimple_none.c298 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_read_enum()
301 else if (s->selem.caps & SM_CAP_PENUM) in elem_read_enum()
303 else if (s->selem.caps & SM_CAP_CENUM) in elem_read_enum()
370 if ((s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_PSWITCH)) == 0) { in selem_read()
412 if ((s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH)) == 0) { in selem_read()
540 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_write_enum()
543 else if (s->selem.caps & SM_CAP_PENUM) in elem_write_enum()
545 else if (s->selem.caps & SM_CAP_CENUM) in elem_write_enum()
674 unsigned int caps, pchannels, cchannels; in simple_update() local
678 caps in simple_update()
[all...]
/third_party/skia/src/gpu/ops/
H A DGrSimpleMeshDrawOpHelper.cpp41 const GrCaps& caps, const SkRect& thisBounds, in isCompatible()
69 const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, in finalizeProcessors()
72 auto result = this->finalizeProcessors(caps, clip, clampType, geometryCoverage, &color); in finalizeProcessors()
81 const GrCaps& caps, const GrAppliedClip* clip, const GrUserStencilSettings* userStencil, in finalizeProcessors()
94 analysis = fProcessors->finalize(*geometryColor, coverage, clip, userStencil, caps, in finalizeProcessors()
108 const GrCaps* caps, in CreatePipeline()
118 pipelineArgs.fCaps = caps; in CreatePipeline()
131 return CreatePipeline(&flushState->caps(), in CreatePipeline()
141 return CreatePipeline(&flushState->caps(), in createPipeline()
151 const GrCaps* caps, in createPipeline()
40 isCompatible(const GrSimpleMeshDrawOpHelper& that, const GrCaps& caps, const SkRect& thisBounds, const SkRect& thatBounds, bool ignoreAAType) const isCompatible() argument
68 finalizeProcessors( const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) finalizeProcessors() argument
80 finalizeProcessors( const GrCaps& caps, const GrAppliedClip* clip, const GrUserStencilSettings* userStencil, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, GrProcessorAnalysisColor* geometryColor) finalizeProcessors() argument
107 CreatePipeline( const GrCaps* caps, SkArenaAlloc* arena, GrSwizzle writeViewSwizzle, GrAppliedClip&& appliedClip, const GrDstProxyView& dstProxyView, GrProcessorSet&& processorSet, GrPipeline::InputFlags pipelineFlags) CreatePipeline() argument
150 createPipeline( const GrCaps* caps, SkArenaAlloc* arena, GrSwizzle writeViewSwizzle, GrAppliedClip&& appliedClip, const GrDstProxyView& dstProxyView) createPipeline() argument
165 CreateProgramInfo( const GrCaps* caps, SkArenaAlloc* arena, const GrSurfaceProxyView& writeView, bool usesMSAASurface, GrAppliedClip&& appliedClip, const GrDstProxyView& dstProxyView, GrGeometryProcessor* geometryProcessor, GrProcessorSet&& processorSet, GrPrimitiveType primitiveType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp, GrPipeline::InputFlags pipelineFlags, const GrUserStencilSettings* stencilSettings) CreateProgramInfo() argument
191 CreateProgramInfo(const GrCaps* caps, SkArenaAlloc* arena, const GrPipeline* pipeline, const GrSurfaceProxyView& writeView, bool usesMSAASurface, GrGeometryProcessor* geometryProcessor, GrPrimitiveType primitiveType, GrXferBarrierFlags xferBarrierFlags, GrLoadOp colorLoadOp, const GrUserStencilSettings* stencilSettings) CreateProgramInfo() argument
214 createProgramInfo( const GrCaps* caps, SkArenaAlloc* arena, const GrSurfaceProxyView& writeView, bool usesMSAASurface, GrAppliedClip&& appliedClip, const GrDstProxyView& dstProxyView, GrGeometryProcessor* gp, GrPrimitiveType primType, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) createProgramInfo() argument
[all...]
/third_party/alsa-lib/src/topology/
H A Dpcm.c63 /* copy referenced caps to the parent (pcm or be dai) */
65 struct snd_soc_tplg_stream_caps *caps, in copy_stream_caps()
70 tplg_dbg("Copy pcm caps (%ld bytes) from '%s' to '%s'", in copy_stream_caps()
71 sizeof(*caps), ref_elem->id, id); in copy_stream_caps()
73 *caps = *ref_caps; in copy_stream_caps()
76 /* find and copy the referenced stream caps */
79 struct snd_soc_tplg_stream_caps *caps) in tplg_build_stream_caps()
86 caps[i].name, SND_TPLG_TYPE_STREAM_CAPS, index); in tplg_build_stream_caps()
89 copy_stream_caps(id, &caps[i], ref_elem); in tplg_build_stream_caps()
103 elem->pcm->caps); in build_pcm()
64 copy_stream_caps(const char *id ATTRIBUTE_UNUSED, struct snd_soc_tplg_stream_caps *caps, struct tplg_elem *ref_elem) copy_stream_caps() argument
77 tplg_build_stream_caps(snd_tplg_t *tplg, const char *id, int index, struct snd_soc_tplg_stream_caps *caps) tplg_build_stream_caps() argument
313 split_format(struct snd_soc_tplg_stream_caps *caps, char *str) split_format() argument
355 split_rate(struct snd_soc_tplg_stream_caps *caps, char *str) split_rate() argument
624 struct snd_soc_tplg_stream_caps *caps; tplg_parse_streams() local
698 struct snd_soc_tplg_stream_caps *caps; tplg_save_streams() local
1749 struct snd_soc_tplg_stream_caps *caps; tplg_add_stream_caps() local
2001 struct snd_tplg_stream_caps_template caps[2], *cap; tplg_decode_pcm() local
[all...]
/third_party/skia/tests/
H A DAdvancedBlendTest.cpp29 const GrCaps& caps = *ctxInfo.directContext()->priv().caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
38 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps, GrClampType::kAuto); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
45 opaque, coverage, nullptr, &GrUserStencilSettings::kUnused, caps, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
48 if (caps.advancedBlendEquationSupport() && in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
49 !caps.isAdvancedBlendEquationDisabled(blendEquation)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
52 if (GrCaps::kAdvancedCoherent_BlendEquationSupport == caps.blendEquationSupport()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
57 == caps.blendEquationSupport()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

Completed in 18 milliseconds

12345678910>>...27