Skip to content

Commit bfc47a4

Browse files
committed
update README.md
1 parent 6b297bc commit bfc47a4

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

README.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,52 @@
11
# TLabWebViewPlugin
2-
Source code of java plugin used in TLabWebView
2+
Source code of java plugin used in [```TLabWebView```](https://github.com/TLabAltoh/TLabWebView)
33

44
## Operating Environment
55
```
66
Android Studio Version:
7-
Android Studio Giraffe | 2022.3.1 Patch 2
8-
Build #AI-223.8836.35.2231.10811636, built on September 15, 2023
9-
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
10-
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
11-
Windows 10 10.0
12-
GC: G1 Young Generation, G1 Old Generation
13-
Memory: 1280M
14-
Cores: 24
15-
Registry:
16-
external.system.auto.import.disabled=true
17-
ide.text.editor.with.preview.show.floating.toolbar=false
18-
7+
Android Studio Koala | 2024.1.1
8+
Build #AI-241.15989.150.2411.11948838, built on June 11, 2024
9+
Runtime version: 17.0.10+0--11609105 amd64
10+
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
11+
Windows 10.0
12+
GC: G1 Young Generation, G1 Old Generation
13+
Memory: 4096M
14+
Cores: 24
15+
Registry:
16+
debugger.new.tool.window.layout=true
17+
ide.experimental.ui=true
1918
Non-Bundled Plugins:
20-
com.google.idea.bazel.aswb (2023.10.10-aswb.0.1-api-version-223)
19+
OpenGL-Plugin (1.1.3)
20+
GLSL (1.24)
21+
name.kropp.intellij.makefile (241.14494.150)
2122
2223
OS: Windows 10
2324
```
2425

2526
## Current Issue
2627
### Did not find frame
27-
- The following error occurs when using lockhardwarecanvas in unity 2021
28+
- The following error occurs when using [```lockHardwareCanvas```](https://developer.android.com/reference/android/view/SurfaceHolder#lockHardwareCanvas()) in unity 2021
2829
```
2930
2023/11/13 15:40:53.051 13492 13511 Error FrameEvents updateAcquireFence: Did not find frame.
3031
```
3132
Corresponding part of the code
3233
```java
3334
// ViewToGLRenderer.java
3435
public Canvas onDrawViewBegin() {
35-
mSurfaceCanvas = null;
36-
if (mSurface != null) {
36+
m_surfaceCanvas = null;
37+
if (m_surface != null) {
3738
try {
3839
//mSurfaceCanvas = mSurface.lockCanvas(null);
3940
// https://learn.microsoft.com/en-us/dotnet/api/android.views.surface.lockhardwarecanvas?view=xamarin-android-sdk-13
40-
mSurfaceCanvas = mSurface.lockHardwareCanvas();
41+
m_surfaceCanvas = mSurface.lockHardwareCanvas();
4142
}catch (Exception e){
4243
Log.e(TAG, "error while rendering view to gl: " + e);
4344
}
4445
}
45-
return mSurfaceCanvas;
46+
return m_surfaceCanvas;
4647
}
4748
```
48-
- [Issues that may be relevant](https://github.com/flutter/flutter/issues/104268)
4949

5050
## Link
51-
- [UnityAsset using this plugin](https://github.com/TLabAltoh/TLabWebView)
52-
- [SharedTexture](https://github.com/keith2018/SharedTexture)
53-
- [Reference repositorie](https://bitbucket.org/HoshiyamaTakaaki/pixelreadstest/src/master/)
51+
- [OpenGL Texture to hardwarebuffer](https://github.com/keith2018/SharedTexture)
52+
- [WebView to bytebuffer](https://bitbucket.org/HoshiyamaTakaaki/pixelreadstest/src/master/)

0 commit comments

Comments
 (0)