{"id":21991819,"url":"https://github.com/tlabaltoh/tlabwebviewplugin","last_synced_at":"2025-04-30T14:16:13.888Z","repository":{"id":161483728,"uuid":"636150706","full_name":"TLabAltoh/TLabWebViewPlugin","owner":"TLabAltoh","description":"Source code of java plugin used in TLabWebView","archived":false,"fork":false,"pushed_at":"2024-09-16T16:50:29.000Z","size":1982,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-16T20:43:17.689Z","etag":null,"topics":["android","android-studio","java","unity","unity3d","webview"],"latest_commit_sha":null,"homepage":"https://tlabgames.gitbook.io/tlabwebview/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TLabAltoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-04T08:24:40.000Z","updated_at":"2024-09-16T16:50:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e342d00-5d78-4cdf-99b5-8ef882640e0f","html_url":"https://github.com/TLabAltoh/TLabWebViewPlugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLabAltoh%2FTLabWebViewPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLabAltoh%2FTLabWebViewPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLabAltoh%2FTLabWebViewPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLabAltoh%2FTLabWebViewPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TLabAltoh","download_url":"https://codeload.github.com/TLabAltoh/TLabWebViewPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227206381,"owners_count":17747734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-studio","java","unity","unity3d","webview"],"created_at":"2024-11-29T20:11:48.390Z","updated_at":"2025-04-30T14:16:13.869Z","avatar_url":"https://github.com/TLabAltoh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TLabWebViewPlugin\nSource code of java plugin used in [```TLabWebView```](https://github.com/TLabAltoh/TLabWebView) (3D web browser / 3D WebView Unity plugin)\n\n## Operating Environment\n```\nAndroid Studio Version:\nAndroid Studio Koala | 2024.1.1\nBuild #AI-241.15989.150.2411.11948838, built on June 11, 2024\nRuntime version: 17.0.10+0--11609105 amd64\nVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.\nWindows 10.0\nGC: G1 Young Generation, G1 Old Generation\nMemory: 4096M\nCores: 24\nRegistry:\n  debugger.new.tool.window.layout=true\n  ide.experimental.ui=true\nNon-Bundled Plugins:\n  OpenGL-Plugin (1.1.5)\n  GLSL (1.24)\n\nOS: Windows 10  \n```\n\n\u003e [!WARNING]\n\u003e The latest version of Android Studio (`2024.3.1.14 Meerkat`) requires an update to `Gradle 8.*`, and plug-ins built with the latest version of Android Studio may not be able to be embedded in the current version of Unity (This project uses `Gradle 7.4`). Therefore, it is recommended to build with the Android Studio version specified in the Operating Environment (`2024.1.1 Koala`).\n\n## Current Issue\n### Did not find frame\n- The following error occurs when using [```lockHardwareCanvas```](https://developer.android.com/reference/android/view/SurfaceHolder#lockHardwareCanvas()) in unity 2021\n```\n2023/11/13 15:40:53.051 13492 13511 Error FrameEvents updateAcquireFence: Did not find frame.\n```\nCorresponding part of the code\n```java\n// ViewToGLRenderer.java\npublic Canvas onDrawViewBegin() {\n    m_surfaceCanvas = null;\n    if (m_surface != null) {\n        try {\n            //mSurfaceCanvas = mSurface.lockCanvas(null);\n            // https://learn.microsoft.com/en-us/dotnet/api/android.views.surface.lockhardwarecanvas?view=xamarin-android-sdk-13\n            m_surfaceCanvas = mSurface.lockHardwareCanvas();\n        }catch (Exception e){\n            Log.e(TAG, \"error while rendering view to gl: \" + e);\n        }\n    }\n    return m_surfaceCanvas;\n}\n```\n\n## Link\n- [OpenGL Texture to HardwareBuffer](https://github.com/keith2018/SharedTexture)\n- [WebView to ByteBuffer](https://bitbucket.org/HoshiyamaTakaaki/pixelreadstest/src/master/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlabaltoh%2Ftlabwebviewplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlabaltoh%2Ftlabwebviewplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlabaltoh%2Ftlabwebviewplugin/lists"}