Home
last modified time | relevance | path

Searched refs:GL_NEAREST (Results 1 – 25 of 44) 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/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.cpp126 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in GLES20RenderEngine()
127 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in GLES20RenderEngine()
306 GLenum filter = GL_NEAREST;
/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/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/base/libs/hwui/
DGlLayer.cpp65 texture.setFilter(GL_NEAREST, false, true); in setRenderTarget()
DOpenGLReadback.cpp184 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in copyTextureInto()
185 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in copyTextureInto()
DGlopBuilder.cpp464 GLenum filter = requiresFilter ? GL_LINEAR : GL_NEAREST; in setFillExternalTexture()
521 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewMapUnitToRectSnap()
548 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewOffsetRectSnap()
DTexture.cpp378 setFilter(GL_NEAREST); in upload()
/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/tests/java_api/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/utils/
DPaintUtils.h39 return GL_NEAREST; in getFilter()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp169 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); in setLinearFiltering()
189 mTexture.setFilter(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.cpp394 GL_NEAREST, //RS_SAMPLER_NEAREST, in setupSampler()
403 GL_NEAREST, //RS_SAMPLER_NEAREST, in setupSampler()
509 GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setupTextures()
511 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/cmds/bootanimation/
DBootAnimation.cpp198 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
199 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
547 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initFont()
548 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initFont()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java271 GLES20.GL_NEAREST); in initGLBuffers()
273 GLES20.GL_NEAREST); in initGLBuffers()
/frameworks/base/libs/hwui/tests/unit/
DGlopBuilderTests.cpp143 goldenGlop->fill.texture.filter = GL_NEAREST; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java202 GLES20.GL_NEAREST); in onSurfaceCreated()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java231 GLES20.GL_NEAREST); in onSurfaceCreated()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java130 int GL_NEAREST = 0x2600; field
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java297 GLES20.GL_NEAREST); in onSurfaceCreated()

12