/external/deqp/modules/gles3/functional/ |
D | es3fSamplerObjectTests.cpp | 64 { GL_NEAREST, GL_NEAREST, GL_MIRRORED_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f }, in init() 65 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f } in init() 68 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_MIRRORED_REPEAT, GL_REPEAT, -1000.0f, 1000.0f }, in init() 69 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f } in init() 72 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_MIRRORED_REPEAT, -1000.0f, 1000.0f }, in init() 73 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f } in init() 76 { GL_LINEAR, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f }, in init() 77 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f } in init() 80 { GL_NEAREST, GL_LINEAR, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f }, in init() 81 { GL_NEAREST, GL_NEAREST, GL_REPEAT, GL_REPEAT, GL_REPEAT, -1000.0f, 1000.0f } in init() [all …]
|
D | es3fFboColorbufferTests.cpp | 264 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 265 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 389 …glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 390 …glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 519 …glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 520 …glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, isFilterable ? GL_LINEAR : GL_NEAREST); in render() 643 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 644 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 853 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 854 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() [all …]
|
D | es3fTextureFilteringTests.cpp | 298 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 611 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 877 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 1119 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 1188 { "nearest", GL_NEAREST }, in init() 1202 { "nearest", GL_NEAREST }, in init() 1295 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1322 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1346 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1411 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() [all …]
|
D | es3fFboDepthbufferTests.cpp | 183 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 184 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 269 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 270 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render()
|
D | es3fFramebufferBlitTests.cpp | 127 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 128 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) in BlitNearestFilterConsistencyCase() 417 …uffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT, GL_NEAREST); in render() 560 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 561 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 573 …rcRect.w(), m_dstRect.x(), m_dstRect.y(), m_dstRect.z(), m_dstRect.w(), m_copyBuffers, GL_NEAREST); in render() 811 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render() 812 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render() 990 …rectGroup->addChild(new BlitRectCase(m_context, (name + "_nearest").c_str(), "", GL_NEAREST, srcSi… in init() [all …]
|
D | es3fTextureFormatTests.cpp | 166 const deUint32 minFilter = GL_NEAREST; in iterate() 167 const deUint32 magFilter = GL_NEAREST; in iterate() 380 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 381 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace() 537 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testLayer() 538 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testLayer() 690 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testSlice() 691 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testSlice() 833 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in iterate() 834 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate() [all …]
|
D | es3fTextureSizeTests.cpp | 127 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in iterate() 128 deUint32 magFilter = GL_NEAREST; in iterate() 270 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in testFace() 271 deUint32 magFilter = GL_NEAREST; in testFace()
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureFilteringTests.cpp | 68 { "nearest", GL_NEAREST, true }, in init() 69 { "nearest", GL_NEAREST, false }, in init() 87 deUint32 magFilter = (minFilter == GL_NEAREST || minFilter == GL_LINEAR) ? minFilter : GL_LINEAR; in init()
|
D | es3pTextureCountTests.cpp | 75 deUint32 minFilter = GL_NEAREST; in init() 76 deUint32 magFilter = GL_NEAREST; in init()
|
D | es3pTextureFormatTests.cpp | 113 deUint32 minFilter = GL_NEAREST; in init() 114 deUint32 magFilter = GL_NEAREST; in init()
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureFilteringTests.cpp | 67 { "nearest", GL_NEAREST, true }, in init() 68 { "nearest", GL_NEAREST, false }, in init() 87 deUint32 magFilter = (minFilter == GL_NEAREST || minFilter == GL_LINEAR) ? minFilter : GL_LINEAR; in init()
|
D | es2pTextureFormatTests.cpp | 74 deUint32 minFilter = GL_NEAREST; in init() 75 deUint32 magFilter = GL_NEAREST; in init()
|
D | es2pTextureCountTests.cpp | 74 deUint32 minFilter = GL_NEAREST; in init() 75 deUint32 magFilter = GL_NEAREST; in init()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_sampler_state.c | 51 case GL_NEAREST: in gen7_update_sampler_state() 92 case GL_NEAREST: in gen7_update_sampler_state() 116 (gl_sampler->MinFilter != GL_NEAREST || in gen7_update_sampler_state() 117 gl_sampler->MagFilter != GL_NEAREST)) { in gen7_update_sampler_state()
|
D | brw_wm_sampler_state.c | 176 case GL_NEAREST: in brw_update_sampler_state() 218 case GL_NEAREST: in brw_update_sampler_state() 246 (gl_sampler->MinFilter != GL_NEAREST || in brw_update_sampler_state() 247 gl_sampler->MagFilter != GL_NEAREST)) { in brw_update_sampler_state()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 200 case GL_NEAREST: in i915_update_tex_unit() 238 case GL_NEAREST: in i915_update_tex_unit() 305 (sampler->MinFilter != GL_NEAREST || in i915_update_tex_unit() 306 sampler->MagFilter != GL_NEAREST) && in i915_update_tex_unit()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureCompletenessTests.cpp | 280 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 349 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 402 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 459 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in createTexture() 460 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 508 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 558 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 612 glTexParameteri (GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 684 glTexParameteri (GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() 753 glTexParameteri (GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createTexture() [all …]
|
D | es2fTextureFilteringTests.cpp | 298 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 584 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 642 { "nearest", GL_NEAREST }, in init() 656 { "nearest", GL_NEAREST }, in init() 706 …bool isMipmap = minFilterModes[minFilter].mode != GL_NEAREST && minFilterModes[minFilter].mode !=… in init() 709 bool isMagNearest = magFilterModes[magFilter].mode == GL_NEAREST; in init() 762 …bool isMipmap = minFilterModes[minFilter].mode != GL_NEAREST && minFilterModes[minFilter].mode !=… in init() 765 bool isMagNearest = magFilterModes[magFilter].mode == GL_NEAREST; in init()
|
D | es2fTextureFormatTests.cpp | 149 const deUint32 minFilter = GL_NEAREST; in iterate() 150 const deUint32 magFilter = GL_NEAREST; in iterate() 349 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 350 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace() 468 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in iterate() 469 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate() 583 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 584 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace()
|
D | es2fTextureSizeTests.cpp | 127 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in iterate() 128 deUint32 magFilter = GL_NEAREST; in iterate() 270 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in testFace() 271 deUint32 magFilter = GL_NEAREST; in testFace()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 374 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 445 { "nearest", GL_NEAREST }, in init() 459 { "nearest", GL_NEAREST }, in init() 512 const bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 542 const bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 602 const deUint32 filter = isLinear ? GL_LINEAR : GL_NEAREST; in init()
|
D | es31fNegativeBufferApiTests.cpp | 1390 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 1, GL_NEAREST); in blit_framebuffer() 1414 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1420 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1429 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1448 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_DEPTH_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1450 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_STENCIL_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1457 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1464 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1471 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1478 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texobj.h | 98 (sampler->MagFilter != GL_NEAREST || in _mesa_is_texture_complete() 99 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()
|
/external/autotest/client/deps/glbench/src/ |
D | texturetest.cc | 64 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in Run() 65 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in Run()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 181 case GL_NEAREST: in radeonSetTexFilter() 197 case GL_NEAREST: in radeonSetTexFilter() 218 case GL_NEAREST: in radeonSetTexFilter() 236 case GL_NEAREST: in radeonSetTexFilter()
|