/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_depth_state.c | 52 unsigned int lod; local 103 lod = irb ? irb->mt_level - irb->mt->first_level : 0; 136 lod << 2); 170 hiz_mt->level[lod].level_x, 171 hiz_mt->level[lod].level_y); 200 stencil_mt->level[lod].level_y * stencil_mt->pitch + 201 stencil_mt->level[lod].level_x * 64; 205 stencil_mt->level[lod].level_x, 206 stencil_mt->level[lod].level_y);
|
gen7_misc_state.c | 49 unsigned int lod; local 95 lod = irb ? irb->mt_level - irb->mt->first_level : 0; 127 lod);
|
gen8_depth_state.c | 49 uint32_t lod, 78 OUT_BATCH(((width - 1) << 4) | ((height - 1) << 18) | lod); 163 unsigned int lod; local 213 lod = irb ? irb->mt_level - irb->mt->first_level : 0; 223 hiz, width, height, depth, lod, min_array_element); 414 /* If we're operating on LOD 0, align to 8x4 to meet the alignment
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
basetexture9.h | 53 DWORD lod; member in struct:NineBaseTexture9::__anon30200 117 DBG_FLAG(DBG_BASETEXTURE, "This=%p dirty=%i dirty_mip=%i lod=%u/%u\n", 118 This, This->managed.dirty, This->dirty_mip, This->managed.lod, This->managed.lod_resident); 120 (This->managed.dirty || This->managed.lod != This->managed.lod_resident))
|
/frameworks/rs/cpu_ref/ |
rsCpuCoreRuntime.h | 34 uint32_t lod; member in struct:RsLaunchDimensions
|
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 54 unsigned int lod : 2; member in struct:_Key::__anon15780 68 if(((iospec.key_io.lod == G_B) &&
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cSparseTexture2Tests.hpp | 233 std::string lod; member in struct:gl4cts::SparseTexture2LookupTestCase::TokenStringsExt
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifier.hpp | 49 float lod; member in struct:vkt::texture::SampleArguments
|
vktTextureFilteringTests.cpp | 503 tcu::Vec2 lod; member in struct:vkt::texture::__anon17996::Texture2DArrayFilteringTestInstance::FilterCase 514 , lod (lod_) 627 log << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offset = " << curCase.offset << TestLog::EndMessage; 630 const float lodX = curCase.lod.x(); 631 const float lodY = curCase.lod.y(); 708 tcu::Vec3 lod; member in struct:vkt::texture::__anon17996::Texture3DFilteringTestInstance::FilterCase 718 , lod (lod_) 811 log << TestLog::Message << "Approximate lod per axis = " << curCase.lod << ", offset = " << curCase.offset << TestLog::EndMessage [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.c | 1133 GLfloat texcoord[4], color[4], lod; local [all...] |
/frameworks/rs/ |
rsAllocation.h | 91 } lod[android::renderscript::Allocation::MAX_LOD]; member in struct:android::renderscript::Allocation::Hal::DrvState 132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 191 void * getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, 195 uint32_t z = 0, uint32_t lod = 0, 199 uint8_t * p = (uint8_t *) mHal.drvState.lod[lod].mallocPtr [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrImageQueryTests.cpp | 113 expr = "textureSize(u_image, lod)"; 128 spec.inputs.push_back(Symbol("lod", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); 433 const deUint32 lod = 0u; local 435 const void* inputs[] = { &lod }; 640 const tcu::LodPrecision lodPrec (16, 4); // Pretty lax since we are not verifying LOD precision 776 addTestGroup(group, "lod", "OpImageQueryLod", populateQueryGroup, QUERY_TYPE_IMAGE_LOD);
|
/frameworks/base/libs/hwui/ |
SkiaCanvasProxy.cpp | 464 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &matrix); local 467 SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height()).get(),
|
/frameworks/rs/rsov/driver/ |
rsovAllocation.cpp | 44 state->lod[1].dimX = state->lod[0].dimX / 2; 45 state->lod[1].dimY = state->lod[0].dimY / 2; 46 state->lod[2].dimX = state->lod[0].dimX / 2; 47 state->lod[2].dimY = state->lod[0].dimY / 2; 54 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16) 363 int lod = 1; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineSamplerTests.cpp | 600 float lod; member in struct:vkt::pipeline::__anon17762::TestCaseConfig 605 { "equal_min_3_max_3", "minLod = 3, maxLod = 3, mipLodBias = 0, lod = 0", 3.0f, 3.0f, 0.0f, 0.0f }, 606 { "select_min_1", "minLod = 1, maxLod = 5, mipLodBias = 0, lod = 0", 1.0f, 5.0f, 0.0f, 0.0f }, 607 { "select_max_4", "minLod = 0, maxLod = 4, mipLodBias = 0, lod = 5", 0.0f, 4.0f, 0.0f, 5.0f }, 608 { "select_bias_2_1", "minLod = 0, maxLod = 2.1, mipLodBias = 5.0, lod = 0", 0.0f, 2.1f, 5.0f, 0.0f }, 609 { "select_bias_2_5", "minLod = 0, maxLod = 5, mipLodBias = 2.5, lod = 0", 0.0f, 5.0f, 2.5f, 0.00001f }, 610 { "select_bias_3_1", "minLod = 0, maxLod = 5, mipLodBias = -0.9, lod = 4.0", 0.0f, 5.0f, -0.9f, 4.0f }, 611 { "select_bias_3_7", "minLod = 0, maxLod = 5, mipLodBias = 3.0, lod = 0.7", 0.0f, 5.0f, 3.0f, 0.7f }, 614 MovePtr<tcu::TestCaseGroup> samplerLodTests (new tcu::TestCaseGroup(testCtx, "lod", "Tests for sampler LOD")); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesShaderIntrinsicsSampled.cpp | 359 << "OpMemberName %type_uniformblock 0 \"lod\"\n" 496 src << resultVariable << " = OpImageSparseSampleExplicitLod " << resultType << " " << image << " " << coord << " Lod " << miplevel << "\n"; 786 deUint32 lod; member in struct:vkt::sparse::PushConstants [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 615 float lod = 0.0f; local 617 tcu::Vec4 color = m_texture.sample(tcu::Sampler(tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::LINEAR, tcu::Sampler::LINEAR), t, s, lod); [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_tex.c | 171 /* only single src, the lod: */ 308 replace_gradient_with_lod(nir_builder *b, nir_ssa_def *lod, nir_tex_instr *tex) 311 * we replace ddx/ddy with lod. 340 txl->src[src_num].src = nir_src_for_ssa(lod); 362 /* Use textureSize() to get the width and height of LOD 0 */ 406 * Step 3: compute LOD. At this point we have the derivatives of the 407 * texture coordinates normalized to [-1,1]. We take the LOD to be 488 /* size has textureSize() of LOD 0 */ 491 /* lod = -1.0 + 0.5 * log2(L * L * M); */ 492 nir_ssa_def *lod local 550 nir_ssa_def *lod = nir_flog2(b, rho); local [all...] |
/external/skia/src/core/ |
SkDevice.cpp | 132 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); local 133 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(),
|
/external/skqp/src/core/ |
SkDevice.cpp | 131 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); local 132 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(),
|
/frameworks/rs/driver/ |
rsdAllocation.cpp | 88 uint32_t lod, RsAllocationCubemapFace face) { 89 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 91 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 92 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 99 uint32_t xoff, uint32_t yoff, uint32_t lod, 879 int lod = 1; local [all...] |
/frameworks/rs/driver/runtime/ |
rs_structs.h | 69 } lod[16/*android::renderscript::Allocation::MAX_LOD*/]; member in struct:Allocation::__anon46692::DrvState
|
/libcore/ojluni/src/main/java/java/time/format/ |
Parsed.java | 416 long lod = fieldValues.remove(MILLI_OF_DAY); local 418 MILLI_OF_DAY.checkValidValue(lod); 420 updateCheckConflict(MILLI_OF_DAY, SECOND_OF_DAY, lod / 1_000); 421 updateCheckConflict(MILLI_OF_DAY, MILLI_OF_SECOND, lod % 1_000);
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemShaderImageAccessTests.cpp | 338 frag << " const highp int lod = 0;\n"; 339 frag << " o_color = texelFetch(u_sampler, ivec2(v_texCoord), lod);\n"; 412 comp << " const highp int lod = 0;\n"; 413 comp << " ${COLOR_VEC_TYPE} color = texelFetch(u_sampler, ivec2(gx, gy), lod);\n"; 1403 const float lod = 0.0f; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderTextureFunctionTests.cpp | 86 // Bias or Lod for *Lod* functions 164 float lod; member in struct:deqp::gles2::Functional::__anon18341::TexLookupParams 169 : lod (0.0f) 187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 192 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; [all...] |