Home
last modified time | relevance | path

Searched refs:mipmaps (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/
DrsType.cpp199 p.mipmaps = stream->loadU8(); in createFromStream()
238 if (t->getDimLOD() != params->mipmaps) continue; in getTypeRef()
265 nt->mDimLOD = params->mipmaps; in getTypeRef()
302 p.mipmaps = getDimLOD(); in cloneAndResize1D()
314 p.mipmaps = getDimLOD(); in cloneAndResize2D()
363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
371 p.mipmaps = mipmaps; in rsi_TypeCreate()
DrsScriptC_Lib.cpp340 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, in rsrTypeCreate() argument
342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
346 RsAllocationMipmapControl mipmaps, in rsrAllocationCreateTyped() argument
348 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr); in rsrAllocationCreateTyped()
Drs_compat.spec4 param RsAllocationMipmapControl mipmaps
DrsAllocation.cpp740 RsAllocationMipmapControl mipmaps, in rsi_AllocationCreateTyped() argument
742 …alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps, (void*)ptr); in rsi_AllocationCreateTyped()
751 RsAllocationMipmapControl mipmaps, in rsi_AllocationCreateStrided() argument
754 …ion * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, mipmaps, in rsi_AllocationCreateStrided()
764 RsAllocationMipmapControl mipmaps, in rsi_AllocationCreateFromBitmap() argument
768 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCreateFromBitmap()
777 if (mipmaps == RS_ALLOCATION_MIPMAP_FULL) { in rsi_AllocationCreateFromBitmap()
786 RsAllocationMipmapControl mipmaps, in rsi_AllocationCubeCreateFromBitmap() argument
793 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCubeCreateFromBitmap()
815 if (mipmaps == RS_ALLOCATION_MIPMAP_FULL) { in rsi_AllocationCubeCreateFromBitmap()
Drs.spec44 param bool mipmaps
59 param RsAllocationMipmapControl mipmaps
68 param RsAllocationMipmapControl mipmaps
77 param RsAllocationMipmapControl mipmaps
DrsApiStubs.cpp314 bool mipmaps, bool faces, uint32_t yuv) in rsTypeCreate() argument
316 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsTypeCreate()
332 …ion rsAllocationCreateTyped (RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, in rsAllocationCreateTyped() argument
335 return RS_DISPATCH(ctxWrapper, AllocationCreateTyped, vtype, mipmaps, usages, ptr); in rsAllocationCreateTyped()
338 …sAllocationCreateFromBitmap (RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, in rsAllocationCreateFromBitmap() argument
341 …return RS_DISPATCH(ctxWrapper, AllocationCreateFromBitmap, vtype, mipmaps, data, data_length, usag… in rsAllocationCreateFromBitmap()
344 …ocationCubeCreateFromBitmap (RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, in rsAllocationCubeCreateFromBitmap() argument
347 …return RS_DISPATCH(ctxWrapper, AllocationCubeCreateFromBitmap, vtype, mipmaps, data, data_length, … in rsAllocationCubeCreateFromBitmap()
DrsApiStubs.h54 …text rsc, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint…
59 …ationCreateTyped (RsContext rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages,…
60 …CreateFromBitmap (RsContext rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void * dat…
61 …CreateFromBitmap (RsContext rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void * dat…
DrsRuntime.h166 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
170 RsAllocationMipmapControl mipmaps,
DrsInternalDefines.h218 bool mipmaps; member
DrsHidlAdaptation.cpp409 uint32_t dimY, uint32_t dimZ, bool mipmaps, in TypeCreate() argument
414 … uint64_t type = GetIContextHandle(context)->typeCreate(_element, dimX, dimY, dimZ, mipmaps, faces, in TypeCreate()
420 RsAllocationMipmapControl mipmaps, in AllocationCreateTyped() argument
427 (AllocationMipmapControl)mipmaps, usages, _ptr); in AllocationCreateTyped()
433 RsAllocationMipmapControl mipmaps, in AllocationCreateFromBitmap() argument
442 (AllocationMipmapControl)mipmaps, _bitmap, usages); in AllocationCreateFromBitmap()
447 RsAllocationMipmapControl mipmaps, in AllocationCubeCreateFromBitmap() argument
455 …context)->allocationCubeCreateFromBitmap(_type, (AllocationMipmapControl)mipmaps, _bitmap, usages); in AllocationCubeCreateFromBitmap()
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp263 uint32_t dimZ, bool mipmaps, in CreateType() argument
293 if (mipmaps) { in CreateType()
307 if (mipmaps && dimY < 1) { in CreateType()
316 if (dimZ != 0 || dimY == 0 || faces || mipmaps) { in CreateType()
322 Type *type = (Type *) rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, in CreateType()
337 RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, in CreateAllocation() argument
356 mipmaps, usages, in CreateAllocation()
390 uint32_t dimZ, bool mipmaps, bool faces, in rsCreateType() argument
393 dimY, dimZ, mipmaps, faces, in rsCreateType()
399 rs_allocation_mipmap_control mipmaps, in rsCreateAllocation() argument
[all …]
/frameworks/rs/cpp/
DAllocation.cpp425 RsAllocationMipmapControl mipmaps, uint32_t usage) { in createTyped() argument
428 … id = RS::dispatch->AllocationCreateTyped(rs->getContext(), type->getID(), mipmaps, usage, 0); in createTyped()
438 RsAllocationMipmapControl mipmaps, uint32_t usage, in createTyped() argument
442 id = RS::dispatch->AllocationCreateTyped(rs->getContext(), type->getID(), mipmaps, usage, in createTyped()
DrsCppStructs.h847 RsAllocationMipmapControl mipmaps, uint32_t usage);
860 … RsAllocationMipmapControl mipmaps, uint32_t usage, void * pointer);
/frameworks/rs/script_api/
Drs_allocation_create.spec82 arg: bool mipmaps, "Flag indicating if the Type has a mipmap chain"
97 mipmaps indicates the presence of level of detail (LOD).
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript360 // yuv_format with mipmaps or cubemap is invalid
366 // mipmaps with 1D or 3D is invalid
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript362 // yuv_format with mipmaps or cubemap is invalid
368 // mipmaps with 1D or 3D is invalid
/frameworks/rs/driver/runtime/
Drs_allocation.c418 bool mipmaps, bool faces, rs_yuv_format yuv_format);
421 rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages,
/frameworks/base/tools/aapt/
DResource.cpp1331 sp<ResourceTypeSet> mipmaps; in buildResources() local
1369 !applyFileOverlay(bundle, assets, &mipmaps, "mipmap")) { in buildResources()
1389 if (mipmaps != NULL) { in buildResources()
1391 err = preProcessImages(bundle, assets, mipmaps, "mipmap"); in buildResources()
1394 err = makeFileResources(bundle, assets, &table, mipmaps, "mipmap"); in buildResources()
1632 if (mipmaps != NULL) { in buildResources()
1633 ResourceDirIterator it(mipmaps, String8("mipmap")); in buildResources()
/frameworks/rs/script_api/include/
Drs_allocation_create.rsh91 * mipmaps indicates the presence of level of detail (LOD).
102 * mipmaps: Flag indicating if the Type has a mipmap chain
108 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps,
Drs_object_info.rsh90 * for mipmaps.
Drs_for_each.rsh344 * for mipmaps. See rsGetDimX() for an explanation of the context.