Lines Matching refs:surface
68 std::unique_ptr<Surface> surface;
82 ALOGE("dvrSurfaceCreate: Invalid surface attribute type: %" PRIu64,
89 ALOGE("dvrSurfaceCreate:: Failed to create display surface: %s",
98 void dvrSurfaceDestroy(DvrSurface* surface) { delete surface; }
100 int dvrSurfaceGetId(DvrSurface* surface) {
101 return surface->surface->surface_id();
104 int dvrSurfaceSetAttributes(DvrSurface* surface,
107 if (surface == nullptr || attributes == nullptr) {
109 "dvrSurfaceSetAttributes: Invalid inputs: surface=%p attributes=%p "
111 surface, attributes, attribute_count);
119 ALOGE("dvrSurfaceSetAttributes: Invalid surface attribute type: %" PRIu64,
124 auto status = surface->surface->SetAttributes(surface_attributes);
134 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width,
139 if (surface == nullptr || out_writer == nullptr) {
141 "dvrSurfaceCreateWriteBufferQueue: Invalid inputs: surface=%p, "
143 surface, out_writer);
147 auto status = surface->surface->CreateQueue(width, height, layer_count,