Home
last modified time | relevance | path

Searched refs:texID (Results 1 – 9 of 9) sorted by relevance

/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp57 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
242 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
248 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>(texID); in texture2DToEGLImage()
270 GrGLuint texID; in eglImageToExternalTexture() local
271 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); in eglImageToExternalTexture()
272 if (!texID) { in eglImageToExternalTexture()
275 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
277 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
282 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
285 return texID; in eglImageToExternalTexture()
/external/skqp/tools/gpu/gl/angle/
DGLTestContext_angle.cpp93 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
275 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
284 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>((uint64_t)texID); in texture2DToEGLImage()
306 GrGLuint texID; in eglImageToExternalTexture() local
307 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); in eglImageToExternalTexture()
308 if (!texID) { in eglImageToExternalTexture()
311 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
313 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
318 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
321 return texID; in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp33 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
358 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
364 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>(texID); in texture2DToEGLImage()
389 GrGLuint texID; in eglImageToExternalTexture() local
390 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); in eglImageToExternalTexture()
391 if (!texID) { in eglImageToExternalTexture()
394 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
396 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
401 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
404 return texID; in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp96 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
366 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
374 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>((uint64_t)texID); in texture2DToEGLImage()
391 GrGLuint texID; in eglImageToExternalTexture() local
392 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); in eglImageToExternalTexture()
393 if (!texID) { in eglImageToExternalTexture()
396 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
398 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
403 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); in eglImageToExternalTexture()
406 return texID; in eglImageToExternalTexture()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp162 GLTextureHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display, GrGLuint texTarget) in GLTextureHelper() argument
163 : fTexID(texID) in GLTextureHelper()
232 GrGLuint texID; in make_gl_backend_texture() local
233 glGenTextures(1, &texID); in make_gl_backend_texture()
234 if (!texID) { in make_gl_backend_texture()
241 glBindTexture(target, texID); in make_gl_backend_texture()
245 glDeleteTextures(1, &texID); in make_gl_backend_texture()
252 glDeleteTextures(1, &texID); in make_gl_backend_texture()
259 textureInfo.fID = texID; in make_gl_backend_texture()
266 *imageCtx = new GLTextureHelper(texID, image, display, target); in make_gl_backend_texture()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp347 GLCleanupHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display) in GLCleanupHelper() argument
348 : fTexID(texID) in GLCleanupHelper()
390 GrGLuint texID; in make_gl_backend_texture() local
391 glGenTextures(1, &texID); in make_gl_backend_texture()
392 if (!texID) { in make_gl_backend_texture()
396 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texID); in make_gl_backend_texture()
400 glDeleteTextures(1, &texID); in make_gl_backend_texture()
407 glDeleteTextures(1, &texID); in make_gl_backend_texture()
414 textureInfo.fID = texID; in make_gl_backend_texture()
420 *deleteCtx = new GLCleanupHelper(texID, image, display); in make_gl_backend_texture()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2913 GrGLuint texID = texture->textureID(); in bindSurfaceFBOForPixelOps() local
2925 FramebufferTexture2D(fboTarget, GR_GL_COLOR_ATTACHMENT0, target, texID, mipLevel)); in bindSurfaceFBOForPixelOps()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3190 GrGLuint texID = texture->textureID(); in bindSurfaceFBOForPixelOps() local
3203 texID, in bindSurfaceFBOForPixelOps()
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp3831 GLuint texID = 0; in preRender() local
3838 ctx.genTextures(1, &texID); in preRender()
3839 ctx.bindTexture(GL_TEXTURE_2D, texID); in preRender()