Searched refs:gl_texture_ (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/compute/example/ |
D | mandelbrot.cpp | 94 GLuint gl_texture_; member in MandelbrotWidget 101 gl_texture_ = 0; in MandelbrotWidget() 140 if(gl_texture_){ in resizeGL() 141 glDeleteTextures(1, &gl_texture_); in resizeGL() 142 gl_texture_ = 0; in resizeGL() 146 glGenTextures(1, &gl_texture_); in resizeGL() 147 glBindTexture(GL_TEXTURE_2D, gl_texture_); in resizeGL() 158 context_, GL_TEXTURE_2D, 0, gl_texture_, CL_MEM_WRITE_ONLY in resizeGL() 195 glBindTexture(GL_TEXTURE_2D, gl_texture_); in paintGL()
|
D | resize_image.cpp | 78 GLuint gl_texture_; member in ImageWidget 86 gl_texture_ = 0; in ImageWidget() 140 if(gl_texture_){ in resizeGL() 141 glDeleteTextures(1, &gl_texture_); in resizeGL() 142 gl_texture_ = 0; in resizeGL() 146 glGenTextures(1, &gl_texture_); in resizeGL() 147 glBindTexture(GL_TEXTURE_2D, gl_texture_); in resizeGL() 158 context_, GL_TEXTURE_2D, 0, gl_texture_, CL_MEM_WRITE_ONLY in resizeGL() 198 glBindTexture(GL_TEXTURE_2D, gl_texture_); in paintGL()
|