/external/skia/tools/gpu/gl/angle/ |
GLTestContext_angle.cpp | 93 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 275 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { 284 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>((uint64_t)texID); 306 GrGLuint texID; 307 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); 308 if (!texID) { 311 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); 313 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 318 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 321 return texID; [all...] |
/external/skia/tools/gpu/gl/egl/ |
CreatePlatformGLTestContext_egl.cpp | 57 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 242 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { 248 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>(texID); 270 GrGLuint texID; 271 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); 272 if (!texID) { 275 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); 277 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 282 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 285 return texID; [all...] |
/external/skqp/tools/gpu/gl/angle/ |
GLTestContext_angle.cpp | 93 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 275 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { 284 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>((uint64_t)texID); 306 GrGLuint texID; 307 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); 308 if (!texID) { 311 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); 313 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 318 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 321 return texID; [all...] |
/external/skqp/tools/gpu/gl/egl/ |
CreatePlatformGLTestContext_egl.cpp | 57 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 242 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { 248 GrEGLClientBuffer clientBuffer = reinterpret_cast<GrEGLClientBuffer>(texID); 270 GrGLuint texID; 271 GR_GL_CALL(this->gl(), GenTextures(1, &texID)); 272 if (!texID) { 275 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); 277 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 282 GR_GL_CALL(this->gl(), DeleteTextures(1, &texID)); 285 return texID; [all...] |
/external/skia/src/gpu/ |
GrAHardwareBufferUtils.cpp | 162 GLCleanupHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display) 163 : fTexID(texID) 206 GrGLuint texID; 207 glGenTextures(1, &texID); 208 if (!texID) { 215 glBindTexture(target, texID); 219 glDeleteTextures(1, &texID); 226 glDeleteTextures(1, &texID); 233 textureInfo.fID = texID; 239 *deleteCtx = new GLCleanupHelper(texID, image, display) [all...] |
/external/skqp/src/gpu/ |
GrAHardwareBufferImageGenerator.cpp | 347 GLCleanupHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display) 348 : fTexID(texID) 390 GrGLuint texID; 391 glGenTextures(1, &texID); 392 if (!texID) { 396 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texID); 400 glDeleteTextures(1, &texID); 407 glDeleteTextures(1, &texID); 414 textureInfo.fID = texID; 420 *deleteCtx = new GLCleanupHelper(texID, image, display) [all...] |
/external/skia/src/gpu/gl/ |
GrGLGpu.cpp | [all...] |
/external/skqp/src/gpu/gl/ |
GrGLGpu.cpp | [all...] |