| Flutter macOS Embedder |

Namespaces | Functions
texture_registrar_unittests.cc File Reference
`#include "flutter/shell/platform/common/client_wrapper/include/flutter/texture_registrar.h"`
`#include <map>`
`#include <memory>`
`#include <vector>`
`#include "flutter/fml/synchronization/waitable_event.h"`
`#include "flutter/shell/platform/common/client_wrapper/include/flutter/plugin_registrar.h"`
`#include "flutter/shell/platform/common/client_wrapper/testing/stub_flutter_api.h"`
`#include "gtest/gtest.h"`

Go to the source code of this file.

## Namespaces
| flutter

## Functions
| flutter::TEST (TextureRegistrarTest, RegisterUnregisterTexture)
| flutter::TEST (TextureRegistrarTest, UnregisterInvalidTexture)
| flutter::TEST (TextureRegistrarTest, MarkFrameAvailableInvalidTexture)

## Variable Documentation

## ◆ mark_count

int32_t mark_count

Definition at line 25 of file texture_registrar_unittests.cc.

## ◆ texture_callback

FlutterDesktopPixelBufferTextureCallback texture_callback

Definition at line 26 of file texture_registrar_unittests.cc.

## ◆ texture_id

int64_t texture_id

Definition at line 24 of file texture_registrar_unittests.cc.

Referenced by FlutterSurface::asFlutterMetalTexture, flutter::TextureRegistrarImpl::MarkTextureFrameAvailable(), flutter::TextureRegistrarImpl::RegisterTexture(), flutter::TEST(), flutter::testing::TEST_F(), and flutter::TextureRegistrarImpl::UnregisterTexture().

## ◆ user_data

void* user_data

Definition at line 27 of file texture_registrar_unittests.cc.

Referenced by FlutterSurface::asFlutterMetalTexture, FastReadValue(), FlutterStandardCodecHelperReadValueOfType(), OnAcquireExternalTexture(), OnPlatformMessage(), flutter::TextureRegistrarImpl::RegisterTexture(), flutter::BinaryMessengerImpl::Send(), flutter::IncomingMessageDispatcher::SetMessageCallback(), flutter::TEST(), and flutter::testing::TEST_F().