/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 37 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); 48 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 71 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN,
|
H A D | StreamSplitter_test.cpp | 84 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 118 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 156 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 193 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 220 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 233 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr));
|
H A D | SurfaceTextureGL_test.cpp | 38 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); 49 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 88 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); 99 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 138 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); 163 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 206 GRALLOC_USAGE_SW_WRITE_OFTEN)); 252 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 351 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); 397 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); [all...] |
H A D | MultiTextureConsumer_test.cpp | 71 ASSERT_EQ(native_window_set_usage(mANW, GRALLOC_USAGE_SW_WRITE_OFTEN), NO_ERROR);
|
H A D | FillBuffer.cpp | 101 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN,
|
H A D | BufferQueue_test.cpp | 146 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 337 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 386 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 422 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 445 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 494 0, GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 500 GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr)); 508 WIDTH * 2, HEIGHT * 2, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, nullptr));
|
H A D | CpuConsumer_test.cpp | 463 GRALLOC_USAGE_SW_WRITE_OFTEN); 499 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 51 GRALLOC_USAGE_SW_WRITE_OFTEN); 61 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN,
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue-test.cpp | 345 const uint32_t set_mask = GRALLOC_USAGE_SW_WRITE_OFTEN; 363 const uint32_t clear_mask = GRALLOC_USAGE_SW_WRITE_OFTEN; 381 const uint32_t deny_set_mask = GRALLOC_USAGE_SW_WRITE_OFTEN; 400 const uint32_t deny_clear_mask = GRALLOC_USAGE_SW_WRITE_OFTEN;
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 154 nativeWindow, 1, 1, HAL_PIXEL_FORMAT_RGBX_8888, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 193 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 107 err = native_window_set_usage(surface.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); 234 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 262 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 295 err = buf->lockYCbCr(GRALLOC_USAGE_SW_WRITE_OFTEN, &ycbcr); 320 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 158 GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN 234 buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst));
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 411 mGraphicBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 483 mGraphicBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2.h | 43 GRALLOC_USAGE_SW_WRITE_OFTEN, enumerator in enum:android::__anon440
|
H A D | C2Buffer.h | 1257 kSoftwareWrite = GRALLOC_USAGE_SW_WRITE_OFTEN,
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 58 USAGE_SW_WRITE_OFTEN = GRALLOC_USAGE_SW_WRITE_OFTEN,
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 99 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 289 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); 292 __FUNCTION__, static_cast<unsigned int>(GRALLOC_USAGE_SW_WRITE_OFTEN), 699 buffer, GRALLOC_USAGE_SW_WRITE_OFTEN, noCrop, fenceFd, image);
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 204 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 661 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); 698 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 1533 err = dst->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, reg.bounds(), 1591 setUsage(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); 1652 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN,
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 371 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); 411 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) { 568 GRALLOC_USAGE_SW_WRITE_OFTEN, &bits) != NO_ERROR) {
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 514 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 4311 uint32_t usage = GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN |
|
H A D | SurfaceFlinger_hwc1.cpp | 3906 uint32_t usage = GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN |
|