/third_party/mesa3d/src/mesa/main/ |
D | samplerobj.c | 121 sampObj->Attrib.WrapS = GL_REPEAT; in _mesa_init_sampler_object() 122 sampObj->Attrib.WrapT = GL_REPEAT; in _mesa_init_sampler_object() 123 sampObj->Attrib.WrapR = GL_REPEAT; in _mesa_init_sampler_object() 124 sampObj->Attrib.state.wrap_s = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 125 sampObj->Attrib.state.wrap_t = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 126 sampObj->Attrib.state.wrap_r = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 127 sampObj->Attrib.MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_init_sampler_object() 128 sampObj->Attrib.MagFilter = GL_LINEAR; in _mesa_init_sampler_object() 129 sampObj->Attrib.state.min_img_filter = PIPE_TEX_FILTER_NEAREST; in _mesa_init_sampler_object() 130 sampObj->Attrib.state.min_mip_filter = PIPE_TEX_MIPFILTER_LINEAR; in _mesa_init_sampler_object() [all …]
|
D | texparam.c | 280 if (texObj->Sampler.Attrib.MinFilter == params[0]) in set_tex_parameteri() 286 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri() 287 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 288 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 298 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri() 299 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 300 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 314 if (texObj->Sampler.Attrib.MagFilter == params[0]) in set_tex_parameteri() 320 texObj->Sampler.Attrib.MagFilter = params[0]; in set_tex_parameteri() 321 texObj->Sampler.Attrib.state.mag_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() [all …]
|
D | textureview.c | 493 texObj->Attrib.ImmutableLevels = levels; in _mesa_set_texture_view_state() 494 texObj->Attrib.MinLevel = 0; in _mesa_set_texture_view_state() 495 texObj->Attrib.NumLevels = levels; in _mesa_set_texture_view_state() 496 texObj->Attrib.MinLayer = 0; in _mesa_set_texture_view_state() 497 texObj->Attrib.NumLayers = 1; in _mesa_set_texture_view_state() 500 texObj->Attrib.NumLayers = texImage->Height; in _mesa_set_texture_view_state() 504 texObj->Attrib.NumLevels = 1; in _mesa_set_texture_view_state() 505 texObj->Attrib.ImmutableLevels = 1; in _mesa_set_texture_view_state() 509 texObj->Attrib.NumLevels = 1; in _mesa_set_texture_view_state() 510 texObj->Attrib.ImmutableLevels = 1; in _mesa_set_texture_view_state() [all …]
|
D | texobj.c | 77 switch (obj->Sampler.Attrib.MagFilter) { in valid_filter_for_float() 92 switch (obj->Sampler.Attrib.MinFilter) { in valid_filter_for_float() 302 obj->Attrib.Priority = 1.0F; in _mesa_initialize_texture_object() 303 obj->Attrib.BaseLevel = 0; in _mesa_initialize_texture_object() 304 obj->Attrib.MaxLevel = 1000; in _mesa_initialize_texture_object() 312 obj->Sampler.Attrib.WrapS = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 313 obj->Sampler.Attrib.WrapT = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 314 obj->Sampler.Attrib.WrapR = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 315 obj->Sampler.Attrib.MinFilter = GL_LINEAR; in _mesa_initialize_texture_object() 316 obj->Sampler.Attrib.state.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() [all …]
|
D | glthread_varray.c | 56 for (unsigned i = 0; i < ARRAY_SIZE(vao->Attrib); i++) { in _mesa_glthread_reset_vao() 61 vao->Attrib[i].ElementSize = elem_size; in _mesa_glthread_reset_vao() 62 vao->Attrib[i].RelativeOffset = 0; in _mesa_glthread_reset_vao() 63 vao->Attrib[i].BufferIndex = i; in _mesa_glthread_reset_vao() 64 vao->Attrib[i].Stride = elem_size; in _mesa_glthread_reset_vao() 65 vao->Attrib[i].Divisor = 0; in _mesa_glthread_reset_vao() 66 vao->Attrib[i].EnabledAttribCount = 0; in _mesa_glthread_reset_vao() 67 vao->Attrib[i].Pointer = NULL; in _mesa_glthread_reset_vao() 219 int attrib_count = ++vao->Attrib[binding_index].EnabledAttribCount; in enable_buffer() 230 int attrib_count = --vao->Attrib[binding_index].EnabledAttribCount; in disable_buffer() [all …]
|
D | samplerobj.h | 54 return samp->Attrib.MinFilter != GL_NEAREST && samp->Attrib.MinFilter != GL_LINEAR; in _mesa_is_mipmap_filter() 151 samp->Attrib.IsBorderColorNonZero = samp->Attrib.state.border_color.ui[0] || in _mesa_update_is_border_color_nonzero() 152 samp->Attrib.state.border_color.ui[1] || in _mesa_update_is_border_color_nonzero() 153 samp->Attrib.state.border_color.ui[2] || in _mesa_update_is_border_color_nonzero() 154 samp->Attrib.state.border_color.ui[3]; in _mesa_update_is_border_color_nonzero() 173 struct pipe_sampler_state *s = &samp->Attrib.state; in _mesa_lower_gl_clamp() 178 samp->Attrib.WrapS, clamp_to_border); in _mesa_lower_gl_clamp() 180 samp->Attrib.WrapT, clamp_to_border); in _mesa_lower_gl_clamp() 182 samp->Attrib.WrapR, clamp_to_border); in _mesa_lower_gl_clamp()
|
D | texobj.h | 121 struct gl_texture_image *img = texObj->Image[0][texObj->Attrib.BaseLevel]; in _mesa_is_texture_complete() 146 sampler->Attrib.ReductionMode == GL_WEIGHTED_AVERAGE_EXT && in _mesa_is_texture_complete() 147 (sampler->Attrib.MagFilter != GL_NEAREST || in _mesa_is_texture_complete() 148 (sampler->Attrib.MinFilter != GL_NEAREST && in _mesa_is_texture_complete() 149 sampler->Attrib.MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { in _mesa_is_texture_complete()
|
D | rastpos.c | 155 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F ); in shade_rastpos() 249 shine = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in shade_rastpos() 410 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _mesa_RasterPos() 476 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in _mesa_RasterPos() 501 ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in _mesa_RasterPos() 503 ctx->Current.Attrib[VERT_ATTRIB_COLOR1]); in _mesa_RasterPos() 511 COPY_4V(tc, ctx->Current.Attrib[VERT_ATTRIB_TEX0 + u]); in _mesa_RasterPos() 731 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in window_pos3f() 737 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F); in window_pos3f() 739 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F); in window_pos3f() [all …]
|
D | light.c | 670 GLfloat (*mat)[4] = ctx->Light.Material.Attrib; in _mesa_update_material() 776 if (memcmp(mat->Attrib[i], color, sizeof(mat->Attrib[i]))) { in _mesa_update_color_material() 777 COPY_4FV(mat->Attrib[i], color); in _mesa_update_color_material() 816 _mesa_update_color_material(ctx,ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in _mesa_ColorMaterial() 826 GLfloat (*mat)[4] = ctx->Light.Material.Attrib; in _mesa_GetMaterialfv() 878 GLfloat (*mat)[4] = ctx->Light.Material.Attrib; in _mesa_GetMaterialiv() 1229 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material() 1230 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_DIFFUSE], 0.8F, 0.8F, 0.8F, 1.0F ); in init_material() 1231 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_SPECULAR], 0.0F, 0.0F, 0.0F, 1.0F ); in init_material() 1232 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_EMISSION], 0.0F, 0.0F, 0.0F, 1.0F ); in init_material() [all …]
|
D | texturebindless.c | 547 size_t size = sizeof(samp->Attrib.state.border_color.ui); in is_sampler_border_color_valid() 560 if (!memcmp(samp->Attrib.state.border_color.f, valid_float_border_colors[0], size) || in is_sampler_border_color_valid() 561 !memcmp(samp->Attrib.state.border_color.f, valid_float_border_colors[1], size) || in is_sampler_border_color_valid() 562 !memcmp(samp->Attrib.state.border_color.f, valid_float_border_colors[2], size) || in is_sampler_border_color_valid() 563 !memcmp(samp->Attrib.state.border_color.f, valid_float_border_colors[3], size)) in is_sampler_border_color_valid() 566 if (!memcmp(samp->Attrib.state.border_color.ui, valid_integer_border_colors[0], size) || in is_sampler_border_color_valid() 567 !memcmp(samp->Attrib.state.border_color.ui, valid_integer_border_colors[1], size) || in is_sampler_border_color_valid() 568 !memcmp(samp->Attrib.state.border_color.ui, valid_integer_border_colors[2], size) || in is_sampler_border_color_valid() 569 !memcmp(samp->Attrib.state.border_color.ui, valid_integer_border_colors[3], size)) in is_sampler_border_color_valid()
|
D | glthread_draw.c | 132 unsigned binding_index = vao->Attrib[i].BufferIndex; in upload_vertices() 137 unsigned stride = vao->Attrib[binding_index].Stride; in upload_vertices() 138 unsigned instance_div = vao->Attrib[binding_index].Divisor; in upload_vertices() 139 unsigned element_size = vao->Attrib[i].ElementSize; in upload_vertices() 140 unsigned offset = vao->Attrib[i].RelativeOffset; in upload_vertices() 191 const void *ptr = vao->Attrib[binding_index].Pointer; in upload_vertices() 209 unsigned binding_index = vao->Attrib[i].BufferIndex; in upload_vertices() 216 unsigned stride = vao->Attrib[binding_index].Stride; in upload_vertices() 217 unsigned instance_div = vao->Attrib[binding_index].Divisor; in upload_vertices() 218 unsigned element_size = vao->Attrib[i].ElementSize; in upload_vertices() [all …]
|
D | genmipmap.c | 123 if (texObj->Attrib.BaseLevel >= texObj->Attrib.MaxLevel) { in generate_texture_mipmap() 139 srcImage = _mesa_select_tex_image(texObj, target, texObj->Attrib.BaseLevel); in generate_texture_mipmap()
|
/third_party/libdrm/intel/tests/ |
D | gen6-3d.batch-ref.txt | 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); … 108 0x123001ac: 0x00000000: Attrib 7-0 WrapShortest Enable [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 54 uint baseLevel = texObj->Attrib.BaseLevel; in st_generate_mipmap() 62 baseLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 72 lastLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 86 const GLboolean genSave = texObj->Attrib.GenerateMipmap; in st_generate_mipmap() 91 texObj->Attrib.GenerateMipmap = GL_TRUE; in st_generate_mipmap() 95 texObj->Attrib.GenerateMipmap = genSave; in st_generate_mipmap() 129 if (texObj->Sampler.Attrib.sRGBDecode == GL_SKIP_DECODE_EXT) in st_generate_mipmap()
|
D | st_sampler_view.c | 438 GLenum depth_mode = texObj->Attrib.DepthMode; in get_texture_format_swizzle() 459 return swizzle_swizzle(texObj->Attrib._Swizzle, tex_swizzle); in get_texture_format_swizzle() 487 unsigned ret = MIN2(texObj->Attrib.MinLevel + texObj->_MaxLevel, in last_level() 490 ret = MIN2(ret, texObj->Attrib.MinLevel + in last_level() 491 texObj->Attrib.NumLevels - 1); in last_level() 500 return MIN2(texObj->Attrib.MinLayer + in last_layer() 501 texObj->Attrib.NumLayers - 1, in last_layer() 602 templ.u.tex.first_level = texObj->Attrib.MinLevel + in st_create_texture_sampler_view_from_stobj() 603 texObj->Attrib.BaseLevel; in st_create_texture_sampler_view_from_stobj() 609 templ.u.tex.first_layer = texObj->Attrib.MinLayer; in st_create_texture_sampler_view_from_stobj() [all …]
|
D | st_atom_image.c | 114 img->u.tex.level = u->Level + stObj->Attrib.MinLevel; in st_convert_image() 125 img->u.tex.first_layer = u->_Layer + stObj->Attrib.MinLayer; in st_convert_image() 126 img->u.tex.last_layer = u->_Layer + stObj->Attrib.MinLayer; in st_convert_image() 129 img->u.tex.last_layer += stObj->Attrib.NumLayers - 1; in st_convert_image()
|
D | st_cb_texture.c | 766 if (stImage->Level > 0 || stObj->Attrib.GenerateMipmap) in allocate_full_mipmap() 776 if (stObj->Attrib.MaxLevel < MAX_TEXTURE_LEVELS && in allocate_full_mipmap() 777 stObj->Attrib.MaxLevel - stObj->Attrib.BaseLevel > 0) in allocate_full_mipmap() 785 if (stObj->Attrib.BaseLevel == 0 && stObj->Attrib.MaxLevel == 0) in allocate_full_mipmap() 788 if (stObj->Sampler.Attrib.MinFilter == GL_NEAREST || in allocate_full_mipmap() 789 stObj->Sampler.Attrib.MinFilter == GL_LINEAR) in allocate_full_mipmap() 802 if (stObj->Sampler.Attrib.MinFilter == GL_NEAREST_MIPMAP_LINEAR) in allocate_full_mipmap() 1677 ? 0 : texImage->TexObject->Attrib.MinLevel + texImage->Level; in try_pbo_upload() 1680 zoffset += texImage->Face + texImage->TexObject->Attrib.MinLayer; in try_pbo_upload() 1787 unsigned level = texImage->TexObject->Attrib.MinLevel + texImage->Level; in try_pbo_download() [all …]
|
D | st_atom_sampler.c | 66 memcpy(sampler, &msamp->Attrib.state, sizeof(*sampler)); in st_convert_sampler() 93 if (msamp->Attrib.IsBorderColorNonZero && in st_convert_sampler() 133 … msamp->Attrib.sRGBDecode == GL_SKIP_DECODE_EXT); in st_convert_sampler() 139 if (msamp->Attrib.CompareMode == GL_COMPARE_R_TO_TEXTURE) { in st_convert_sampler()
|
/third_party/lzma/CPP/Windows/ |
D | FileFind.h | 70 bool MatchesMask(UINT32 mask) const { return ((Attrib & mask) != 0); } in MatchesMask() 78 DWORD Attrib; variable 106 …void SetAsDir() { Attrib = FILE_ATTRIBUTE_DIRECTORY; } // |= (FILE_ATTRIBUTE_UNIX_EXTENSION + (S_… in SetAsDir() 107 void SetAsFile() { Attrib = 0; } in SetAsFile() 122 UInt32 GetWinAttrib() const { return Attrib; } in GetWinAttrib() 125 return NAttributes::Get_PosixMode_From_WinAttrib(Attrib); in GetPosixAttrib() 127 bool Has_Attrib_ReparsePoint() const { return (Attrib & FILE_ATTRIBUTE_REPARSE_POINT) != 0; } in Has_Attrib_ReparsePoint()
|
D | FileFind.cpp | 83 Attrib = 0; in ClearBase() 112 fi.Attrib = fd.dwFileAttributes; \ 469 Attrib = FILE_ATTRIBUTE_DIRECTORY; in Find() 534 Attrib &= ~(DWORD)(FILE_ATTRIBUTE_DIRECTORY | FILE_ATTRIBUTE_REPARSE_POINT); in Find() 588 Attrib = attrib; in Find() 606 Attrib = attrib; in Find() 644 Attrib = attrib; in Find() 679 Attrib = info.dwFileAttributes; in Fill_From_ByHandleFileInfo()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | ArchiveExtractCallback.h | 332 UInt32 Attrib; 342 return (Attrib_Defined && (Attrib & FILE_ATTRIBUTE_REPARSE_POINT) != 0); 347 return (Attrib_Defined && MY_LIN_S_ISLNK(Attrib >> 16)); 355 Attrib = MY_LIN_S_ISDIR(a) ? 359 Attrib |= FILE_ATTRIBUTE_READONLY; 363 Attrib |= (a << 16); 365 Attrib = (a << 16) | FILE_ATTRIBUTE_UNIX_EXTENSION;
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 96 value[0] = mat->Attrib[index][0]; in fetch_state() 101 COPY_4V(value, mat->Attrib[index]); in fetch_state() 150 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in fetch_state() 151 + ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_EMISSION][i]; in fetch_state() 153 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; in fetch_state() 160 * ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_AMBIENT][i] in fetch_state() 161 + ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_EMISSION][i]; in fetch_state() 163 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; in fetch_state() 184 ctx->Light.Material.Attrib[index][i]; in fetch_state() 187 value[3] = ctx->Light.Material.Attrib[index][3]; in fetch_state() [all …]
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_context.c | 85 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), in init_legacy_currval() 86 ctx->Current.Attrib[attr]); in init_legacy_currval() 101 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]); in init_generic_currval() 137 init_array(ctx, attrib, size, ctx->Light.Material.Attrib[i]); in init_mat_currval()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
D | 7zOut.h | 77 UInt32 Attrib; member 137 CUInt32DefVector Attrib; member 169 Attrib.Clear(); in Clear() 192 Attrib.ReserveDown(); in ReserveDown() 217 && Attrib.CheckSize(size) in CheckNumFiles()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | AttributeLayoutTest.cpp | 110 struct Attrib struct 183 Attrib operator()(std::shared_ptr<Container> container, in operator ()() 214 typedef std::vector<Attrib> TestCase; 218 for (const Attrib &a : tc) in PrepareTestCase() 220 for (const Attrib &a : tc) in PrepareTestCase() 222 for (const Attrib &a : tc) in PrepareTestCase() 225 for (const Attrib &a : tc) in PrepareTestCase()
|