/device/generic/goldfish/opengl/system/gralloc/ |
D | gralloc.cpp | 126 int w, int h, int format, int usage, in gralloc_alloc() argument 129 D("gralloc_alloc w=%d h=%d usage=0x%x\n", w, h, usage); in gralloc_alloc() 142 bool sw_write = (0 != (usage & GRALLOC_USAGE_SW_WRITE_MASK)); in gralloc_alloc() 143 bool hw_write = (usage & GRALLOC_USAGE_HW_RENDER); in gralloc_alloc() 144 bool sw_read = (0 != (usage & GRALLOC_USAGE_SW_READ_MASK)); in gralloc_alloc() 145 bool hw_cam_write = usage & GRALLOC_USAGE_HW_CAMERA_WRITE; in gralloc_alloc() 146 bool hw_cam_read = usage & GRALLOC_USAGE_HW_CAMERA_READ; in gralloc_alloc() 147 bool hw_vid_enc_read = usage & GRALLOC_USAGE_HW_VIDEO_ENCODER; in gralloc_alloc() 155 if (usage & GRALLOC_USAGE_HW_CAMERA_WRITE) { in gralloc_alloc() 156 if (usage & GRALLOC_USAGE_HW_TEXTURE) { in gralloc_alloc() [all …]
|
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
D | gralloc_cb.h | 37 usage(p_usage), in cb_handle_t() 82 return (0 != (usage & GRALLOC_USAGE_HW_FB)); in canBePosted() 90 int usage; // usage bits the buffer was created with member
|
/device/generic/goldfish/libqemu/ |
D | test_host_1.c | 128 static void usage(int code) in usage() function 162 usage(0); in main() 181 usage(1); in main()
|
D | test_guest_2.c | 34 static void usage(int code) in usage() function 76 usage(0); in main() 103 usage(1); in main()
|
/device/generic/goldfish/camera/ |
D | EmulatedCamera2.h | 109 uint32_t *usage, 185 uint32_t *usage,
|
D | EmulatedCamera2.cpp | 137 uint32_t *usage, in allocateStream() argument 265 uint32_t *usage, in allocate_stream() argument 269 stream_id, format_actual, usage, max_buffers); in allocate_stream()
|
D | EmulatedFakeCamera2.h | 97 uint32_t *usage,
|
D | EmulatedFakeCamera3.cpp | 264 newStream->usage, in configureStreams() 326 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams() 329 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams() 332 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams()
|
D | EmulatedFakeCamera2.cpp | 347 uint32_t *usage, in allocateStream() argument 452 *usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in allocateStream() 456 *stream_id, width, height, format, *usage, *max_buffers); in allocateStream()
|
/device/moto/shamu/camera/QCamera/HAL2/wrapper/ |
D | QualcommCamera.h | 71 uint32_t *usage,
|
D | QualcommCamera.cpp | 282 uint32_t *usage, in allocate_stream() argument 290 stream_id, format_actual, usage, max_buffers); in allocate_stream()
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraHWI.cpp | 392 uint32_t *usage, in allocate_stream() argument 419 *usage = GRALLOC_USAGE_HW_CAMERA_WRITE | CAMERA_GRALLOC_HEAP_ID in allocate_stream()
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | GLEncoder.h | 123 …void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
|
D | GLEncoder.cpp | 363 …der::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) in s_glBufferData() argument 371 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
|
D | gl_entry.cpp | 52 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); 567 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData() argument 570 ctx->glBufferData(ctx, target, size, data, usage); in glBufferData()
|
D | gl_enc.cpp | 766 void glBufferData_enc(void *self , GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData_enc() argument 783 memcpy(ptr, &usage, 4); ptr += 4; in glBufferData_enc()
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | GL2Encoder.h | 79 …void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
|
D | gl2_entry.cpp | 21 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); 298 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData() argument 301 ctx->glBufferData(ctx, target, size, data, usage); in glBufferData()
|
D | GL2Encoder.cpp | 193 …der::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) in s_glBufferData() argument 202 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
|
D | gl2_enc.cpp | 217 void glBufferData_enc(void *self , GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) in glBufferData_enc() argument 236 memcpy(ptr, &usage, 4); ptr += 4; in glBufferData_enc()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 687 || newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL){ in validateStreamDimensions() 871 (newStream->usage & private_handle_t::PRIV_FLAGS_VIDEO_ENCODER)) { in configureStreams() 902 newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL) { in configureStreams() 999 if (newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL in configureStreams() 1066 uint32_t stream_usage = newStream->usage; in configureStreams() 1070 || newStream->usage & GRALLOC_USAGE_HW_CAMERA_ZSL) in configureStreams() 1151 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams() 1152 newStream->usage |= GRALLOC_USAGE_HW_CAMERA_WRITE;//WR for inplace algo's in configureStreams() 1155 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams() 1161 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER) in configureStreams() [all …]
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraHWI.h | 211 uint32_t *usage,
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 271 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) in glBufferData() argument 273 getDispatch()->glBufferData(target, size, data, usage); in glBufferData()
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 759 uint32_t stream_usage = newStream->usage; in configureStreams() 811 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams() 814 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams() 820 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER) in configureStreams() 821 newStream->usage = in configureStreams() 826 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 535 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ; in configureStreams() 538 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ | in configureStreams() 542 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in configureStreams()
|