asdf
This commit is contained in:
@@ -109,7 +109,7 @@ Java_com_khronos_vulkan_1samples_MainActivity_nativeButtonClicked(JNIEnv *env, j
|
|||||||
LOGI("call MainActivity_nativeButtonClicked.");
|
LOGI("call MainActivity_nativeButtonClicked.");
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void TextureLoadProcessWithVulkan(uint8_t* data, int width, int height, int format, int rowStride, size_t dataSize);
|
extern void TextureLoadProcessWithVulkan(uint8_t* data, int width, int height, int rowStride, size_t dataSize);
|
||||||
|
|
||||||
void processWithVulkan(uint8_t* data, int width, int height, int format,
|
void processWithVulkan(uint8_t* data, int width, int height, int format,
|
||||||
int rowStride, size_t dataSize) {
|
int rowStride, size_t dataSize) {
|
||||||
@@ -119,7 +119,7 @@ void processWithVulkan(uint8_t* data, int width, int height, int format,
|
|||||||
// 3. 执行 Vulkan 渲染或计算操作
|
// 3. 执行 Vulkan 渲染或计算操作
|
||||||
|
|
||||||
LOGI("ProcessingImage: %dx%d, stride: %d, size: %zu", width, height, rowStride, dataSize);
|
LOGI("ProcessingImage: %dx%d, stride: %d, size: %zu", width, height, rowStride, dataSize);
|
||||||
TextureLoadProcessWithVulkan(data, width, height, format, rowStride, dataSize);
|
TextureLoadProcessWithVulkan(data, width, height, rowStride, dataSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
Reference in New Issue
Block a user