diff options
Diffstat (limited to 'libs/hwui/GpuMemoryTracker.h')
-rw-r--r-- | libs/hwui/GpuMemoryTracker.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/hwui/GpuMemoryTracker.h b/libs/hwui/GpuMemoryTracker.h index 18e2330668b0..de3ca99ef14b 100644 --- a/libs/hwui/GpuMemoryTracker.h +++ b/libs/hwui/GpuMemoryTracker.h @@ -25,11 +25,11 @@ namespace uirenderer { extern pthread_t gGpuThread; -#define ASSERT_GPU_THREAD() LOG_ALWAYS_FATAL_IF( \ - !pthread_equal(gGpuThread, pthread_self()), \ - "Error, %p of type %d (size=%d) used on wrong thread! cur thread %lu " \ - "!= gpu thread %lu", this, static_cast<int>(mType), mSize, \ - pthread_self(), gGpuThread) +#define ASSERT_GPU_THREAD() \ + LOG_ALWAYS_FATAL_IF(!pthread_equal(gGpuThread, pthread_self()), \ + "Error, %p of type %d (size=%d) used on wrong thread! cur thread %lu " \ + "!= gpu thread %lu", \ + this, static_cast<int>(mType), mSize, pthread_self(), gGpuThread) enum class GpuObjectType { Texture = 0, @@ -73,5 +73,5 @@ private: GpuObjectType mType; }; -} // namespace uirenderer -} // namespace android; +} // namespace uirenderer +} // namespace android; |