/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 | 299 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 612 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 878 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 1120 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 1189 { "nearest", GL_NEAREST }, in init() 1203 { "nearest", GL_NEAREST }, in init() 1296 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1323 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1347 bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 1412 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 | 167 const deUint32 minFilter = GL_NEAREST; in iterate() 168 const deUint32 magFilter = GL_NEAREST; in iterate() 381 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 382 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace() 538 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testLayer() 539 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testLayer() 691 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testSlice() 692 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testSlice() 834 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in iterate() 835 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate() [all …]
|
D | es3fTextureSizeTests.cpp | 129 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in iterate() 130 deUint32 magFilter = GL_NEAREST; in iterate() 272 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in testFace() 273 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/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 | 299 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 585 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 643 { "nearest", GL_NEAREST }, in init() 657 { "nearest", GL_NEAREST }, in init() 707 …bool isMipmap = minFilterModes[minFilter].mode != GL_NEAREST && minFilterModes[minFilter].mode !=… in init() 710 bool isMagNearest = magFilterModes[magFilter].mode == GL_NEAREST; in init() 763 …bool isMipmap = minFilterModes[minFilter].mode != GL_NEAREST && minFilterModes[minFilter].mode !=… in init() 766 bool isMagNearest = magFilterModes[magFilter].mode == GL_NEAREST; in init()
|
D | es2fTextureFormatTests.cpp | 151 const deUint32 minFilter = GL_NEAREST; in iterate() 152 const deUint32 magFilter = GL_NEAREST; in iterate() 351 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 352 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace() 470 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in iterate() 471 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate() 585 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testFace() 586 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testFace()
|
D | es2fTextureSizeTests.cpp | 128 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in iterate() 129 deUint32 magFilter = GL_NEAREST; in iterate() 271 deUint32 minFilter = m_useMipmaps ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST; in testFace() 272 deUint32 magFilter = GL_NEAREST; in testFace()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 375 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() 446 { "nearest", GL_NEAREST }, in init() 460 { "nearest", GL_NEAREST }, in init() 513 const bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 543 const bool isMipmap = minFilter != GL_NEAREST && minFilter != GL_LINEAR; in init() 603 const deUint32 filter = isLinear ? GL_LINEAR : GL_NEAREST; in init()
|
D | es31fNegativeBufferApiTests.cpp | 1380 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 1, GL_NEAREST); in blit_framebuffer() 1404 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1410 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1419 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_COLOR_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1438 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_DEPTH_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1440 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, GL_STENCIL_BUFFER_BIT, GL_NEAREST); in blit_framebuffer() 1447 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1454 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1461 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() 1468 ctx.glBlitFramebuffer (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST); in blit_framebuffer() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 204 case GL_NEAREST: in i915_update_tex_unit() 242 case GL_NEAREST: in i915_update_tex_unit() 309 (sampler->MinFilter != GL_NEAREST || in i915_update_tex_unit() 310 sampler->MagFilter != GL_NEAREST) && in i915_update_tex_unit()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 178 case GL_NEAREST: in radeonSetTexFilter() 194 case GL_NEAREST: in radeonSetTexFilter() 215 case GL_NEAREST: in radeonSetTexFilter() 233 case GL_NEAREST: in radeonSetTexFilter()
|
/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/common/ |
D | meta_tex_subimage.c | 275 GL_COLOR_BUFFER_BIT, GL_NEAREST)) in _mesa_meta_pbo_TexSubImage() 290 GL_COLOR_BUFFER_BIT, GL_NEAREST); in _mesa_meta_pbo_TexSubImage() 438 GL_COLOR_BUFFER_BIT, GL_NEAREST)) in _mesa_meta_pbo_GetTexSubImage() 474 GL_COLOR_BUFFER_BIT, GL_NEAREST); in _mesa_meta_pbo_GetTexSubImage()
|
/external/mesa3d/src/mesa/main/ |
D | blit.c | 168 case GL_NEAREST: in is_valid_blit_filter() 236 && filter != GL_NEAREST) { in _mesa_blit_framebuffer() 306 if (filter != GL_NEAREST) { in _mesa_blit_framebuffer() 468 (filter == GL_NEAREST || filter == GL_LINEAR)) { in _mesa_blit_framebuffer()
|
D | texobj.h | 136 (sampler->MagFilter != GL_NEAREST || in _mesa_is_texture_complete() 137 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()
|