Home
last modified time | relevance | path

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

/hardware/intel/common/libva/va/glx/
Dva_glx_impl.c460 static int create_tfp_surface(VADriverContextP ctx, VASurfaceGLXP pSurfaceGLX) in create_tfp_surface() argument
463 const unsigned int width = pSurfaceGLX->width; in create_tfp_surface()
464 const unsigned int height = pSurfaceGLX->height; in create_tfp_surface()
486 pSurfaceGLX->pixmap = pixmap; in create_tfp_surface()
544 pSurfaceGLX->glx_pixmap = glx_pixmap; in create_tfp_surface()
546 glGenTextures(1, &pSurfaceGLX->pix_texture); in create_tfp_surface()
547 glBindTexture(GL_TEXTURE_2D, pSurfaceGLX->pix_texture); in create_tfp_surface()
554 static void destroy_tfp_surface(VADriverContextP ctx, VASurfaceGLXP pSurfaceGLX) in destroy_tfp_surface() argument
558 if (pSurfaceGLX->pix_texture) { in destroy_tfp_surface()
559 glDeleteTextures(1, &pSurfaceGLX->pix_texture); in destroy_tfp_surface()
[all …]