awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
google avatar

google/grafikaArchived

0
View on GitHub↗
6,154 stars·1,477 forks·Java·Apache-2.0·25 views

Grafika

Grafika is a collection of reference implementations and benchmarking tools for the Android platform. It provides technical demonstrations for validating camera lifecycles, GPU performance, and media codec configurations, including a suite of OpenGL ES examples and a graphics reference application.

The project distinguishes itself through specialized tools for measuring graphics performance, such as benchmarks for texture upload speeds and pixel read latency. It also implements specific hardware-focused patterns, such as using circular buffers for continuous video capture and utilizing virtual displays for system-wide screen recording.

The repository covers a broad range of media and graphics capabilities. This includes camera-to-texture rendering for real-time manipulation, the use of dedicated renderer threads for responsive interfaces, and various video playback methods using system compositor layers. It further addresses video processing through simultaneous framebuffer recording and multi-stream decoding.

Features

  • Android Graphics Development - Provides a comprehensive suite of technical demonstrations for implementing and testing advanced OpenGL and hardware-accelerated rendering on Android.
  • Video Playback - Provides technical demonstrations for decoding and rendering video tracks from local files using SurfaceViews.
  • Performance Benchmarks - Provides a tool for measuring texture upload speeds and pixel read performance on Android graphics drivers.
  • Graphics Driver Benchmarking - Provides specialized tools for measuring GPU texture upload speeds and pixel read times to identify graphics bottlenecks.
  • Video Renderers - Implements video rendering directly to system compositor layers for improved battery efficiency and protected content support.
  • Graphics Reference Applications - Provides a set of technical demonstrations for exercising media and graphics capabilities on the Android platform.
  • OpenGL Graphics Programming - Provides a collection of examples for rendering graphics to textures and recording GPU output via framebuffer objects.
  • Texture-Backed Rendering - Provides reference implementations for drawing graphics content onto a TextureView using a dedicated renderer thread.
  • Texture-Backed Video Rendering - Renders video files from disk to a texture-backed view with aspect ratio management via a transformation matrix.
  • Camera Integrations - Integrates real-time camera previews and directs live feeds into graphics textures for manipulation.
  • MediaCodec Implementation Patterns - Implements technical patterns for decoding multiple video streams and recording device screen capture to movie files.
  • Dynamic Resolution Scaling - Renders graphics at a lower native resolution and uses the GPU to scale the image to fit the screen.
  • Texture Upload Benchmarks - Calculates the time required to upload image data to a GPU texture to evaluate graphics performance.
  • Texture-Based Data Pipelines - Uses GPU textures to allow real-time transformations and scaling of camera feeds and graphics content.
  • Simultaneous Recording Pipelines - Draws graphics to the screen and a video encoder simultaneously using a shared buffer to prevent redundant rendering.
  • Screen Recording - Captures device displays or OpenGL frames and saves them to movie files using virtual displays.
  • Simultaneous Framebuffer Recording - Draws graphics content to the screen and a video encoder simultaneously using framebuffer objects to avoid redundant rendering.
  • Multi-Stream Concurrent Decoding - Processes and displays multiple video streams side-by-side while maintaining decoder state during screen rotations.
  • System Compositor Rendering - Directs decoded video frames to system compositor layers for improved battery efficiency and protected content support.
  • Video Playback Components - Decodes and renders video streams using SurfaceView and TextureView to optimize battery and performance.
  • Live Camera Processing - Displays a real-time camera feed using a texture view while managing hardware camera lifecycle and orientation.
  • Virtual Displays - Mirrors the device display output to a virtual surface for recording the entire system UI to a file.
  • Resolution Scaling - Implements hardware-accelerated resolution scaling to render graphics at lower native resolutions and scale them to fit the screen.
  • Camera Feed Capture - Directs a live camera feed into a graphics texture for real-time adjustments to zoom, size, and rotation.
  • Video Capture Buffers - Implements circular memory buffers to record continuous camera input and save specific time windows of video.
  • Driver Capability Querying - Queries the graphics driver for vendor, version, and extension details to determine device hardware capabilities.
  • Circular Buffer Video Recording - Records camera input into a circular buffer, allowing a specific time window of video to be saved to storage.
  • Frame Presentation Schedulers - Defers the display of rendered frames until a specific timestamp to ensure tight synchronization between audio and video.
  • Hardware Scaling Benchmarks - Renders graphics with dynamic surface size changes to evaluate the efficiency of hardware-accelerated image scaling.
  • GPU Frame Buffer Read Benchmarks - Measures the time taken to read pixels from a GPU frame buffer to identify performance bottlenecks.
  • Camera Lifecycle Demonstrations - Provides reference implementations for rendering live camera previews and managing hardware camera lifecycles.
  • Responsive Interface Threading - Offloads graphics processing and surface management to a background thread to ensure the main user interface remains responsive.

Star history

Star history chart for google/grafikaStar history chart for google/grafika

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Grafika

These projects share indexed features with Grafika. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • wasabeef/android-gpuimagewasabeef avatar

    wasabeef/android-gpuimage

    9,155View on GitHub↗

    android-gpuimage is an OpenGL image processing library for Android that provides a GPU-powered framework for applying real-time shaders, blending layers, and processing live video streams. It functions as a real-time video filter and image blending engine to modify the luminance, vibrance, and geometry of visual content. The library enables the application of graphical effects to both static photos and live camera feeds. It supports complex image transformations, including the merging of multiple image layers through various blending modes. Capabilities cover a broad range of image manipulat

    Javaandroidgpuimagejava
    View on GitHub↗9,155
  • learnopengles/learn-opengles-tutorialslearnopengles avatar

    learnopengles/Learn-OpenGLES-Tutorials

    1,060View on GitHub↗

    This repository serves as an educational resource for developers learning mobile and embedded graphics programming. It provides a collection of tutorials and instructional code examples focused on implementing rendering techniques using the OpenGL ES graphics interface. The project covers the fundamental components of the graphics pipeline, including shader-based programmable stages, matrix-based coordinate transformations, and texture mapping. It also demonstrates practical techniques for managing graphics hardware, such as vertex buffer streaming, state management, and depth-buffer hidden s

    Java
    View on GitHub↗1,060
  • brentvatne/react-native-videobrentvatne avatar

    brentvatne/react-native-video

    7,694View on GitHub↗

    react-native-video is a cross-platform mobile video player component for applications that requires the ability to render local files and streaming media. It provides a specialized client for adaptive media streaming, adjusting video quality based on real-time network conditions. The project includes a DRM protected video player that secures and decrypts video assets using digital rights management standards. It also features a picture-in-picture video component that allows content to be detached into a floating window for multitasking on mobile devices. The library covers offline video play

    Kotlin
    View on GitHub↗7,694
  • thewidlarzgroup/react-native-videoTheWidlarzGroup avatar

    TheWidlarzGroup/react-native-video

    7,698View on GitHub↗

    react-native-video is a cross-platform video player component for React Native that enables the playback of local and remote video files using native platform decoders. It functions as an adaptive streaming player supporting HLS, DASH, and SmoothStreaming formats with automatic bitrate selection and quality adaptation. The project is distinguished by its support for industry-standard digital rights management, including Widevine, FairPlay, and PlayReady, and a plugin-based architecture that allows for the injection of custom analytics or playback logic without modifying the core library. It a

    Kotlin
    View on GitHub↗7,698
Compare all 30 related projects→

Frequently asked questions

What does google/grafika do?

Grafika is a collection of reference implementations and benchmarking tools for the Android platform. It provides technical demonstrations for validating camera lifecycles, GPU performance, and media codec configurations, including a suite of OpenGL ES examples and a graphics reference application.

What are the main features of google/grafika?

The main features of google/grafika are: Android Graphics Development, Video Playback, Performance Benchmarks, Graphics Driver Benchmarking, Video Renderers, Graphics Reference Applications, OpenGL Graphics Programming, Texture-Backed Rendering.

Which projects share features with google/grafika?

Projects with overlapping indexed features include: wasabeef/android-gpuimage — android-gpuimage is an OpenGL image processing library for Android that provides a GPU-powered framework for applying… learnopengles/learn-opengles-tutorials — This repository serves as an educational resource for developers learning mobile and embedded graphics programming. It… brentvatne/react-native-video — react-native-video is a cross-platform mobile video player component for applications that requires the ability to… thewidlarzgroup/react-native-video — react-native-video is a cross-platform video player component for React Native that enables the playback of local and… microsoft/windows-universal-samples — This repository is a comprehensive collection of reference implementations and sample libraries for the Universal… wuhaoyu1990/magiccamera — MagicCamera is an Android camera filter SDK and face beauty library designed to provide real-time visual effects for…