Skip to content

Commit

Permalink
Add a code of DXT texture decompression from gl4es-1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvorxx committed Apr 22, 2022
1 parent a7f8bbf commit d3052d9
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,17 @@ add_library( # Sets the name of the library.
virgl/vtest_old/vtest_renderer_old.c
virgl/vtest_old/vtest_server_old.c

virgl/gl4es/decompress.c

)

target_include_directories(
virgl-lib

PUBLIC epoxy/include

PUBLIC virgl/gl4es

PRIVATE virgl/src
PRIVATE virgl/src/gallium/auxiliary
PRIVATE virgl/src/gallium/auxiliary/cso_cache
Expand All @@ -120,6 +124,7 @@ target_include_directories(
PRIVATE virgl/src/mesa/util
PRIVATE virgl/vtest
PRIVATE virgl/vtest_old
PRIVATE virgl/src/gl4es/
)

# Searches for a specified prebuilt library and stores the path as a
Expand Down
20 changes: 20 additions & 0 deletions app/src/main/cpp/virgl/gl4es/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2016-2018 Sebastien Chevalier
Copyright (c) 2013-2016 Ryan Hileman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading

0 comments on commit d3052d9

Please sign in to comment.