Lines Matching refs:use_flags
76 uint64_t use_flags = BO_USE_NONE; in gralloc0_convert_usage() local
79 use_flags |= BO_USE_NONE; in gralloc0_convert_usage()
81 use_flags |= BO_USE_SW_READ_RARELY; in gralloc0_convert_usage()
83 use_flags |= BO_USE_SW_READ_OFTEN; in gralloc0_convert_usage()
85 use_flags |= BO_USE_SW_WRITE_RARELY; in gralloc0_convert_usage()
87 use_flags |= BO_USE_SW_WRITE_OFTEN; in gralloc0_convert_usage()
89 use_flags |= BO_USE_TEXTURE; in gralloc0_convert_usage()
91 use_flags |= BO_USE_RENDERING; in gralloc0_convert_usage()
93 use_flags |= BO_USE_RENDERING; in gralloc0_convert_usage()
96 use_flags |= BO_USE_SCANOUT | BO_USE_TEXTURE; in gralloc0_convert_usage()
98 use_flags |= BO_USE_NONE; in gralloc0_convert_usage()
104 use_flags |= BO_USE_NONE; in gralloc0_convert_usage()
107 use_flags |= BO_USE_LINEAR; in gralloc0_convert_usage()
109 use_flags |= BO_USE_HW_VIDEO_ENCODER; in gralloc0_convert_usage()
111 use_flags |= BO_USE_SW_READ_OFTEN; in gralloc0_convert_usage()
114 use_flags |= BO_USE_CAMERA_WRITE; in gralloc0_convert_usage()
116 use_flags |= BO_USE_CAMERA_READ; in gralloc0_convert_usage()
118 use_flags |= BO_USE_RENDERSCRIPT; in gralloc0_convert_usage()
120 use_flags |= BO_USE_HW_VIDEO_DECODER; in gralloc0_convert_usage()
122 use_flags |= BO_USE_FRONT_RENDERING; in gralloc0_convert_usage()
124 return use_flags; in gralloc0_convert_usage()
159 descriptor.use_flags = gralloc0_convert_usage(usage); in gralloc0_alloc()
164 descriptor.use_flags &= ~BO_USE_SCANOUT; in gralloc0_alloc()
173 descriptor.use_flags &= ~BO_USE_HW_VIDEO_ENCODER; in gralloc0_alloc()
178 descriptor.use_flags &= ~BO_USE_FRONT_RENDERING; in gralloc0_alloc()
179 descriptor.use_flags |= BO_USE_LINEAR; in gralloc0_alloc()
187 static_cast<unsigned long long>(descriptor.use_flags)); in gralloc0_alloc()