Searched defs:mipmap (Results 1 - 25 of 26) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/common/
H A Dmeta_generate_mipmap.c41 #include "main/mipmap.h"
61 struct gen_mipmap_state *mipmap = &ctx->Meta->Mipmap; local
104 if (mipmap->fb == NULL) {
105 mipmap->fb = ctx->Driver.NewFramebuffer(ctx, 0xDEADBEEF);
106 if (mipmap->fb == NULL) {
113 _mesa_meta_framebuffer_texture_image(ctx, mipmap->fb,
116 status = _mesa_check_framebuffer_status(ctx, mipmap->fb);
128 struct gen_mipmap_state *mipmap)
130 if (mipmap->VAO == 0)
132 _mesa_DeleteVertexArrays(1, &mipmap
127 _mesa_meta_glsl_generate_mipmap_cleanup(struct gl_context *ctx, struct gen_mipmap_state *mipmap) argument
150 struct gen_mipmap_state *mipmap = &ctx->Meta->Mipmap; local
[all...]
/external/skia/tests/
H A DSkResourceCacheTest.cpp49 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode, local
51 REPORTER_ASSERT(reporter, nullptr == mipmap);
53 mipmap = SkMipMapCache::AddAndRef(src, colorMode, cache);
54 REPORTER_ASSERT(reporter, mipmap);
60 REPORTER_ASSERT(reporter, mm == mipmap);
64 check_data(reporter, mipmap, 2, kInCache, kLocked);
66 mipmap->unref();
69 check_data(reporter, mipmap, 1, kInCache, kNotLocked);
72 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode, cache);
73 check_data(reporter, mipmap,
94 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, colorMode, cache); local
[all...]
/external/skqp/tests/
H A DSkResourceCacheTest.cpp49 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode, local
51 REPORTER_ASSERT(reporter, nullptr == mipmap);
53 mipmap = SkMipMapCache::AddAndRef(src, colorMode, cache);
54 REPORTER_ASSERT(reporter, mipmap);
60 REPORTER_ASSERT(reporter, mm == mipmap);
64 check_data(reporter, mipmap, 2, kInCache, kLocked);
66 mipmap->unref();
69 check_data(reporter, mipmap, 1, kInCache, kNotLocked);
72 mipmap = SkMipMapCache::FindAndRef(SkBitmapCacheDesc::Make(src), colorMode, cache);
73 check_data(reporter, mipmap,
94 const SkMipMap* mipmap = SkMipMapCache::FindAndRef(desc, colorMode, cache); local
[all...]
/external/skia/src/core/
H A DSkBitmapCache.cpp364 const char* getCategory() const override { return "mipmap"; }
411 SkMipMap* mipmap = SkMipMap::Build(src, colorMode, get_fact(localCache)); local
412 if (mipmap) {
414 colorMode, mipmap);
418 return mipmap;
H A DSkMipMap.cpp125 // OpenGL expects a full mipmap stack to contain anisotropic space as well.
590 SkMipMap* mipmap; local
596 mipmap = new SkMipMap(storageSize, dm);
598 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize);
602 mipmap->fCS = sk_ref_sp(src.info().colorSpace());
603 mipmap->fCount = countLevels;
604 mipmap->fLevels = (Level*)mipmap->writable_data();
605 SkASSERT(mipmap->fLevels);
607 Level* levels = mipmap
[all...]
/external/skqp/src/core/
H A DSkBitmapCache.cpp364 const char* getCategory() const override { return "mipmap"; }
411 SkMipMap* mipmap = SkMipMap::Build(src, colorMode, get_fact(localCache)); local
412 if (mipmap) {
414 colorMode, mipmap);
418 return mipmap;
H A DSkMipMap.cpp124 // OpenGL expects a full mipmap stack to contain anisotropic space as well.
589 SkMipMap* mipmap; local
595 mipmap = new SkMipMap(storageSize, dm);
597 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize);
601 mipmap->fCS = sk_ref_sp(src.info().colorSpace());
602 mipmap->fCount = countLevels;
603 mipmap->fLevels = (Level*)mipmap->writable_data();
604 SkASSERT(mipmap->fLevels);
606 Level* levels = mipmap
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_manager.c515 struct pipe_resource *tex, boolean mipmap)
512 st_context_teximage(struct st_context_iface *stctxi, enum st_texture_type tex_type, int level, enum pipe_format pipe_format, struct pipe_resource *tex, boolean mipmap) argument
/external/swiftshader/src/Renderer/
H A DSampler.cpp42 Mipmap &mipmap = texture.mipmap[level]; local
44 memset(&mipmap, 0, sizeof(Mipmap));
48 mipmap.buffer[face] = &zero;
119 Mipmap &mipmap = texture.mipmap[level]; local
122 mipmap.buffer[face] = surface->lockInternal(-border, -border, 0, LOCK_UNLOCKED, PRIVATE);
160 mipmap.fWidth[0] = (float)width / 65536.0f;
161 mipmap.fWidth[1] = (float)width / 65536.0f;
162 mipmap
[all...]
H A DSampler.hpp45 Mipmap mipmap[MIPMAP_LEVELS]; member in struct:sw::Texture
H A DRenderer.hpp120 Texture mipmap[TOTAL_IMAGE_UNITS]; member in struct:sw::DrawData
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c1142 int format, int target, int mipmap)
1183 b->TextureMipmap = mipmap;
1529 FALSE /* no mipmap */);
1140 XMesaCreatePixmapTextureBuffer(XMesaVisual v, Pixmap p, Colormap cmap, int format, int target, int mipmap) argument
H A Dglx_api.c1951 int target = 0, format = 0, mipmap = 0; local
1988 mipmap = 1;
2010 if (mipmap) {
2039 if (format || target || mipmap) {
2041 b = XMesaCreatePixmapTextureBuffer(v, pixmap, 0, format, target, mipmap);
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_api.c1075 int format, int target, int mipmap)
1118 b->TextureMipmap = mipmap;
1073 XMesaCreatePixmapTextureBuffer(XMesaVisual v, XMesaPixmap p, XMesaColormap cmap, int format, int target, int mipmap) argument
H A Dfakeglx.c2017 int target = 0, format = 0, mipmap = 0; local
2054 mipmap = 1;
2076 if (mipmap) {
2105 if (format || target || mipmap) {
2107 b = XMesaCreatePixmapTextureBuffer(v, pixmap, 0, format, target, mipmap);
/external/swiftshader/src/Shader/
H A DSamplerCore.cpp513 Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) * sizeof(Mipmap); local
514 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i);
515 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i);
516 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i);
533 Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Float &lod) argument
535 Short4 offset = *Pointer<Short4>(mipmap + halfOffset);
750 Pointer<Byte> mipmap; local
753 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD);
757 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap);
944 Pointer<Byte> mipmap; local
1220 Pointer<Byte> mipmap; local
1288 Pointer<Byte> mipmap; local
1659 computeIndices(UInt index[4], Short4 uuuu, Short4 vvvv, Short4 wwww, Vector4f &offset, const Pointer<Byte> &mipmap, SamplerFunction function) argument
1733 computeIndices(UInt index[4], Int4& uuuu, Int4& vvvv, Int4& wwww, const Pointer<Byte> &mipmap, SamplerFunction function) argument
2009 sampleTexel(Short4 &uuuu, Short4 &vvvv, Short4 &wwww, Vector4f &offset, Pointer<Byte> &mipmap, Pointer<Byte> buffer[4], SamplerFunction function) argument
2118 sampleTexel(Int4 &uuuu, Int4 &vvvv, Int4 &wwww, Float4 &z, Pointer<Byte> &mipmap, Pointer<Byte> buffer[4], SamplerFunction function) argument
2238 selectMipmap(Pointer<Byte> &texture, Pointer<Byte> buffer[4], Pointer<Byte> &mipmap, Float &lod, Int face[4], bool secondLOD) argument
2299 address(Float4 &uw, AddressingMode addressingMode, Pointer<Byte> &mipmap) argument
2341 address(Float4 &uvw, Int4 &xyz0, Int4 &xyz1, Float4 &f, Pointer<Byte> &mipmap, Float4 &texOffset, Int4 &filter, int whd, AddressingMode addressingMode, SamplerFunction function) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c971 * Given the logbase2 of a mipmap's base level size and a mipmap level,
972 * return the size (in texels) of that mipmap level.
2026 * Compute nearest mipmap level from texcoords.
3627 float mipmap[TGSI_QUAD_SIZE],
3649 mipmap[i] = 0.0f;
3670 funcs->relative_level(sp_sview, sp_samp, lod, mipmap);
3619 sp_tgsi_query_lod(const struct tgsi_sampler *tgsi_sampler, const unsigned sview_index, const unsigned sampler_index, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], const enum tgsi_sampler_control control, float mipmap[TGSI_QUAD_SIZE], float lod[TGSI_QUAD_SIZE]) argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
H A DR.java435 public static final class mipmap { class in class:R
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_types.h1546 * is a surface ID as well as face/mipmap indices.
1554 uint32 mipmap; member in struct:SVGA3dSurfaceImageId
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 606 milliseconds

12