Searched refs:GLHelper (Results 1 – 3 of 3) sorted by relevance
70 private final FloatBuffer mVertexBuffer = GLHelper.createFloatBuffer(FRAME_COORDS);71 private final FloatBuffer mTexBuffer = GLHelper.createFloatBuffer(TEXTURE_COORDS);72 private final FloatBuffer mInvertedTexBuffer = GLHelper.createFloatBuffer(123 mHorizontalBlurProgram = GLHelper.createProgram(mVertexShader, mHorizontalBlurShader); in BlurTextureProgram()124 mVerticalBlurProgram = GLHelper.createProgram(mVertexShader, mVerticalBlurShader); in BlurTextureProgram()166 mFrameBufferId = GLHelper.createAndBindFramebuffer(mFrameBuffer); in render()170 mFirstPassTextureId = GLHelper.createAndBindTextureObject(mFirstPassTextureBuffer, in render()203 GLHelper.checkGlErrors("glTexImage2D"); in setupTextureForFramebuffer()206 GLHelper.checkGlErrors("glFramebufferTexture2D"); in setupTextureForFramebuffer()214 GLHelper.checkGlErrors("glDeleteTextures"); in deleteFramebufferTexture()[all …]
72 mVertexShader = GLHelper.getShaderFromRaw(context, R.raw.vertex_shader); in BlurredSurfaceRenderer()73 mHorizontalBlurShader = GLHelper.getShaderFromRaw(context, in BlurredSurfaceRenderer()75 mVerticalBlurShader = GLHelper.getShaderFromRaw(context, in BlurredSurfaceRenderer()87 mScreenshotTextureId = GLHelper.createAndBindTextureObject(mScreenshotTextureBuffer, in onSurfaceCreated()177 GLHelper.checkGlErrors("glDeleteTextures"); in deleteScreenshotTexture()
41 public class GLHelper { class43 private static final String TAG = CarLog.tagFor(GLHelper.class);