Eunki, Hong [Tue, 7 Mar 2023 17:47:13 +0000 (02:47 +0900)]
Reset array of uniform buffer only required
Previously, we reset 64 x sizeof(UniformBufferBindingDescriptor) everytimes.
for each BindUniformBuffer commands.
It is useless job for standalone case. So move initialize process
only required.
Change-Id: I294d481cb32bec544aa2be864d08fd35322acaec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Tue, 7 Mar 2023 17:00:19 +0000 (17:00 +0000)]
Resetting the index buffer binding cache after binding VAO (seems like an NVIDIA bug causing crash)
Change-Id: Ieb46fff4a9a41c3cdeda6e3ec04cef409938a18a
Adeel Kazmi [Tue, 7 Mar 2023 10:40:48 +0000 (10:40 +0000)]
Merge "Fix typo error at ArrayBuffer bind" into devel/master
Eunki, Hong [Tue, 7 Mar 2023 08:19:35 +0000 (17:19 +0900)]
Allow to add listner if target actor is not scene on
Change-Id: I6724a7a31f3ffbb1cacb4738536c980769aec4b8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 6 Mar 2023 17:52:49 +0000 (02:52 +0900)]
Fix typo error at ArrayBuffer bind
Previously, we don't consider glBindBuffer for
GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER.
I think this is kind of typo error. So fix it.
Change-Id: I813b90633cc769d23c32150194cea9fe25d30c0e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Fri, 3 Mar 2023 10:25:43 +0000 (10:25 +0000)]
DALi Version 2.2.16
Change-Id: I07565ae529758ae8285f24c867be04c18ea67b69
Eunki Hong [Tue, 28 Feb 2023 05:11:52 +0000 (05:11 +0000)]
Merge "Make GL index format use unsinged int" into devel/master
David Steele [Fri, 24 Feb 2023 12:42:30 +0000 (12:42 +0000)]
Merge "CleanUp gles version setter + Get exact FBO MSAA sample level" into devel/master
David Steele [Fri, 24 Feb 2023 12:31:04 +0000 (12:31 +0000)]
Merge "DALi Version 2.2.15" into devel/master
Richard Huang [Fri, 24 Feb 2023 12:24:21 +0000 (12:24 +0000)]
DALi Version 2.2.15
Change-Id: Idb0557b63ca46ac0a6f4e56520e02282aeedec3a
Eunki Hong [Sat, 18 Feb 2023 11:14:27 +0000 (20:14 +0900)]
Make GL index format use unsinged int
Change-Id: I9aa5076d86e073aa823e8428631f1cdc838277c0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 21 Feb 2023 19:53:33 +0000 (04:53 +0900)]
CleanUp gles version setter + Get exact FBO MSAA sample level
Avoid some useless duplicated GLES version setter.
It will reduce complexity of gles version relative logics.
Change-Id: Ibffe2894d9fab34188861d77aad28593aea6ac54
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Fri, 24 Feb 2023 04:48:46 +0000 (04:48 +0000)]
Merge "Add IsSpace in TextAbstraction" into devel/master
Heeyong Song [Thu, 23 Feb 2023 23:47:46 +0000 (23:47 +0000)]
Merge "Fix surface deletion order" into devel/master
Bowon Ryu [Thu, 23 Feb 2023 12:47:11 +0000 (21:47 +0900)]
Add IsSpace in TextAbstraction
Change-Id: Ic615aa2c20e22bfa013f81fa28fa5a393ea946b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adam Bialogonski [Thu, 23 Feb 2023 10:39:12 +0000 (10:39 +0000)]
Fixing SVACE issue in loader-ktx.cpp
SIGN_EXTENSION issue.
Change-Id: I69f35590db6852ad577b13857be7faf205bf4a1d
Heeyong Song [Wed, 22 Feb 2023 08:50:01 +0000 (17:50 +0900)]
Fix surface deletion order
Change-Id: If4be038a1b47f19cef703aad0d1f48c59d0fe3d3
Eunki, Hong [Wed, 22 Feb 2023 04:55:23 +0000 (13:55 +0900)]
Fix svace issue (useless branch)
Change-Id: I122720a0aaaf74de0a30cd66730275688f03da7d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Wonsik Jung [Wed, 22 Feb 2023 01:48:30 +0000 (10:48 +0900)]
Replace natvie window API in SetInputRegion()
Replace native window API in SetInputRegion().
Because this function should be used the other native input rect APIs.
In addition, some logs are added to the related functions.
Change-Id: I4e709b1bb89f407a25bd5dbaa5403aa792955ac5
Adeel Kazmi [Tue, 21 Feb 2023 12:51:51 +0000 (12:51 +0000)]
Merge "Fix svace issue for image-operator" into devel/master
Adeel Kazmi [Tue, 21 Feb 2023 12:47:46 +0000 (12:47 +0000)]
Merge "Remove VAO cache if invalidate pipeline" into devel/master
Taehyub Kim [Tue, 21 Feb 2023 06:16:12 +0000 (15:16 +0900)]
DragAndDrop : support multiwindow dnd on single process
Change-Id: Ifadcbe29b6f63420f91cd892c56d11dad5172c44
David Steele [Fri, 17 Feb 2023 13:51:40 +0000 (13:51 +0000)]
DALi Version 2.2.14
Change-Id: Ibe53b71f7198c6a3cea884124fbb6bb8bf0a4934
David Steele [Thu, 16 Feb 2023 13:10:19 +0000 (13:10 +0000)]
Merge "Replace std::string global variables with C-style string." into devel/master
Eunki, Hong [Mon, 26 Dec 2022 09:04:50 +0000 (18:04 +0900)]
Remove VAO cache if invalidate pipeline
Delete VAO cache map if pipeline destroied.
So we can avoid equal ProgramImpl pointer which already destroyied program.
Change-Id: I1fa614b07c4b80e13c2ca23f275950a9672b3542
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Wed, 15 Feb 2023 08:48:39 +0000 (16:48 +0800)]
Replace std::string global variables with C-style string.
A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.
Change-Id: I124fc778ab00754bc61d1517a18afcb728904483
dongsug song [Wed, 15 Feb 2023 01:13:29 +0000 (01:13 +0000)]
Merge "Make sure that global variables are initialized lazily." into devel/master
huayong.xu [Thu, 9 Feb 2023 12:06:46 +0000 (20:06 +0800)]
Make sure that global variables are initialized lazily.
Global variables are initialized before main function or
when dali-core so is loaded firstly.
This patch is to reduce loading time of dali in theory.
Change-Id: If644ff61bdc27d268e913d9455bfa506bcea5892
Heeyong Song [Mon, 13 Feb 2023 00:33:29 +0000 (00:33 +0000)]
Merge "Make another ConditionalWait for post-rendearing" into devel/master
Adeel Kazmi [Fri, 10 Feb 2023 14:20:46 +0000 (14:20 +0000)]
Merge "DALi Version 2.2.13" into devel/master
Adeel Kazmi [Fri, 10 Feb 2023 14:15:36 +0000 (14:15 +0000)]
DALi Version 2.2.13
Change-Id: I931e2622804390c4f3001582a84efc0227953e9e
Heeyong Song [Tue, 7 Feb 2023 06:10:21 +0000 (15:10 +0900)]
Make another ConditionalWait for post-rendearing
The mUpdateRenderThreadWaitCondition was also used for post-rendering.
But it can be notified by other method - ResizeSurface() etc.
The PostRenderWaitForCompletion() should wait for the
PostRenderComplete() of the main thread.
So use another ConditionalWait.
Change-Id: I890abcf95045e2d9701208cbe18ac8082219457b
Eunki, Hong [Tue, 8 Nov 2022 04:55:27 +0000 (13:55 +0900)]
Fix svace issue for image-operator
make unsigned int to uint32_t, unsigned char to uint8_t.
And also do static_cast for down-scale codes
Change-Id: I3d5762fdbf8f42b1a0a713f08cc8ca32ce2a4d5d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 1 Feb 2023 20:53:30 +0000 (05:53 +0900)]
Support CMYK jpg image load
Previously, we only load CMYK image store as Pixel::RGBA8888 and do nothing.
So, We need to convert this 4byte data as 3byte Pixel::RGB888 format.
Change-Id: I87482fbc13ebb104c672d43e284099a484f3cc36
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 7 Feb 2023 01:55:00 +0000 (10:55 +0900)]
Fix svace issue (uint32_t to long or std::streamsize)
To convert unsigned value into signed value safely,
we should convert as unsigned type with same size as signed type,
and after done, convert into signed type.
Change-Id: I3d8ebb3866c2bd753dd186026f7e1773e0f178a9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Fri, 3 Feb 2023 12:41:24 +0000 (12:41 +0000)]
DALi Version 2.2.12
Change-Id: I34a6901109ed8152c72366f7875388fae7f3a1ee
Heeyong Song [Mon, 30 Jan 2023 08:16:52 +0000 (17:16 +0900)]
Apply environment variables to preinitialized app
Change-Id: Idb66ee33ccf2fed8f71ee5ed5c2cd2f47fdce529
Heeyong Song [Wed, 18 Jan 2023 09:00:39 +0000 (18:00 +0900)]
Add performance log
Print a log when eglQuerySurface takes long time
Change-Id: Iae3810cfbf5f25076e5be4be536be46e7e63c955
Seungho BAEK [Tue, 31 Jan 2023 04:29:07 +0000 (04:29 +0000)]
Merge "Support to load an image from uint8_t* encoded buffer." into devel/master
Adeel Kazmi [Mon, 30 Jan 2023 10:57:23 +0000 (10:57 +0000)]
(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when running
Change-Id: Ic3058b2cc6218abdd5ae3e65efaf78d6821cf222
Eunki Hong [Mon, 30 Jan 2023 02:26:43 +0000 (02:26 +0000)]
Merge "Cleanup .gitignore file" into devel/master
Adeel Kazmi [Fri, 27 Jan 2023 16:06:48 +0000 (16:06 +0000)]
Merge "Added X11 window manager resize handling" into devel/master
Richard Huang [Fri, 27 Jan 2023 12:19:24 +0000 (12:19 +0000)]
DALi Version 2.2.11
Change-Id: I448116da54abf15fa5801bd614056c7e50c52727
David Steele [Wed, 25 Jan 2023 17:52:21 +0000 (17:52 +0000)]
Added X11 window manager resize handling
For Ecore/Raw X, added listeners to the ConfigureNotify
event to find when the Window Manager has modified the
window size.
Sending the UpdatePositionSize signal is enough to
update the GL surface.
Change-Id: I8fd3cf1a9fbac694ea32e5d5cddd710c33a7cdf4
Signed-off-by: David Steele <david.steele@samsung.com>
Eunki Hong [Wed, 25 Jan 2023 15:50:01 +0000 (00:50 +0900)]
Cleanup .gitignore file
Collect, merge and clean up .gitignore file for all dali repos
Change-Id: I0ffa9676eeef9ca0e3a5d478931d098599efb1cd
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
seungho baek [Tue, 17 Jan 2023 06:18:22 +0000 (15:18 +0900)]
Support to load an image from uint8_t* encoded buffer.
Change-Id: I0252773ef6c9ad62e552c05697cdd39507bd892e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
David Steele [Fri, 20 Jan 2023 13:14:40 +0000 (13:14 +0000)]
Merge "DALi Version 2.2.10" into devel/master
David Steele [Fri, 20 Jan 2023 13:10:01 +0000 (13:10 +0000)]
DALi Version 2.2.10
Change-Id: Ib3beaa13617053631f02d08c04cb4ba490d464d1
Heeyong Song [Fri, 20 Jan 2023 00:42:18 +0000 (00:42 +0000)]
Merge "Fix deadlock issue of AsyncTaskThread" into devel/master
David Steele [Thu, 19 Jan 2023 14:33:42 +0000 (14:33 +0000)]
Merge "Updating Test Harness to show wait channel" into devel/master
Jaehyun Cho [Thu, 19 Jan 2023 09:27:53 +0000 (09:27 +0000)]
Merge "Add Dali::DevelWindowSystem::GetScreenSize" into devel/master
Heeyong Song [Thu, 19 Jan 2023 08:46:20 +0000 (17:46 +0900)]
Fix deadlock issue of AsyncTaskThread
mDestroyThread may be changed to true after while(!mDestroyThread)
because we don't lock the part.
Change-Id: Icf9c60cd865d73f1648a354331689df8284d5964
Jaehyun Cho [Tue, 17 Jan 2023 02:53:38 +0000 (11:53 +0900)]
Add Dali::DevelWindowSystem::GetScreenSize
To provide the screen size for csharp bindings by using internal
GetScreenSize method, Dali::DevelWindowSystem::GetScreenSize is added.
Change-Id: Ib42ace1c4b61f61ae2e506253b5b348a1bd62ca6
David Steele [Wed, 18 Jan 2023 15:21:02 +0000 (15:21 +0000)]
Updating Test Harness to show wait channel
If, during parallel execution, a child test case is pending for a
minute, then display the wait channel symbol, and kill the process.
Change-Id: Ibe9a41b7ef433f41e37fc35f2811d40415fc811c
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Tue, 17 Jan 2023 12:00:57 +0000 (12:00 +0000)]
Merge "Remove jpg warning log at UTC" into devel/master
Eunki, Hong [Mon, 16 Jan 2023 08:11:44 +0000 (17:11 +0900)]
Remove jpg warning log at UTC
Change-Id: I5bdc675d40547fbcd206a188a934e939f7611633
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Mon, 9 Jan 2023 10:43:51 +0000 (19:43 +0900)]
Add Overlay Layer in window
Change-Id: Ic61e51e2ad0775c5c76a6ec93d1bff0a9980ebce
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 13 Jan 2023 10:00:38 +0000 (10:00 +0000)]
Merge "DALi Version 2.2.9" into devel/master
Adeel Kazmi [Fri, 13 Jan 2023 09:56:10 +0000 (09:56 +0000)]
DALi Version 2.2.9
Change-Id: Iead2f576c2507d62e92b79cee286abd4797ce263
Heeyong Song [Fri, 13 Jan 2023 01:24:39 +0000 (01:24 +0000)]
Merge "Remove unnecessray ClipBoard creation (2)" into devel/master
Heeyong Song [Thu, 12 Jan 2023 05:07:53 +0000 (14:07 +0900)]
Remove unnecessray ClipBoard creation (2)
Change-Id: I5a15ae94f035a764128c1adc5621b80f84286846
Taehyub Kim [Wed, 11 Jan 2023 04:38:09 +0000 (13:38 +0900)]
drag-and-drop : Add leave event when dragging is cancelled
Change-Id: If98ec6b0d766e3a898063456d05c6c82a6df0abc
Heeyong Song [Mon, 9 Jan 2023 09:36:38 +0000 (18:36 +0900)]
Remove unnecessray ClipBoard creation
Change-Id: I75e2fa682007e6ef4c24eaaaf81600085994f62c
David Steele [Fri, 6 Jan 2023 13:18:48 +0000 (13:18 +0000)]
Merge "DALi Version 2.2.8" into devel/master
Adam Bialogonski [Fri, 6 Jan 2023 10:49:51 +0000 (10:49 +0000)]
DALi Version 2.2.8
Change-Id: I08127882190c75f0bbe02920220c5948a098f1a9
sunghyun kim [Fri, 6 Jan 2023 02:51:15 +0000 (02:51 +0000)]
Merge "Add GetCallbackInvocationThread() for AsyncTaskMananager" into devel/master
tscholb [Thu, 22 Dec 2022 10:09:52 +0000 (19:09 +0900)]
Add GetCallbackInvocationThread() for AsyncTaskMananager
When AsyncTaskManager use other thread, no need to wake up main thread.
Change-Id: I2b4dfb797e0981002776b345b43f988dd5eb83f9
joogab.yun [Thu, 5 Jan 2023 09:04:26 +0000 (18:04 +0900)]
Add ecore_wl2_window_commit() when setting minumum size and maximum size.
Change-Id: Idf909972dcedcafda1123f9c3a16c0a1496d433d
dongsug song [Thu, 5 Jan 2023 05:54:55 +0000 (05:54 +0000)]
Merge "Add an API for 'create,window' event." into devel/master
Wonsik Jung [Tue, 3 Jan 2023 03:11:42 +0000 (12:11 +0900)]
Fix the screen rotation issue
Fix the screen rotation issue in FHub Device.
When glViewport/glScissor is set, the screen rotation should be considered.
Change-Id: I34b3c07f4efd678806d05c9b651ad44a05269909
Eunki Hong [Fri, 30 Dec 2022 08:22:16 +0000 (08:22 +0000)]
Merge "Trace use scope macro instead of begin-end" into devel/master
Heeyong Song [Fri, 23 Dec 2022 02:23:24 +0000 (11:23 +0900)]
Add GetRenderThreadId()
Change-Id: I788e49c134b3f31572925796291e9065378f4417
Eunki Hong [Thu, 29 Dec 2022 15:47:14 +0000 (00:47 +0900)]
Trace use scope macro instead of begin-end
Since we don't need to follow functions usecase,
use trace scope macro instead of begin-end
+
DALI_TRACE_FUNCTION can send tag as NULL
if ENABLE_DEBUG is not defined.
To avoid this case, let we nullcheck for trace tag.
(Note, trace-manager-impl-generic already consider NULL tag)
Change-Id: I55177bbcac344abde42d5afe7cc807114f027a39
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 23 Dec 2022 11:34:52 +0000 (11:34 +0000)]
DALi Version 2.2.7
Change-Id: Ied087417fc7eebb5ab5907b4f7f926c7ed04a6b0
Eunki, Hong [Thu, 22 Dec 2022 11:55:41 +0000 (20:55 +0900)]
Remove annoying logs when we use astc image file
PixelBuffer::New() call GetBytesPerPixel internally, and failed.
That case, DALI_LOG_ERROR logged which is not useful.
Change-Id: I6483002d00ee8abd61008d408b678b81bedb2e62
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 20 Dec 2022 04:50:59 +0000 (13:50 +0900)]
Cache VAO with the locations hash
Change-Id: Iabba0560f613a584fb444b8f34efbdd55f87199a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Tue, 20 Dec 2022 16:52:38 +0000 (16:52 +0000)]
Merge "(Automated Tests) Added GlImplementation tests to increase function coverage" into devel/master
Adeel Kazmi [Tue, 20 Dec 2022 15:27:11 +0000 (15:27 +0000)]
(Automated Tests) Added GlImplementation tests to increase function coverage
Change-Id: I1c6cdc209d79f6cd4b15c0c8f2f5fa5f601baeaa
David Steele [Tue, 20 Dec 2022 10:23:11 +0000 (10:23 +0000)]
Fixing static analysis bugs
Change-Id: I58dbff61812fe6e3ab2ec7cd1b5bc238b3e22f8b
Seungho BAEK [Tue, 20 Dec 2022 09:30:33 +0000 (09:30 +0000)]
Merge "Fix svace issue - Application Destructor & egl controller debug" into devel/master
joogab.yun [Mon, 19 Dec 2022 05:55:00 +0000 (14:55 +0900)]
When calling RequestResizeToServer, we recalculate the location according to the current orientation.
Change-Id: Ib9fd6a00c89a5f2467409a3bfbb83124043ff32f
Eunki, Hong [Mon, 19 Dec 2022 19:47:49 +0000 (04:47 +0900)]
Fix svace issue - Application Destructor & egl controller debug
- Make Internal::Application virtual destructor
- Only if Debug enabled can use GraphicsFrameDump struct.
It will guard some getenv + fopen vulnerable operation.
Change-Id: I7cfb79b4aa270d856bd9668aa0b882d43819aa70
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Mon, 19 Dec 2022 18:48:22 +0000 (18:48 +0000)]
Merge "Fix attribute cache bug" into devel/master
David Steele [Mon, 19 Dec 2022 17:42:31 +0000 (17:42 +0000)]
Merge "Remove annoying log message" into devel/master
Eunki Hong [Mon, 19 Dec 2022 08:37:18 +0000 (08:37 +0000)]
Merge "Fix utc compile error for gcc-11" into devel/master
Eunki Hong [Sun, 18 Dec 2022 14:44:53 +0000 (23:44 +0900)]
Remove annoying log message
Since DecoratedVisual / Text / PBR shader use #define tag,
current sampler using logic might not works well.
Change-Id: I8468e42415fae717c4bde20cb918645331f4f533
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Heeyong Song [Thu, 15 Dec 2022 09:11:11 +0000 (18:11 +0900)]
Change DebugPriority name and Debug priority
Change-Id: Id902e7103cf19c156386eca4d941b16d361459d3
Eunki Hong [Sun, 18 Dec 2022 15:18:37 +0000 (00:18 +0900)]
Fix utc compile error for gcc-11
Change-Id: I4b7282b67060627478dd9c10a3c5a7b702e63774
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 16 Dec 2022 12:35:04 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.6" into devel/master
David Steele [Fri, 16 Dec 2022 12:12:44 +0000 (12:12 +0000)]
DALi Version 2.2.6
Change-Id: Iafa54d963fc3450c39ab9bd4db542e6d5f1f3096
Adeel Kazmi [Fri, 16 Dec 2022 11:45:53 +0000 (11:45 +0000)]
Merge "Memory Pool Logging" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 10:57:10 +0000 (10:57 +0000)]
Merge "(Automated Tests) Added more tests to increase TEM score" into devel/master
Eunki Hong [Fri, 16 Dec 2022 07:04:56 +0000 (07:04 +0000)]
Merge "Fix gcc-11 compile error at dbus.h" into devel/master
Adeel Kazmi [Thu, 1 Dec 2022 18:17:00 +0000 (18:17 +0000)]
(Automated Tests) Added more tests to increase TEM score
Change-Id: Ibb101d4fd436849da18edf3bb6eb49cbb7cef306
Adeel Kazmi [Thu, 15 Dec 2022 17:06:31 +0000 (17:06 +0000)]
Merge "Remove build warning for gcc-11" into devel/master
Lukasz Oleksak [Thu, 15 Dec 2022 14:31:15 +0000 (14:31 +0000)]
Merge "[ATSPI] Stop traversing tree immediatelly after reaching the maximum size of query result" into devel/master
Lukasz Oleksak [Thu, 15 Dec 2022 14:30:39 +0000 (14:30 +0000)]
Merge "[AT-SPI] Use async D-Bus call in some Socket methods" into devel/master
Eunki, Hong [Thu, 8 Dec 2022 09:29:52 +0000 (18:29 +0900)]
Fix attribute cache bug
1. It is possible that GL_ACTIVE_ATTRIBUTES value is smaller than
location of attributes. If it happend, crashed due to mVertexInputAttributes.insert call.
To fix this crash issue, make mVertexInputAttributes size relative with location value,
not relative with GL_ACTIVE_ATTRIBUTES.
Also, It will guarantee that attribute's location can be index of it's real attrubutes.
(Since vector.insert operation shift the index, it was depend on the location input order.
and also slow)
2. Ensure the enable of vertex attributes.
Since vertexInputState.attributes generated by Geometry in pipeline-cache system,
Change the attribute's list of geometry at the same shader was not worked.
TODO : Make VAO caching system works well. Currently, VAO doesn't useful.
We should found a way to EnableVertexAttribArray only with shader's information,
not depend on Geometry information.
or, we might need to calculate vertex attribute location list's hash, and use it as key.
Change-Id: I9f2c15617d279cfefbe1f8d72e5a9cbe43a7c564
huayong.xu [Thu, 15 Dec 2022 09:49:34 +0000 (17:49 +0800)]
Add an API for 'create,window' event.
Change-Id: I9905ec1e2fc32ab3b7be42179d881404f812024a
joogab.yun [Wed, 14 Dec 2022 06:25:19 +0000 (15:25 +0900)]
Add RecalculatePosition api for rotation
Change-Id: I5e5ebacfc2531ff95465bb41d8a516fea106d44d