Home
last modified time | relevance | path

Searched refs:GL_NEAREST (Results 1 – 25 of 136) sorted by relevance

123456

/external/deqp/modules/gles3/functional/
Des3fSamplerObjectTests.cpp64 { 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 …]
Des3fFboColorbufferTests.cpp264 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 …]
Des3fTextureFilteringTests.cpp298 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 …]
Des3fFboDepthbufferTests.cpp183 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()
Des3fFramebufferBlitTests.cpp127 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 …]
Des3fTextureFormatTests.cpp166 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 …]
Des3fTextureSizeTests.cpp127 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/
Des3pTextureFilteringTests.cpp68 { "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()
Des3pTextureCountTests.cpp75 deUint32 minFilter = GL_NEAREST; in init()
76 deUint32 magFilter = GL_NEAREST; in init()
Des3pTextureFormatTests.cpp113 deUint32 minFilter = GL_NEAREST; in init()
114 deUint32 magFilter = GL_NEAREST; in init()
/external/deqp/modules/gles2/performance/
Des2pTextureFilteringTests.cpp67 { "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()
Des2pTextureFormatTests.cpp74 deUint32 minFilter = GL_NEAREST; in init()
75 deUint32 magFilter = GL_NEAREST; in init()
Des2pTextureCountTests.cpp74 deUint32 minFilter = GL_NEAREST; in init()
75 deUint32 magFilter = GL_NEAREST; in init()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c51 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()
Dbrw_wm_sampler_state.c176 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/
Di915_texstate.c200 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/
Des2fTextureCompletenessTests.cpp280 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 …]
Des2fTextureFilteringTests.cpp298 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()
Des2fTextureFormatTests.cpp149 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()
Des2fTextureSizeTests.cpp127 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/
Des31fTextureFilteringTests.cpp374 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()
Des31fNegativeBufferApiTests.cpp1390 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/
Dtexobj.h98 (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/
Dtexturetest.cc64 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/
Dradeon_tex.c181 case GL_NEAREST: in radeonSetTexFilter()
197 case GL_NEAREST: in radeonSetTexFilter()
218 case GL_NEAREST: in radeonSetTexFilter()
236 case GL_NEAREST: in radeonSetTexFilter()

123456