mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 08:25:07 +03:00
qcam: viewfinder_gl: Rename YUV.vert to identity.vert
In preparation for RGB formats support, rename the identity vertex shader from YUV.vert to identity.vert. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Andrey Konovalov <andrey.konovalov@linaro.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
99f72137e5
commit
dfadca6356
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
/*
|
||||
* Copyright (C) 2020, Linaro
|
||||
*
|
||||
* YUV.vert - Vertex shader for YUV to RGB conversion
|
||||
* identity.vert - Identity vertex shader for pixel format conversion
|
||||
*/
|
||||
|
||||
attribute vec4 vertexIn;
|
|
@ -1,9 +1,9 @@
|
|||
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>YUV.vert</file>
|
||||
<file>YUV_2_planes.frag</file>
|
||||
<file>YUV_3_planes.frag</file>
|
||||
<file>YUV_packed.frag</file>
|
||||
<file>identity.vert</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -191,7 +191,7 @@ bool ViewFinderGL::createVertexShader()
|
|||
vertexShader_ = std::make_unique<QOpenGLShader>(QOpenGLShader::Vertex, this);
|
||||
|
||||
/* Compile the vertex shader */
|
||||
if (!vertexShader_->compileSourceFile(":YUV.vert")) {
|
||||
if (!vertexShader_->compileSourceFile(":identity.vert")) {
|
||||
qWarning() << "[ViewFinderGL]:" << vertexShader_->log();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue