Home
last modified time | relevance | path

Searched refs:BufferHandle (Results 1 – 25 of 26) sorted by relevance

12

/test/xts/hats/hdf/display/composer/common/
Ddisplay_test_utils.h83 void SetPixel(const BufferHandle& handle, int x, int y, uint32_t color);
84 void ClearColor(const BufferHandle& handle, uint32_t color);
85 uint32_t GetPixelValue(const BufferHandle& handle, int x, int y);
86 uint32_t CheckPixel(const BufferHandle& handle, int x, int y, uint32_t color);
87 std::vector<IRect> SplitBuffer(const BufferHandle& handle, std::vector<uint32_t> &colors);
Dhdi_test_render_utils.h25 void SetPixel(const BufferHandle& handle, int x, int y, uint32_t color);
26 void ClearColor(const BufferHandle& handle, uint32_t color);
Dhdi_test_layer.h32 BufferHandle* Get() const in Get()
46 int32_t SetGraphicBuffer(std::function<int32_t (const BufferHandle*, uint32_t)> realFunc);
49 BufferHandle* buffer_ = nullptr;
Ddisplay_test_utils.cpp95 uint32_t GetPixelValue(const BufferHandle &handle, int x, int y) in GetPixelValue()
128 uint32_t CheckPixel(const BufferHandle &handle, int x, int y, uint32_t color) in CheckPixel()
169 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel()
192 void ClearColor(const BufferHandle &handle, uint32_t color) in ClearColor()
201 void ClearColorRect(const BufferHandle &handle, uint32_t color, const IRect &rect) in ClearColorRect()
212 std::vector<IRect> SplitBuffer(const BufferHandle &handle, std::vector<uint32_t> &colors) in SplitBuffer()
Dhdi_test_render_utils.cpp30 void SetPixel(const BufferHandle& handle, int x, int y, uint32_t color) in SetPixel()
51 void ClearColor(const BufferHandle& handle, uint32_t color) in ClearColor()
Dhdi_test_display.h53 BufferHandle* SnapShot() in SnapShot()
74 BufferHandle* currentFb_;
Dhdi_test_layer.cpp39 BufferHandle* buffer = nullptr; in HdiGrallocBuffer()
87 int32_t HdiGrallocBuffer::SetGraphicBuffer(std::function<int32_t (const BufferHandle*, uint32_t)> r… in SetGraphicBuffer() argument
218 BufferHandle* handle = buffer->Get(); in PreparePresent()
232 ret = buffer->SetGraphicBuffer([&](const BufferHandle* ptrBuffer, uint32_t seqNo) -> int32_t { in PreparePresent()
Dhdi_composition_check.h47 const BufferHandle& clientBuffer, uint32_t checkType = CHECK_VERTEX) const;
Dhdi_test_display.cpp177 BufferHandle* handle = buffer->Get(); in Commit()
181 ret = buffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> int32_t { in Commit()
Dhdi_composition_check.cpp81 const BufferHandle& clientBuffer, uint32_t checkType) const in Check()
/test/xts/hats/hdf/display/buffer/moduletest_additional/
Ddisplay_buffer_mt.cpp46 static void WriteBuffer(const BufferHandle &handle) in WriteBuffer()
83 static void DumpBufferHandle(const BufferHandle &handle) in DumpBufferHandle()
100 BufferHandle *bHandle = nullptr; in RunTest()
144 int32_t DisplayBufferMtAdditional::AfterCache(BufferHandle *handle) in AfterCache()
159 BufferHandle *bHandle = nullptr;
179 BufferHandle *bHandle = nullptr;
199 BufferHandle *bHandle = nullptr;
221 BufferHandle *bHandle = nullptr;
243 BufferHandle *bHandle = nullptr;
265 BufferHandle *bHandle = nullptr;
[all …]
Ddisplay_buffer_mt.h32 int32_t AfterCache(BufferHandle *handle);
/test/xts/hats/hdf/display/buffer/unittest/
Ddisplay_buffer_ut.h42 void MetadataTest(BufferHandle& handle);
Ddisplay_buffer_ut.cpp242 void DisplayBufferUt::MetadataTest(BufferHandle& handle) in MetadataTest()
277 BufferHandle *buffer = nullptr; in AllocMemTest()
/test/xts/hats/hdf/hdf_lite/display/
Ddisplay_test.c23 static BufferHandle* g_buffer;
25 static int32_t LoadBmp(const int8_t *fileName, BufferHandle **buffer) in LoadBmp()
325 BufferHandle* pictureBuf = NULL; in BlitTest()
/test/xts/hats/hdf/display/composer/benchmark/
Ddisplay_benchmark_test.cpp77 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition()
405 BufferHandle* buffer = nullptr; in BENCHMARK_F()
422 BufferHandle* buffer = nullptr; in BENCHMARK_F()
441 BufferHandle* buffer = nullptr; in BENCHMARK_F()
460 BufferHandle* buffer = nullptr; in BENCHMARK_F()
479 BufferHandle* buffer = nullptr; in BENCHMARK_F()
523 BufferHandle* buffer = nullptr; in BENCHMARK_F()
1168 BufferHandle* buffer = nullptr; in BENCHMARK_F()
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/
Dnativeimage.cpp171 BufferHandle *handle = OH_NativeWindow_GetBufferHandleFromNative(buffer); in OHNativeImageAttachContext()
227 BufferHandle *handle = OH_NativeWindow_GetBufferHandleFromNative(buffer); in OHNativeImageDetachContext()
279 BufferHandle *handle = OH_NativeWindow_GetBufferHandleFromNative(buffer); in OHNativeImageUpdateSurfaceImage()
/test/xts/hats/hdf/display/buffer/benchmark/
Ddisplay_buffer_benchmark_test.cpp37 static BufferHandle* g_bufferHandle = nullptr;
/test/xts/acts/graphic/graphicnapitest/
DNativeWindowTest.cpp288 BufferHandle *bufferHanlde = OH_NativeWindow_GetBufferHandleFromNative(nativeWindowBuffer);
296 BufferHandle *lastFlushedHanlde = OH_NativeWindow_GetBufferHandleFromNative(lastFlushedBuffer);
/test/xts/hats/hdf/codec/hdi_omx/
Dcodec_hdi_omx_test.cpp74 BufferHandle *bufferHandle;
199 void InitBufferHandle(std::shared_ptr<OmxCodecBuffer> &omxBuffer, BufferHandle **bufferHandle) in InitBufferHandle()
212 omxBuffer->bufferLen = static_cast<uint32_t>(sizeof(BufferHandle)); in InitBufferHandle()
214 omxBuffer->allocLen = static_cast<uint32_t>(sizeof(BufferHandle)); in InitBufferHandle()
906 BufferHandle *bufferHandle = nullptr;
1063 BufferHandle *bufferHandle = nullptr;
/test/xts/hats/hdf/display/composer/unittest_additional/
Dhdi_composer_ut.cpp1394 BufferHandle buffer;
1407 BufferHandle buffer;
1420 BufferHandle buffer;
1433 BufferHandle buffer;
/test/xts/hats/hdf/display/composer/unittest/
Dhdi_composer_ut.cpp52 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition()
341 BufferHandle* buffer = nullptr;
395 BufferHandle* buffer = nullptr;
670 …int32_t ret = graphicBuffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> i… in __anona42f8de70302()
/test/xts/hats/hdf/display/buffer/moduletest/
Ddisplay_buffer_mt.cpp49 static void WriteBuffer(const BufferHandle& handle) in WriteBuffer()
91 static void DumpBufferHandle(const BufferHandle& handle) in DumpBufferHandle()
109 BufferHandle* bHandle = nullptr; in RunTest()
/test/xts/hats/hdf/display/composer/moduletest/
Dhdi_device_test.cpp225 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition()
/test/xts/hats/hdf/codec/hdi_image_additional/
Dcodec_hdi_jpeg_test.cpp49 BufferHandle *bufferHandle = nullptr; in InitOutBuffer()

12