Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/tests/
DMultiTextureConsumer_test.cpp85 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in TEST_F()
86 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in TEST_F()
93 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in TEST_F()
94 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in TEST_F()
/frameworks/base/libs/hwui/
DDither.cpp38 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in bindDitherTexture()
39 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in bindDitherTexture()
DTexture.h112 GLenum mMinFilter = GL_NEAREST;
113 GLenum mMagFilter = GL_NEAREST;
DLayerRenderer.cpp302 layer->setFilter(GL_NEAREST, false, true); in updateTextureLayer()
417 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in copyLayer()
418 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in copyLayer()
DAssetAtlas.cpp72 mTexture->setFilter(GL_NEAREST, false, true); in updateTextureId()
DLayerCache.cpp121 layer->setFilter(GL_NEAREST); in get()
DGlopBuilder.cpp503 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewMapUnitToRectSnap()
533 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewOffsetRectSnap()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp69 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in main()
70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in main()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp54 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in GLES20RenderEngine()
55 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in GLES20RenderEngine()
153 GLenum filter = GL_NEAREST; in setupLayerTexturing()
DGLES11RenderEngine.cpp49 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in GLES11RenderEngine()
50 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in GLES11RenderEngine()
179 GLenum filter = GL_NEAREST; in setupLayerTexturing()
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp132 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
133 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/native/opengl/tests/finish/
Dfinish.cpp70 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in main()
71 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in main()
/frameworks/base/libs/hwui/utils/
DPaintUtils.h44 return GL_NEAREST; in getFilter()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp224 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
225 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImage.java157 … GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); in setup()
167 … GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_NEAREST); in setup()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp172 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); in setLinearFiltering()
195 const GLenum filtering = getLinearFiltering() ? GL_LINEAR : GL_NEAREST; in allocatePixelBuffer()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp332 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
333 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp144 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setupYuvTexSurface()
146 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in setupYuvTexSurface()
/frameworks/rs/driver/
DrsdShader.cpp390 GL_NEAREST, //RS_SAMPLER_NEAREST, in setupSampler()
399 GL_NEAREST, //RS_SAMPLER_NEAREST, in setupSampler()
505 GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setupTextures()
507 GL_TEXTURE_MAG_FILTER, GL_NEAREST); in setupTextures()
/frameworks/native/cmds/flatland/
DGLHelper.cpp449 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in getDitherTexture()
450 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in getDitherTexture()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java615 clientTex.setParameter(GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_NEAREST); in grabFrame()
616 clientTex.setParameter(GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); in grabFrame()
701 texture.setParameter(GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_NEAREST); in createClientTexture()
702 texture.setParameter(GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); in createClientTexture()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java269 GLES20.GL_NEAREST); in initGLBuffers()
271 GLES20.GL_NEAREST); in initGLBuffers()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java202 GLES20.GL_NEAREST); in onSurfaceCreated()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp157 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
158 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java231 GLES20.GL_NEAREST); in onSurfaceCreated()

12