/external/mesa3d/src/mesa/main/ |
H A D | uniforms.c | 53 * particular texture unit. We know the sampler's texture target 54 * (1D/2D/3D/etc) from compile time but the sampler's texture unit is 59 * Each value of TexturesUsed[unit] is one of zero, TEXTURE_1D_INDEX, 74 GLuint unit = shProg->SamplerUnits[s]; local 76 assert(unit < Elements(prog->TexturesUsed)); 78 prog->TexturesUsed[unit] |= (1 << tgt);
|
/external/mesa3d/src/mesa/program/ |
H A D | prog_execute.c | 393 const GLuint unit = machine->Samplers[inst->TexSrcUnit]; local 405 lodBias, unit, color); 408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color);
|
/external/oprofile/libop/ |
H A D | op_events.c | 157 parse_error("invalid unit mask type"); 165 parse_error("invalid unit mask tag"); 174 parse_error("Missing name for unit mask"); 176 parse_error("Missing type for unit mask"); 190 parse_error("invalid unit mask entry"); 195 parse_error("invalid unit mask entry"); 218 * \t0x0 No unit mask 228 "oprofile: could not open unit mask description file %s\n", file); 246 parse_error("no unit mask name line"); 248 parse_error("oprofile: maximum unit mas 635 delete_unit_mask(struct op_unit_mask * unit) argument 672 struct op_unit_mask * unit = list_entry(pos, struct op_unit_mask, um_next); local [all...] |
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
H A D | GdiPlusPen.h | 35 Unit unit = UnitWorld;
local 38 width, unit, &nativePen);
44 Unit unit = UnitWorld;
local 47 width, unit, &nativePen);
|
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | fx_agg_driver.cpp | 149 FX_FLOAT unit = 1.f; local 151 unit = FXSYS_Div(1.0f, (pObject2Device->GetXUnit() + pObject2Device->GetYUnit()) / 2); 153 if (width < unit) { 154 width = unit;
|
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngget.c | 663 int *unit, double *width, double *height) 668 *unit = info_ptr->scal_unit; 679 int *unit, png_charpp width, png_charpp height) 684 *unit = info_ptr->scal_unit; 662 png_get_sCAL(png_structp png_ptr, png_infop info_ptr, int *unit, double *width, double *height) argument 678 png_get_sCAL_s(png_structp png_ptr, png_infop info_ptr, int *unit, png_charpp width, png_charpp height) argument
|
/external/qemu/util/ |
H A D | cutils.c | 278 static int64_t suffix_mul(char suffix, int64_t unit) argument 284 return unit; 286 return unit * unit; 288 return unit * unit * unit; 290 return unit * unit * unit * uni 305 strtosz_suffix_unit(const char *nptr, char **end, const char default_suffix, int64_t unit) argument [all...] |
/external/skia/tests/ |
H A D | MathTest.cpp | 98 static float float_blend(int src, int dst, float unit) { argument 99 return dst + (src - dst) * unit;
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | texture_manager.cc | 1364 TextureUnit& unit = state->texture_units[state->active_texture_unit]; local 1368 texture = unit.bound_texture_2d.get(); 1377 texture = unit.bound_texture_cube_map.get(); 1380 texture = unit.bound_texture_external_oes.get(); 1383 texture = unit.bound_texture_rectangle_arb.get();
|
/external/chromium_org/media/base/android/ |
H A D | media_source_player_unittest.cc | 377 AccessUnit unit; local 379 unit.status = DemuxerStream::kOk; 388 unit.data = std::vector<uint8>( 395 unit.data.insert(unit.data.end(), padding, padding + 4); 398 return unit; 496 // Preroll the decoder job to |target_timestamp|. The first access unit 517 // Send some data with access unit timestamps before the |target_timestamp|, 621 // |kConfigChanged| access unit. If |config_unit_in_prefetch| is true, sends 625 // completed). |config_unit_index| controls which access unit i [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSPrimitiveValue.cpp | 147 CSSPrimitiveValue::UnitType CSSPrimitiveValue::fromName(const String& unit) argument 150 return unitTable.get(unit.lower()); 784 // The canonical unit type is chosen according to the way BisonCSSParser::validUnit() chooses the default unit 824 // Cannot convert between unrelated unit categories if one of them is not UNumber. 829 // We interpret conversion to CSS_NUMBER as conversion to a canonical unit in this value's category.
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | compactdecimalformat.cpp | 265 const CDFUnit* unit = getCDFUnitFallback(_unitsByVariant, variant, baseIdx); local 266 appendTo += unit->prefix; 268 appendTo += unit->suffix; 778 CDFUnit* unit = createCDFUnit(variant, log10Value, result, status); local 783 unit->prefix = formatStr.tempSubString(0, firstIdx); 784 fixQuotes(unit->prefix); 786 unit->suffix = formatStr.tempSubString(lastIdx + 1); 787 fixQuotes(unit->suffix); 791 if (onlySpaces(unit->prefix) && onlySpaces(unit [all...] |
/external/chromium_org/third_party/libpng/ |
H A D | pngset.c | 365 int unit, double width, double height) 372 info_ptr->scal_unit = (png_byte)unit; 382 int unit, png_charp swidth, png_charp sheight) 391 info_ptr->scal_unit = (png_byte)unit; 394 png_debug1(3, "allocating unit for info (%u bytes)", 406 png_debug1(3, "allocating unit for info (%u bytes)", 364 png_set_sCAL(png_structp png_ptr, png_infop info_ptr, int unit, double width, double height) argument 381 png_set_sCAL_s(png_structp png_ptr, png_infop info_ptr, int unit, png_charp swidth, png_charp sheight) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 75 unsigned unit, 181 bld->gallivm, unit); 592 unsigned unit, 660 lp_build_sample_texel_soa(bld, unit, 674 unsigned unit, 755 lp_build_sample_texel_soa(bld, unit, 760 lp_build_sample_texel_soa(bld, unit, 779 lp_build_sample_texel_soa(bld, unit, 784 lp_build_sample_texel_soa(bld, unit, 805 lp_build_sample_texel_soa(bld, unit, 74 lp_build_sample_texel_soa(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef width, LLVMValueRef height, LLVMValueRef depth, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef y_stride, LLVMValueRef z_stride, LLVMValueRef data_ptr, LLVMValueRef texel_out[4]) argument 591 lp_build_sample_image_nearest(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 673 lp_build_sample_image_linear(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 860 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned unit, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef *colors_out) argument 983 lp_build_sample_common(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_ipart, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) argument 1085 lp_build_sample_general(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef lod_ipart, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef *colors_out) argument 1233 lp_build_sample_soa(struct gallivm_state *gallivm, const struct lp_sampler_static_state *static_state, struct lp_sampler_dynamic_state *dynamic_state, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef texel_out[4]) argument 1559 lp_build_size_query_soa(struct gallivm_state *gallivm, const struct lp_sampler_static_state *static_state, struct lp_sampler_dynamic_state *dynamic_state, struct lp_type int_type, unsigned unit, LLVMValueRef explicit_lod, LLVMValueRef *sizes_out) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_code.h | 184 } unit[16]; member in struct:r300_fragment_program_external_state
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | indirect_vertex_array.c | 1725 const GLint unit = (GLint) texture - GL_TEXTURE0; local 1728 if ((unit < 0) || (unit >= arrays->num_texture_units)) { 1733 arrays->active_texture_unit = unit;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_wm_surface_state.c | 571 * support for their alpha behavior and don't have the blending unit 714 unsigned unit, 720 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; 768 unsigned unit, 773 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; 777 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); 782 brw_update_buffer_texture_surface(ctx, unit, binding_table, surf_index); 1018 brw_update_null_renderbuffer_surface(struct brw_context *brw, unsigned int unit) argument 1050 6 * 4, 32, &brw->wm.surf_offset[unit]); 1103 brw->wm.surf_offset[unit] 713 brw_update_buffer_texture_surface(struct gl_context *ctx, unsigned unit, uint32_t *binding_table, unsigned surf_index) argument 767 brw_update_texture_surface(struct gl_context *ctx, unsigned unit, uint32_t *binding_table, unsigned surf_index) argument 1115 brw_update_renderbuffer_surface(struct brw_context *brw, struct gl_renderbuffer *rb, unsigned int unit) argument 1316 const unsigned unit = vs->SamplerUnits[s]; local 1327 const unsigned unit = fs->SamplerUnits[s]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_state.c | 2038 GLuint unit; 2039 for (unit = 0; unit < R200_MAX_TEXTURE_UNITS; unit++) { 2040 R200_STATECHANGE( rmesa, pix[unit] ); 2041 R200_STATECHANGE( rmesa, tex[unit] ); 2042 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT] &= 2044 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT] |= unit << R200_TXFORMAT_ST_ROUTE_SHIFT; 2047 rmesa->hw.tex[unit] 2071 GLuint unit; local 2160 int unit; local [all...] |
H A D | r200_texstate.c | 300 * Texture unit state management 303 static GLboolean r200UpdateTextureEnv( struct gl_context *ctx, int unit, int slot, GLuint replaceargs ) argument 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 322 fprintf( stderr, "%s( %p, %d )\n", __FUNCTION__, (void *)ctx, unit ); 332 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 333 (unit << R200_TXC_TFACTOR_SEL_SHIFT) | 335 alpha_scale |= ((rmesa->state.texture.unit[unit] 1070 import_tex_obj_state( r200ContextPtr rmesa, int unit, radeonTexObjPtr texobj ) argument 1101 set_texgen_matrix( r200ContextPtr rmesa, GLuint unit, const GLfloat *s_plane, const GLfloat *t_plane, const GLfloat *r_plane, const GLfloat *q_plane ) argument 1362 set_re_cntl_d3d( struct gl_context *ctx, int unit, GLboolean use_d3d ) argument 1498 r200_validate_texture(struct gl_context *ctx, struct gl_texture_object *texObj, int unit) argument 1542 r200UpdateTextureUnit(struct gl_context *ctx, int unit) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_state.c | 1823 int unit, GLboolean swapcols ) 1845 int idx = TEXMAT_0 + unit; 1848 struct gl_texture_unit tUnit = rmesa->radeon.glCtx->Texture.Unit[unit]; 1849 GLfloat *src = rmesa->tmpmat[unit].m; 1851 rmesa->TexMatColSwap &= ~(1 << unit); 1854 rmesa->TexMatColSwap |= 1 << unit; 1931 int unit; local 1936 for (unit = 0 ; unit < ctx->Const.MaxTextureUnits; unit 1822 radeonUploadTexMatrix( r100ContextPtr rmesa, int unit, GLboolean swapcols ) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | attrib.c | 630 /* texture unit enables */ 681 const struct gl_texture_unit *unit = &texstate->Texture.Unit[u]; local 685 _mesa_set_enable(ctx, GL_TEXTURE_1D, !!(unit->Enabled & TEXTURE_1D_BIT)); 686 _mesa_set_enable(ctx, GL_TEXTURE_2D, !!(unit->Enabled & TEXTURE_2D_BIT)); 687 _mesa_set_enable(ctx, GL_TEXTURE_3D, !!(unit->Enabled & TEXTURE_3D_BIT)); 690 !!(unit->Enabled & TEXTURE_CUBE_BIT)); 694 !!(unit->Enabled & TEXTURE_RECT_BIT)); 698 !!(unit->Enabled & TEXTURE_1D_ARRAY_BIT)); 700 !!(unit->Enabled & TEXTURE_2D_ARRAY_BIT)); 703 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit [all...] |
H A D | varray.c | 390 const GLuint unit = ctx->Array.ActiveTexture; local 393 update_array(ctx, "glTexCoordPointer", VERT_ATTRIB_TEX(unit),
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | nvfragparse.c | 574 GLint unit; local 584 unit = atoi((const char *) imageSrc + 3); 585 if ((unit < 0 || unit >= MAX_TEXTURE_IMAGE_UNITS) || 586 (unit == 0 && (imageSrc[3] != '0' || imageSrc[4] != 0))) { 589 *texUnit = unit; 616 RETURN_ERROR1("Only one texture target can be used per texture unit."); 1418 GLubyte unit, idx; local 1423 if (!Parse_TextureImageId(parseState, &unit, &idx)) 1425 inst->TexSrcUnit = unit; 1429 GLubyte unit, idx; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkStroke.cpp | 261 SkVector norm, unit; local 264 this->quad_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, subDivide); 265 this->quad_to(&tmp[2], norm, unit, normalBC, unitNormalBC, subDivide); 329 SkVector norm, unit, dummy, unitDummy; local 332 this->cubic_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, 336 this->cubic_to(&tmp[3], norm, unit, &dummy, &unitDummy, subDivide);
|
/external/clang/tools/libclang/ |
H A D | CXCursor.cpp | 1108 ASTUnit *unit = getCursorASTUnit(cursor); local 1111 = Result.CreateCodeCompletionString(unit->getASTContext(), 1112 unit->getPreprocessor(), 1113 unit->getCodeCompletionTUInfo().getAllocator(), 1114 unit->getCodeCompletionTUInfo(), 1122 ASTUnit *unit = getCursorASTUnit(cursor); local 1125 = Result.CreateCodeCompletionString(unit->getASTContext(), 1126 unit->getPreprocessor(), 1127 unit->getCodeCompletionTUInfo().getAllocator(), 1128 unit [all...] |