Skip to content

Commit

Permalink
Merge branch 'rc/1.49.0' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
bejado committed Dec 11, 2023
2 parents 8b0d657 + a1de8c9 commit d273838
Show file tree
Hide file tree
Showing 141 changed files with 715 additions and 470 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -743,6 +743,8 @@ endif()
if (FILAMENT_SUPPORTS_VULKAN)
add_subdirectory(${LIBRARIES}/bluevk)
add_subdirectory(${EXTERNAL}/vkmemalloc/tnt)
set(SPIRV_HEADERS_SKIP_EXAMPLES ON)
add_subdirectory(${EXTERNAL}/spirv-headers)
endif()

set(FILAMENT_SAMPLES_BINARY_DIR ${PROJECT_BINARY_DIR}/samples)
Expand Down
1 change: 1 addition & 0 deletions NEW_RELEASE_NOTES.md
Expand Up @@ -7,3 +7,4 @@ for next branch cut* header.
appropriate header in [RELEASE_NOTES.md](./RELEASE_NOTES.md).

## Release notes for next branch cut

4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -31,7 +31,7 @@ repositories {
}
dependencies {
implementation 'com.google.android.filament:filament-android:1.48.0'
implementation 'com.google.android.filament:filament-android:1.49.0'
}
```

Expand All @@ -51,7 +51,7 @@ Here are all the libraries available in the group `com.google.android.filament`:
iOS projects can use CocoaPods to install the latest release:

```shell
pod 'Filament', '~> 1.48.0'
pod 'Filament', '~> 1.49.0'
```

### Snapshots
Expand Down
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Expand Up @@ -7,6 +7,11 @@ A new header is inserted each time a *tag* is created.
Instead, if you are authoring a PR for the main branch, add your release note to
[NEW_RELEASE_NOTES.md](./NEW_RELEASE_NOTES.md).

## v1.49.0

- matc: Fix ESSL 1.0 codegen when using external samplers [⚠️ **Recompile materials**]
- matc: Generate skinning variants for FL0 materials [⚠️ **Recompile materials**]

## v1.48.0

- matc: New option `-1` to disable generation of ESSL 1.0 code in Feature Level 0 materials
Expand Down
2 changes: 1 addition & 1 deletion android/filament-android/src/main/cpp/EntityManager.cpp
Expand Up @@ -38,7 +38,7 @@ Java_com_google_android_filament_EntityManager_nCreateArray(JNIEnv* env, jclass,
// (which it is), but still.
em->create((size_t) n, reinterpret_cast<Entity *>(entities));

env->ReleaseIntArrayElements(entities_, entities, 0);
env->ReleaseIntArrayElements(entities_, entities, JNI_ABORT);
}

extern "C" JNIEXPORT jint JNICALL
Expand Down
2 changes: 1 addition & 1 deletion android/filament-android/src/main/cpp/MaterialInstance.cpp
Expand Up @@ -205,7 +205,7 @@ Java_com_google_android_filament_MaterialInstance_nSetIntParameterArray(JNIEnv *
break;
}

env->ReleaseIntArrayElements(v_, v, 0);
env->ReleaseIntArrayElements(v_, v, JNI_ABORT);

env->ReleaseStringUTFChars(name_, name);
}
Expand Down
2 changes: 1 addition & 1 deletion android/filament-android/src/main/cpp/Scene.cpp
Expand Up @@ -114,6 +114,6 @@ Java_com_google_android_filament_Scene_nGetEntities(JNIEnv *env, jclass ,
out[i++] = (jint) entity.getId();
}
});
env->ReleaseIntArrayElements(outArray, (jint*) out, JNI_ABORT);
env->ReleaseIntArrayElements(outArray, (jint*) out, 0);
return JNI_TRUE;
}

0 comments on commit d273838

Please sign in to comment.