Home
last modified time | relevance | path

Searched refs:textureID (Results 1 – 21 of 21) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fFboStateQueryTests.cpp89 GLuint textureID = 0; in test() local
90 glGenTextures(1, &textureID); in test()
91 glBindTexture(GL_TEXTURE_2D, textureID); in test()
95 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
99 …ttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, textureID); in test()
102 glDeleteTextures(1, &textureID); in test()
145 GLuint textureID = 0; in test() local
147 glGenTextures(1, &textureID); in test()
148 glBindTexture(GL_TEXTURE_2D, textureID); in test()
152 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboStateQueryTests.cpp237 GLuint textureID = 0; in test() local
238 glGenTextures(1, &textureID); in test()
239 glBindTexture(GL_TEXTURE_2D, textureID); in test()
243 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test()
247 …ttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, textureID); in test()
250 glDeleteTextures(1, &textureID); in test()
293 GLuint textureID = 0; in test() local
294 glGenTextures(1, &textureID); in test()
295 glBindTexture(GL_TEXTURE_2D, textureID); in test()
299 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, mipmapLevel… in test()
[all …]
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp162 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
163 stateManager->bindTexture(gl::TextureType::Rectangle, textureID); in bindTexImage()
175 if (IsError(initializeAlphaChannel(context, textureID))) in bindTexImage()
/external/angle/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp189 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
200 mTextureHandle = mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, textureID, in bindTexImage()
218 mTextureID = textureID; in bindTexImage()
DD3DTextureSurfaceWGL.cpp414 GLuint textureID = textureGL->getTextureID(); in bindTexImage() local
417 mDeviceHandle, mObject, textureID, GL_TEXTURE_2D, WGL_ACCESS_READ_WRITE_NV); in bindTexImage()
/external/skia/src/gpu/gl/
DGrGLTexture.h44 GrGLuint textureID() const { return fID; } in textureID() function
DGrGLTexture.cpp173 texture_id.appendU32(this->textureID()); in dumpMemoryStatistics()
DGrGLGpu.cpp828 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onWritePixels()
872 this->bindTextureToScratchUnit(glTex->target(), glTex->textureID()); in onTransferPixelsTo()
1361 GL_CALL(ClearTexImage(tex->textureID(), i, externalFormat, externalType, in onCreateTexture()
1381 this->bindTextureToScratchUnit(texDesc.fTarget, tex->textureID()); in onCreateTexture()
2613 GrGpuResource::UniqueID textureID = texture->uniqueID(); in bindTexture() local
2615 if (fHWTextureUnitBindings[unitIdx].boundID(target) != textureID) { in bindTexture()
2617 GL_CALL(BindTexture(target, texture->textureID())); in bindTexture()
2618 fHWTextureUnitBindings[unitIdx].setBoundID(target, textureID); in bindTexture()
2813 void GrGLGpu::bindTextureToScratchUnit(GrGLenum target, GrGLint textureID) { in bindTextureToScratchUnit() argument
2823 GL_CALL(BindTexture(target, textureID)); in bindTextureToScratchUnit()
[all …]
DGrGLRenderTarget.cpp203 glTex->target(), glTex->textureID(), in ensureDynamicMSAAAttachment()
DGrGLGpu.h417 void bindTextureToScratchUnit(GrGLenum target, GrGLint textureID);
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm179 GLuint textureID = textureGL->getTextureID();
180 stateManager->bindTexture(gl::TextureType::_2D, textureID);
196 if (IsError(initializeAlphaChannel(context, textureID)))
222 mBoundTextureID = textureID;
/external/deqp/modules/glshared/
DglsTextureStateQueryTests.cpp1617 GLuint textureID = 0; in test() local
1619 gl.glGenTextures(1, &textureID); in test()
1620 gl.glBindTexture(m_target, textureID); in test()
1633 gl.glDeleteTextures(1, &textureID); in test()
1641 GLuint textureID = 0; in test() local
1643 gl.glGenTextures(1, &textureID); in test()
1644 gl.glBindTexture(m_target, textureID); in test()
1659 gl.glDeleteTextures(1, &textureID); in test()
1686 GLuint textureID = 0; in test() local
1688 gl.glGenTextures(1, &textureID); in test()
[all …]
/external/skqp/src/gpu/gl/
DGrGLTexture.h106 GrGLuint textureID() const { return fID; } in textureID() function
DGrGLTexture.cpp159 texture_id.appendU32(this->textureID()); in dumpMemoryStatistics()
DGrGLGpu.cpp797 GL_CALL(BindTexture(glTex->target(), glTex->textureID())); in onWritePixels()
868 GL_CALL(BindTexture(glTex->target(), glTex->textureID())); in onTransferPixels()
1603 GL_CALL(ClearTexImage(tex->textureID(), 0, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, &kZero)); in onCreateTexture()
2957 GrGpuResource::UniqueID textureID = texture->uniqueID(); in bindTexture() local
2959 if (fHWBoundTextureUniqueIDs[unitIdx] != textureID) { in bindTexture()
2961 GL_CALL(BindTexture(target, texture->textureID())); in bindTexture()
2962 fHWBoundTextureUniqueIDs[unitIdx] = textureID; in bindTexture()
3190 GrGLuint texID = texture->textureID(); in bindSurfaceFBOForPixelOps()
3701 GL_CALL(BindTexture(dstTex->target(), dstTex->textureID())); in copySurfaceAsCopyTexSubImage()
3788 GL_CALL(BindTexture(target, glTex->textureID())); in onRegenerateMipMapLevels()
[all …]
DGrGLCreateNullInterface.cpp431 GrGLuint textureID, GrGLint level) override { in framebufferTexture2D() argument
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp259 GLuint textureID = 0; in drawTestPattern() local
276 gl.genTextures(1, &textureID); in drawTestPattern()
277 gl.bindTexture(GL_TEXTURE_2D, textureID); in drawTestPattern()
301 if (textureID) in drawTestPattern()
302 gl.deleteTextures(1, &textureID); in drawTestPattern()
/external/skqp/src/utils/
DSkCanvasStateUtils.cpp73 int32_t textureID; member
/external/skia/src/utils/
DSkCanvasStateUtils.cpp74 int32_t textureID; member
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp267 GLuint textureID = 0; in drawTestPattern() local
284 gl.genTextures(1, &textureID); in drawTestPattern()
285 gl.bindTexture(GL_TEXTURE_2D, textureID); in drawTestPattern()
309 if (textureID) in drawTestPattern()
310 gl.deleteTextures(1, &textureID); in drawTestPattern()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp3004 gl::TextureID textureID = bindings[bindingIndex].id(); in CaptureMidExecutionSetup() local
3006 if (textureID.value != 0) in CaptureMidExecutionSetup()
3015 if (currentTextureBindings[textureType] != textureID) in CaptureMidExecutionSetup()
3017 cap(CaptureBindTexture(replayState, true, textureType, textureID)); in CaptureMidExecutionSetup()
3018 currentTextureBindings[textureType] = textureID; in CaptureMidExecutionSetup()