Home
last modified time | relevance | path

Searched +full:attrib +full:- (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c3 * Copyright 2007-2023 VMware, Inc.
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
43 typedef void (*emit_func)(const void *attrib, void *ptr);
66 /* this value is set to -1 if this is a normal element with
71 * output_format == input_format or for 32-bit instance ids:
76 } attrib[TRANSLATE_MAX_ATTRIBS]; member
96 #define ATTRIB(NAME, SZ, SRCTYPE, DSTTYPE, TO) \ macro
98 emit_##NAME(const void *attrib, void *ptr) \
101 SRCTYPE *in = (SRCTYPE *)attrib; \
135 ATTRIB(R64G64B64A64_FLOAT, 4, float, double, TO_64_FLOAT)
[all …]
/external/mesa3d/src/mesa/main/
Dglthread_varray.c43 init_attrib(struct glthread_attrib *attrib, int index, int size, GLenum type) in init_attrib() argument
45 attrib->Format = MESA_PACK_VFORMAT(type, size, 0, 0, 0); in init_attrib()
46 attrib->ElementSize = element_size(attrib->Format); in init_attrib()
47 attrib->RelativeOffset = 0; in init_attrib()
48 attrib->BufferIndex = index; in init_attrib()
49 attrib->Stride = attrib->ElementSize; in init_attrib()
50 attrib->Divisor = 0; in init_attrib()
51 attrib->EnabledAttribCount = 0; in init_attrib()
52 attrib->Pointer = NULL; in init_attrib()
58 vao->CurrentElementBufferName = 0; in _mesa_glthread_reset_vao()
[all …]
Dsamplerobj.c2 * Mesa 3-D graphics library
63 _mesa_HashLookup(&ctx->Shared->SamplerObjects, name); in _mesa_lookup_samplerobj()
70 _mesa_HashLookupLocked(&ctx->Shared->SamplerObjects, name); in lookup_samplerobj_locked()
78 free(sampObj->Label); in delete_sampler_object()
90 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */ in _mesa_reference_sampler_object_()
96 assert(oldSamp->RefCount > 0); in _mesa_reference_sampler_object_()
98 if (p_atomic_dec_zero(&oldSamp->RefCount)) in _mesa_reference_sampler_object_()
104 assert(samp->RefCount > 0); in _mesa_reference_sampler_object_()
106 p_atomic_inc(&samp->RefCount); in _mesa_reference_sampler_object_()
119 sampObj->Name = name; in _mesa_init_sampler_object()
[all …]
Dtexparam.c2 * Mesa 3-D graphics library
4 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
29 * glTexParameter-related functions
66 const struct gl_extensions * const e = & ctx->Extensions; in validate_texture_wrap_mode()
84 supported = ctx->API != API_OPENGLES in validate_texture_wrap_mode()
96 && (e->ATI_texture_mirror_once || e->EXT_texture_mirror_clamp) in validate_texture_wrap_mode()
111 supported = is_desktop_gl && e->EXT_texture_mirror_clamp in validate_texture_wrap_mode()
164 if (!is_texparameteri_target_valid(texObj->Target)) { in get_texobj_by_name()
175 * \return -1 if error.
194 return -1; in comp_to_swizzle()
[all …]
/external/cronet/third_party/libxml/fuzz/seed_corpus/
D9de04ffa9771c61b055b3a79ab8114e36c5bc8521 <?xml version="1.0" encoding="utf-8"?>
2 <!-- $Id: docbook.rng,v 1.5 2001/10/23 05:56:47 jjc Exp $ -->
4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
508 <define name="arch.attrib">
515 <define name="condition.attrib">
522 <define name="conformance.attrib">
529 <define name="os.attrib">
536 <define name="revision.attrib">
543 <define name="security.attrib">
550 <define name="userlevel.attrib">
[all …]
/external/libxml2/test/relaxng/
Ddocbook.rng1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- $Id: docbook.rng,v 1.5 2001/10/23 05:56:47 jjc Exp $ -->
4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
508 <define name="arch.attrib">
515 <define name="condition.attrib">
522 <define name="conformance.attrib">
529 <define name="os.attrib">
536 <define name="revision.attrib">
543 <define name="security.attrib">
550 <define name="userlevel.attrib">
[all …]
/external/libdrm/intel/tests/
Dgen6-3d.batch-ref.txt88 … enable, Guardband test disable, Clip mode 0, Perspective Divide enable, Non-Perspective Barycentr…
91 0x12300168: 0x00200810: Attrib Out 0, Attrib Swizzle enable, VUE read length 1, VUE read of…
98 0x12300184: 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); A…
99 0x12300188: 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); A…
100 0x1230018c: 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); A…
101 0x12300190: 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); A…
102 0x12300194: 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); A…
103 0x12300198: 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0);
104 0x1230019c: 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0);
105 0x123001a0: 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0);
[all …]
/external/angle/src/libANGLE/
DVertexAttribute.cpp3 // Use of this source code is governed by a BSD-style license that can be
46 mBuffer->onNonTFBindingChanged(incr); in onContainerBindingChanged()
59 VertexAttribute::VertexAttribute(VertexAttribute &&attrib) in VertexAttribute() argument
60 : enabled(attrib.enabled), in VertexAttribute()
61 format(attrib.format), in VertexAttribute()
62 pointer(attrib.pointer), in VertexAttribute()
63 relativeOffset(attrib.relativeOffset), in VertexAttribute()
64 vertexAttribArrayStride(attrib.vertexAttribArrayStride), in VertexAttribute()
65 bindingIndex(attrib.bindingIndex), in VertexAttribute()
66 mCachedElementLimit(attrib.mCachedElementLimit) in VertexAttribute()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp3 // Use of this source code is governed by a BSD-style license that can be
40 // Warning: ensure the binding matches attrib.bindingIndex before using these functions.
41 int64_t GetMaxAttributeByteOffsetForDraw(const gl::VertexAttribute &attrib, in GetMaxAttributeByteOffsetForDraw() argument
45 CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in GetMaxAttributeByteOffsetForDraw()
46 CheckedNumeric<int64_t> offset = ComputeVertexAttributeOffset(attrib, binding); in GetMaxAttributeByteOffsetForDraw()
47 CheckedNumeric<int64_t> size = ComputeVertexAttributeTypeSize(attrib); in GetMaxAttributeByteOffsetForDraw()
52 stride * (CheckedNumeric<int64_t>(elementCount) - 1) + size + offset; in GetMaxAttributeByteOffsetForDraw()
56 // Warning: ensure the binding matches attrib.bindingIndex before using these functions.
57 int ElementsInBuffer(const gl::VertexAttribute &attrib, in ElementsInBuffer() argument
62 angle::CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in ElementsInBuffer()
[all …]
DVertexBuffer.cpp3 // Use of this source code is governed by a BSD-style license that can be
49 mRefCount--; in release()
59 : mFactory(factory), mVertexBuffer(factory->createVertexBuffer()), mDynamic(dynamic) in VertexBufferInterface()
66 mVertexBuffer->release(); in ~VertexBufferInterface()
74 return mVertexBuffer->getSerial(); in getSerial()
80 return mVertexBuffer->getBufferSize(); in getBufferSize()
86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize()
88 return mVertexBuffer->initialize(context, size, mDynamic); in setBufferSize()
91 return mVertexBuffer->setBufferSize(context, size); in setBufferSize()
95 const gl::VertexAttribute &attrib, in getSpaceRequired() argument
[all …]
/external/mesa3d/src/panfrost/compiler/
Dbifrost_isa.py62 if cond.attrib.get('alias', False) and not aliased:
65 if 'left' in cond.attrib:
66 return [cond.tag, cond.attrib['left'], cond.attrib['right']]
71 return [int(obj.attrib['mask'], 0), int(obj.attrib['exact'], 0)]
77 loc = [int(deriv.attrib['start']), int(deriv.attrib['size'])]
92 if mod.attrib.get('pseudo', False) and not include_pseudo:
95 name = mod.attrib['name']
96 start = mod.attrib.get('start', None)
97 size = int(mod.attrib['size'])
105 assert('opt' in mod.attrib)
[all …]
/external/fonttools/Lib/fontTools/svgLib/path/
Dshapes.py25 # https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform
49 path = self.paths[-1]
54 self.paths[-1] = path
102 x1 = float(line.attrib.get("x1", 0))
103 y1 = float(line.attrib.get("y1", 0))
104 x2 = float(line.attrib.get("x2", 0))
105 y2 = float(line.attrib.get("y2", 0))
112 x = float(rect.attrib.get("x", 0))
113 y = float(rect.attrib.get("y", 0))
114 w = float(rect.attrib.get("width"))
[all …]
/external/mesa3d/src/compiler/isaspec/
Disa.py39 For a leaf node, the mask should be (1 << size) - 1
60 if 'pos' in field.attrib:
61 assert('low' not in field.attrib)
62 assert('high' not in field.attrib)
63 low = int(field.attrib['pos'])
66 low = int(field.attrib['low'])
67 high = int(field.attrib['high'])
73 mask = ((1 << (1 + high - low)) - 1) << low
77 …assert (len(patstr) == (1 + high - low)), "Invalid {} length in {}: {}..{}".format(xml.tag, name, …
99 return name.lower().replace('#', '__').replace('-', '_').replace('.', '_')
[all …]
/external/llvm-libc/src/__support/threads/linux/
Dthread.cpp1 //===--- Implementation of a Linux thread class -----------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
68 if (lhs > SIZE_MAX - rhs) in add_no_overflow()
70 if (rhs > SIZE_MAX - lhs) in add_no_overflow()
76 auto vp_or_err = add_no_overflow(v, EXEC_PAGESIZE - 1); in round_to_page()
80 return vp_or_err.value() & -EXEC_PAGESIZE; in round_to_page()
93 // future-proof. in alloc_stack()
99 -1, // Not backed by any file in alloc_stack()
102 if (mmap_result < 0 && (uintptr_t(mmap_result) >= UINTPTR_MAX - size)) in alloc_stack()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c4 * Copyright 2007-2008 VMware, Inc.
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
60 * #---0---#---1---#
64 * #---2---#---3---#
76 * #---+---#
106 * da'dx = (dadx - dwdx*a)*oow
107 * da'dy = (dady - dwdy*a)*oow
109 * Ironically, this actually makes things slower -- probably because the
121 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) in attrib_name() argument
123 if (attrib == 0) in attrib_name()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DSysIconUtils.cpp39 pMalloc->Free(pidl); in GetIconIndexForCSIDL()
40 pMalloc->Release(); in GetIconIndexForCSIDL()
53 typedef DWORD_PTR (WINAPI * Func_SHGetFileInfoW)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, …
67 static DWORD_PTR My_SHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInf… in My_SHGetFileInfoW() argument
76 (pszPath, attrib, psfi, cbFileInfo, uFlags); in My_SHGetFileInfoW()
79 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex) in GetRealIconIndex() argument
85 const DWORD_PTR res = ::SHGetFileInfo(fs2fas(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
94 … const DWORD_PTR res = ::My_SHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
102 DWORD_PTR GetRealIconIndex(const UString &fileName, DWORD attrib, int &iconIndex, UString *typeName)
109 …DWORD_PTR res = ::SHGetFileInfoA(GetSystemString(fileName), FILE_ATTRIBUTE_NORMAL | attrib, &shell…
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
60 * have a couple of slots at the beginning (1-dword header, 4-dword
66 const struct vertex_info *vinfo = &i915->current.vertex_info.draw; in emit_hw_vertex()
70 assert(!i915->dirty); in emit_hw_vertex()
72 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex()
73 const uint32_t j = vinfo->attrib[i].src_index; in emit_hw_vertex()
74 const float *attrib = vertex->data[j]; in emit_hw_vertex() local
75 switch (vinfo->attrib[i].emit) { in emit_hw_vertex()
77 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
81 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_context.c2 * Mesa 3-D graphics library
4 * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
57 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, in init_array() argument
60 memset(attrib, 0, sizeof(*attrib)); in init_array()
62 vbo_set_vertex_format(&attrib->Format, size, GL_FLOAT); in init_array()
63 attrib->Stride = 0; in init_array()
64 attrib->Ptr = pointer; in init_array()
69 * Set up the vbo->currval arrays to point at the context's current
84 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_legacy_currval() local
86 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), in init_legacy_currval()
[all …]
/external/deqp/framework/egl/
DegluCallLogWrapper.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
133 // Config attrib pointer formatter
138 uint32_t attrib; member in eglu::ConfigAttribValuePointerFmt
140 … ConfigAttribValuePointerFmt(uint32_t attrib_, const int *value_) : attrib(attrib_), value(value_) in ConfigAttribValuePointerFmt()
145 inline ConfigAttribValuePointerFmt getConfigAttribValuePointerStr(uint32_t attrib, const int *value) in getConfigAttribValuePointerStr() argument
147 return ConfigAttribValuePointerFmt(attrib, value); in getConfigAttribValuePointerStr()
153 return str << getConfigAttribValueStr(fmt.attrib, *fmt.value); in operator <<()
[all …]
DegluStrUtil.cpp1 /*-------------------------------------------------------------------------
3 * ------------------------------------------
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
156 int attrib = fmt.attribs[pos]; in operator <<() local
161 if (attrib == EGL_NONE) in operator <<()
168 const char *attribName = getConfigAttribName(attrib); in operator <<()
173 str << attribName << ", " << getConfigAttribValueStr(attrib, fmt.attribs[pos + 1]); in operator <<()
179 str << tcu::toHex(attrib) << ", ???"; in operator <<()
196 int attrib = fmt.attribs[pos]; in operator <<() local
[all …]
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py21 - read and write designspace files
42 # ElementTree allows to find namespace-prefixed elements, but not attributes
199 The default document reader will not fill-in this attribute, and the
261 """bool. Indicates if the non-interpolating font.info needs
332 def getFullDesignLocation(self, doc: "DesignSpaceDocument") -> SimpleLocationDict:
355 r1.conditionSets.append([dict(name="weight", minimum=-10, maximum=10), dict(...)])
361 <!-- optional: list of substitution rules -->
384 - Each conditionset is a list of conditions.
385 - Each condition is a dict with ``name``, ``minimum`` and ``maximum`` keys.
391 - Each substitution is stored as tuples of glyphnames, e.g. ("a", "a.alt").
[all …]
/external/mesa3d/src/intel/genxml/
Dintel_genxml.py3 # SPDX-License-Identifier: MIT
23 def get_filename(element: et.Element) -> str:
24 return element.attrib['filename']
26 def get_name(element: et.Element) -> str:
27 return element.attrib['name']
29 def get_value(element: et.Element) -> int:
30 return int(element.attrib['value'], 0)
32 def get_start(element: et.Element) -> int:
33 return int(element.attrib['start'], 0)
49 def is_base_type(name: str) -> bool:
[all …]
/external/mesa3d/src/vulkan/util/
Dvk_extensions.py25 name = ext_elem.attrib['name']
26 number = int(ext_elem.attrib['number'])
27 supported = get_api_list(ext_elem.attrib['supported'])
37 if enum_elem.attrib['name'].endswith('_SPEC_VERSION'):
39 if 'value' in enum_elem.attrib:
41 version = int(enum_elem.attrib['value'])
45 ext.type = ext_elem.attrib['type']
46 ext.platform = ext_elem.attrib.get('platform', None)
47 ext.provisional = ext_elem.attrib.get('provisional', False)
112 for substring in re.split('(KHR|EXT|[0-9]+)', ext.name):
[all …]
Dgen_enum_to_str.py55 /* Autogenerated file -- do not edit
117 switch((int)item->sType) {
149 /* Autogenerated file -- do not edit
197 /* Autogenerated file -- do not edit
278 """Simple struct-like class representing extensions"""
287 return (s[:1] + re.sub(r'(?<![A-Z])([A-Z])', r'_\1', s[1:])).upper()
293 last_prefix = max_enum_name.rsplit('_', 1)[-1]
296 max_enum_name = "_".join(max_enum_name.split('_')[:-1])
304 """Simple struct-like class representing a single Vulkan Enum."""
319 assert re.search(r'FlagBits[A-Z]*$', self.name)
[all …]
/external/deqp/framework/qphelper/
DqpXmlWriter.h3 /*-------------------------------------------------------------------------
5 * -------------------------------------------
13 * http://www.apache.org/licenses/LICENSE-2.0
24 *//*--------------------------------------------------------------------*/
54 qpXmlAttribute attrib; in qpSetStringAttrib() local
55 attrib.name = name; in qpSetStringAttrib()
56 attrib.type = QP_XML_ATTRIBUTE_STRING; in qpSetStringAttrib()
57 attrib.stringValue = value; in qpSetStringAttrib()
58 attrib.intValue = -678; in qpSetStringAttrib()
59 attrib.boolValue = (bool)0xFFFFFFFFu; in qpSetStringAttrib()
[all …]

12345678910>>...33