Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion framework/delibs/deutil/deProcess.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ deProcess *deProcess_create(void)
{
deProcess *process = (deProcess *)deCalloc(sizeof(deProcess));
if (!process)
return false;
return NULL;

process->state = PROCESSSTATE_NOT_STARTED;

Expand Down
10 changes: 9 additions & 1 deletion framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ using std::vector;
#define DEQP_VULKAN_LIBRARY_PATH DEQP_VULKAN_LIBRARY_BASENAME DEQP_VULKAN_LIBRARY_SUFFIX
#endif

#if !defined(DEQP_EGL_LIBRARY_PATH)
#if defined(DEQP_EGL_DIRECT_LINK)
#define DEQP_EGL_LIBRARY_PATH nullptr // Static linking on embedded - no dynamic library
#else
#define DEQP_EGL_LIBRARY_PATH "libEGL.so"
#endif
#endif

namespace tcu
{
namespace surfaceless
Expand Down Expand Up @@ -265,7 +273,7 @@ glu::RenderContext *ContextFactory::createContext(const glu::RenderConfig &confi

EglRenderContext::EglRenderContext(const glu::RenderConfig &config, const tcu::CommandLine &cmdLine,
const glu::RenderContext *sharedContext)
: m_egl("libEGL.so")
: m_egl(DEQP_EGL_LIBRARY_PATH)
, m_contextType(config.type)
, m_eglDisplay(EGL_NO_DISPLAY)
, m_eglContext(EGL_NO_CONTEXT)
Expand Down