egl: Remove unused functions
They are left-overs from older iterations of the GPU-ISP. Signed-off-by: Robert Mader <robert.mader@collabora.com> Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Hans de Goede <johannes.goede@oss.qualcomm.com> # Thinkpad X1 Carbon G13 IPU7 ov08x40 Tested-by: Milan Zamazal <mzamazal@redhat.com> # TI AM69 Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
ab9c943971
commit
7c1527cd44
@@ -64,15 +64,6 @@ public:
|
||||
glGenFramebuffers(1, &fbo_);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Construct an eGLImage with automatic stride calculation
|
||||
*/
|
||||
eGLImage(uint32_t width, uint32_t height, uint32_t bpp, GLenum texture_unit, uint32_t texture_unit_uniform_id)
|
||||
: eGLImage(width, height, bpp, utils::alignUp(width * bpp / 8, 256),
|
||||
texture_unit, texture_unit_uniform_id)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Destroy the eGLImage
|
||||
*
|
||||
@@ -108,7 +99,6 @@ public:
|
||||
~eGL();
|
||||
|
||||
int initEGLContext(GBM *gbmContext);
|
||||
void cleanUp();
|
||||
|
||||
int createInputDMABufTexture2D(eGLImage &eglImage, int fd);
|
||||
int createOutputDMABufTexture2D(eGLImage &eglImage, int fd);
|
||||
|
||||
@@ -349,16 +349,6 @@ fail:
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Clean up EGL resources
|
||||
*
|
||||
* Destroys the EGL sync object. Must be called from the same thread
|
||||
* that created the EGL context.
|
||||
*/
|
||||
void eGL::cleanUp()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Make the EGL context current for the calling thread
|
||||
*
|
||||
|
||||
@@ -615,8 +615,6 @@ void DebayerEGL::stop()
|
||||
|
||||
if (programId_)
|
||||
glDeleteProgram(programId_);
|
||||
|
||||
egl_.cleanUp();
|
||||
}
|
||||
|
||||
SizeRange DebayerEGL::sizes(PixelFormat inputFormat, const Size &inputSize)
|
||||
|
||||
Reference in New Issue
Block a user