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/opengl/tests/gl_jni/jni/
Dgl_code.cpp137 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
138 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/native/opengl/tests/finish/
Dfinish.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/base/libs/hwui/
DGlLayer.cpp64 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.cpp459 GLenum filter = requiresFilter ? GL_LINEAR : GL_NEAREST; in setFillExternalTexture()
515 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewMapUnitToRectSnap()
543 mOutGlop->fill.texture.filter = GL_NEAREST; in setModelViewOffsetRectSnap()
DTexture.cpp376 setFilter(GL_NEAREST); in upload()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp220 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
221 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DTexture2dProgram.java180 GLES20.GL_NEAREST); in createTextureObject()
182 (mTextureTarget == GLES20.GL_TEXTURE_2D) ? GLES20.GL_NEAREST : GLES20.GL_LINEAR); in createTextureObject()
/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/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp128 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in GLES20RenderEngine()
129 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in GLES20RenderEngine()
247 GLenum filter = GL_NEAREST; in setupLayerTexturing()
/frameworks/base/libs/hwui/utils/
DPaintUtils.h38 return GL_NEAREST; in getFilter()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp172 mTexture.setFilter(linearFiltering ? GL_LINEAR : GL_NEAREST); in setLinearFiltering()
192 mTexture.setFilter(getLinearFiltering() ? GL_LINEAR : GL_NEAREST); in allocatePixelBuffer()
/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/opengl/tests/gl_basic/
Dgl_basic.cpp330 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create_texture()
331 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create_texture()
/frameworks/native/cmds/flatland/
DGLHelper.cpp435 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in getDitherTexture()
436 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in getDitherTexture()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp185 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
186 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
539 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initFont()
540 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initFont()
/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/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/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java297 GLES20.GL_NEAREST); in onSurfaceCreated()

12