Home
last modified time | relevance | path

Searched refs:textureId (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DGlTextureFrameBuffer.java24 private int textureId; field in GlTextureFrameBuffer
61 if (textureId == 0) { in setSize()
62 textureId = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in setSize()
72 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, textureId); in setSize()
81 GLES20.GL_FRAMEBUFFER, GLES20.GL_COLOR_ATTACHMENT0, GLES20.GL_TEXTURE_2D, textureId, 0); in setSize()
107 return textureId; in getTextureId()
115 GLES20.glDeleteTextures(1, new int[] {textureId}, 0); in release()
116 textureId = 0; in release()
DGlUtil.java57 final int textureId = textureArray[0]; in generateTexture() local
58 GLES20.glBindTexture(target, textureId); in generateTexture()
64 return textureId; in generateTexture()
DRendererCommon.java48 void drawRgb(int textureId, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, in drawRgb() argument
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java55 private int textureId = -1; field in BackgroundRenderer
61 return textureId; in getTextureId()
75 textureId = textures[0]; in createOnGlThread()
77 GLES20.glBindTexture(textureTarget, textureId); in createOnGlThread()
146 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, textureId); in draw()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DHardwareVideoEncoderTest.java175 private final int textureId; field in HardwareVideoEncoderTest.MockTextureBuffer
177 public MockTextureBuffer(int textureId, int width, int height, Runnable releaseCallback) { in MockTextureBuffer() argument
179 this.textureId = textureId; in MockTextureBuffer()
189 return textureId; in getTextureId()
206 return new MockTextureBuffer(textureId, scaleWidth, scaleHeight, this ::release); in cropAndScale()
315 final int textureId = GlUtil.generateTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES); in generateTextureFrame() local
318 new MockTextureBuffer(textureId, width, height, releaseFrameCallback); in generateTextureFrame()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DProjectionRenderer.java42 && leftMesh.getSubMesh(0).textureId == Projection.SubMesh.VIDEO_TEXTURE_ID in isSupported()
44 && rightMesh.getSubMesh(0).textureId == Projection.SubMesh.VIDEO_TEXTURE_ID; in isSupported()
140 /* package */ void draw(int textureId, float[] mvpMatrix, boolean rightEye) { in draw() argument
166 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, textureId); in draw()
DSceneRenderer.java53 private int textureId; field in SceneRenderer
97 textureId = GlUtil.createExternalTexture(); in init()
98 surfaceTexture = new SurfaceTexture(textureId); in init()
133 projectionRenderer.draw(textureId, tempMatrix, rightEye); in drawFrame()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DProjection.java194 public final int textureId; field in Projection.SubMesh
202 public SubMesh(int textureId, float[] vertices, float[] textureCoords, @DrawMode int mode) { in SubMesh() argument
203 this.textureId = textureId; in SubMesh()
DProjectionDecoder.java205 int textureId = bitInput.readBits(8); in parseMesh() local
226 subMeshes[i] = new SubMesh(textureId, triangleVertices, textureCoords, drawMode); in parseMesh()
/external/angle/src/tests/gl_tests/
DMaxTextureSizeTest.cpp217 GLuint textureId = 0; in TEST_P() local
219 glGenTextures(1, &textureId); in TEST_P()
220 glBindTexture(GL_TEXTURE_2D, textureId); in TEST_P()
237 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureId, 0); in TEST_P()
279 glDeleteTextures(1, &textureId); in TEST_P()
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp80 deUint32 textureId; // id of created texture member
83 ResultData(deUint32 tId) : textureId(tId), bufferId(0) in ResultData()
87 ResultData(deUint32 tId, deUint32 bId) : textureId(tId), bufferId(bId) in ResultData()
178 deUint32 textureId; in createTextureBuffer() local
179 gl.genTextures(1, &textureId); in createTextureBuffer()
180 gl.bindTexture(GL_TEXTURE_BUFFER, textureId); in createTextureBuffer()
182 return ResultData(textureId, bufferId); in createTextureBuffer()
483 …gl.bindImageTexture(definedBinding, resultData.textureId, 0, GL_TRUE, 0, GL_READ_ONLY, m_imageForm… in iterate()
534 gl.deleteTextures(1, &resultData.textureId); in iterate()
/external/deqp/modules/gles2/functional/
Des2fTextureStateQueryTests.cpp212 GLuint textureId = 0; in test() local
213 glGenTextures(1, &textureId); in test()
214 glBindTexture(m_textureTarget, textureId); in test()
219 glDeleteTextures(1, &textureId); in test()
/external/webrtc/sdk/android/src/java/org/webrtc/
DGlGenericDrawer.java176 public void drawRgb(int textureId, float[] texMatrix, int frameWidth, int frameHeight, in drawRgb() argument
182 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, textureId); in drawRgb()
/external/angle/src/libANGLE/
DFramebufferAttachment.h92 bool isTextureWithId(TextureID textureId) const in isTextureWithId() argument
94 return mType == GL_TEXTURE && id() == textureId.value; in isTextureWithId()
DFramebuffer.cpp906 bool Framebuffer::detachTexture(const Context *context, TextureID textureId) in detachTexture() argument
908 return detachResourceById(context, GL_TEXTURE, textureId.value); in detachTexture()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.hpp210 …d::vector<glw::GLuint> getDataFromTexture(const glu::RenderContext& context, glw::GLuint textureId,
213 …glw::GLuint calcPixelSumValue(const glu::RenderContext& context, glw::GLuint textureId, tcu::IVec2…
Dgl4cTextureFilterMinmaxTests.cpp466 glw::GLuint textureId, tcu::IVec2 textureSize, in getDataFromTexture() argument
476 gl.bindTexture(GL_TEXTURE_2D, textureId); in getDataFromTexture()
485 …xtureFilterMinmaxUtils::calcPixelSumValue(const glu::RenderContext& context, glw::GLuint textureId, in calcPixelSumValue() argument
488 …std::vector<glw::GLuint> textureData = getDataFromTexture(context, textureId, textureSize, format,… in calcPixelSumValue()
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp270 GLuint textureId, in IOSurfaceFramebuffer() argument
273 : FramebufferGL(data, id, isDefault, emulatedAlpha), mTextureId(textureId) in IOSurfaceFramebuffer()
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm342 GLuint textureId,
345 : FramebufferGL(data, id, isDefault, emulatedAlpha), mTextureId(textureId)
/external/angle/src/libANGLE/renderer/gl/
DBlitGL.cpp478 GLuint textureId; in blitColorBufferWithShader() local
483 textureId = mScratchTextures[0]; in blitColorBufferWithShader()
490 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
539 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
/external/deqp/modules/glshared/
DglsTextureStateQueryTests.cpp855 glw::GLuint textureId = 0; in iterate() local
859 gl.glGenTextures(1, &textureId); in iterate()
860 gl.glBindTexture(m_target, textureId); in iterate()
863 verifyStateObjectBoolean(result, gl, textureId, true, QUERY_ISTEXTURE); in iterate()
865 gl.glDeleteTextures(1, &textureId); in iterate()
868 verifyStateObjectBoolean(result, gl, textureId, false, QUERY_ISTEXTURE); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp499 deUint32 textureId);
DvktShaderRender.cpp1343 void ShaderRenderCaseInstance::useSampler (deUint32 bindingLocation, deUint32 textureId) in useSampler() argument
1345 DE_ASSERT(textureId < m_textures.size()); in useSampler()
1347 const TextureBinding& textureBinding = *m_textures[textureId]; in useSampler()