Home
last modified time | relevance | path

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

1234567

/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.cpp299 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 …]
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.cpp167 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 …]
Des3fTextureSizeTests.cpp129 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/
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/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.cpp299 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()
Des2fTextureFormatTests.cpp151 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()
Des2fTextureSizeTests.cpp128 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/
Des31fTextureFilteringTests.cpp375 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()
Des31fNegativeBufferApiTests.cpp1380 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/
Di915_texstate.c204 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/
Dradeon_tex.c178 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/
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/common/
Dmeta_tex_subimage.c275 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/
Dblit.c168 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()
Dtexobj.h136 (sampler->MagFilter != GL_NEAREST || in _mesa_is_texture_complete()
137 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()

1234567