Skip to content

Commit f2b9a34

Browse files
committed
Release 6.2.1
* GLES3.ModelInstancing and Vulkan.ModelInstancing: Added arguments to control the instance count. * Improved EGLConfig selection and improved logging. * Ensured that OpenGL ES samples clear the alpha channel correctly.
1 parent 0371636 commit f2b9a34

File tree

61 files changed

+767
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+767
-83
lines changed

DemoApps/GLES2/Bloom/source/Bloom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ namespace Fsl
376376
}
377377
else
378378
{
379-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
379+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
380380
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
381381
}
382382

DemoApps/GLES2/Bloom/source/RenderScene.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ namespace Fsl
219219
glEnable(GL_DEPTH_TEST);
220220
glEnable(GL_CULL_FACE);
221221

222-
// glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
223-
glClearColor(0, 0, 0, 0);
222+
// glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
223+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
224224
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
225225
{
226226
glUseProgram(m_program.Get());

DemoApps/GLES2/Bloom/source/WhiteRectScene.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ namespace Fsl
9191

9292
void WhiteRectScene::Draw()
9393
{
94-
glClearColor(0, 0, 0, 0);
94+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
9595
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
9696

9797

DemoApps/GLES2/DeBayer/source/DeBayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ namespace Fsl
284284
pthread_mutex_lock(&gstThreadMutex);
285285
pthread_cond_wait(&gstCON, &gstThreadMutex);
286286
{
287-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
287+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
288288
glClear(GL_COLOR_BUFFER_BIT);
289289

290290
void* logical = (void*)vYaddr;

DemoApps/GLES2/DirectMultiSamplingVideoYUV/source/DirectMultiSamplingVideoYUV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ namespace Fsl
297297
pthread_mutex_lock(&gstThreadMutex);
298298
pthread_cond_wait(&gstCON, &gstThreadMutex);
299299
{
300-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
300+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
301301
glClear(GL_COLOR_BUFFER_BIT);
302302

303303
void* logical = (void*)vYaddr;

DemoApps/GLES2/ModelLoaderBasics/source/ModelLoaderBasics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ namespace Fsl
169169
glEnable(GL_DEPTH_TEST);
170170
glEnable(GL_CULL_FACE);
171171

172-
glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
172+
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
173173
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
174174
{
175175
glUseProgram(m_resources.Program.Get());

DemoApps/GLES2/ModelViewer/source/ModelViewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ namespace Fsl
328328
glDisable(GL_CULL_FACE);
329329
}
330330

331-
glClearColor(0.5f, 0.5f, 0.5f, 0.5f);
331+
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
332332
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
333333
{
334334
glUseProgram(m_resources.Program.Get());

DemoApps/GLES2/OpenCV101/source/OpenCV101.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ namespace Fsl
116116
{
117117
FSL_PARAM_NOT_USED(frameInfo);
118118

119-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
119+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
120120
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
121121
}
122122
}

DemoApps/GLES2/System/DFGraphicsBasic2D/source/DFGraphicsBasic2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ namespace Fsl
6565
{
6666
FSL_PARAM_NOT_USED(frameInfo);
6767

68-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
68+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
6969
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
7070

7171
m_shared.Draw();

DemoApps/GLES2/System/InputEvents/source/InputEvents.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ namespace Fsl
9898
{
9999
FSL_PARAM_NOT_USED(frameInfo);
100100

101-
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
101+
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
102102
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
103103

104104
m_logger.Draw(GetWindowSizePx());

0 commit comments

Comments
 (0)