Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 8 of 8) sorted by relevance

/system/extras/slideshow/
Dslideshow.cpp58 GRSurface* surface; in draw() local
61 if (res_create_display_surface(resname, &surface) < 0) { in draw()
66 w = gr_get_width(surface); in draw()
67 h = gr_get_height(surface); in draw()
71 gr_blit(surface, 0, 0, w, h, x, y); in draw()
74 res_free_surface(surface); in draw()
/system/core/healthd/
Dhealthd_mode_charger.cpp91 GRSurface* surface; member
127 .surface = NULL,
133 .surface = NULL,
139 .surface = NULL,
145 .surface = NULL,
151 .surface = NULL,
157 .surface = NULL,
277 static int draw_surface_centered(struct charger* /*charger*/, GRSurface* surface) in draw_surface_centered() argument
284 w = gr_get_width(surface); in draw_surface_centered()
285 h = gr_get_height(surface); in draw_surface_centered()
[all …]
/system/core/libpixelflinger/
Dpixelflinger.cpp93 static void ggl_bindTexture(void* con, const GGLSurface* surface) in ggl_bindTexture() argument
96 if (surface->format != c->activeTMU->surface.format) in ggl_bindTexture()
98 ggl_set_surface(c, &(c->activeTMU->surface), surface); in ggl_bindTexture()
102 static void ggl_bindTextureLod(void* con, GGLuint tmu,const GGLSurface* surface) in ggl_bindTextureLod() argument
106 ggl_set_surface(c, &c->state.texture[tmu].surface, surface); in ggl_bindTextureLod()
109 static void ggl_colorBuffer(void* con, const GGLSurface* surface) in ggl_colorBuffer() argument
112 if (surface->format != c->state.buffers.color.format) in ggl_colorBuffer()
115 if (surface->width > c->state.buffers.coverageBufferSize) { in ggl_colorBuffer()
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); in ggl_colorBuffer()
120 c->state.buffers.coverage ? surface->width : 0; in ggl_colorBuffer()
[all …]
Dscanline.cpp730 const int w = tx.surface.width; in scanline()
739 const int h = tx.surface.height; in scanline()
752 tx.surface.read(&tx.surface, c, u, v, &texel); in scanline()
754 const int w = tx.surface.width; in scanline()
755 const int h = tx.surface.height; in scanline()
786 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]); in scanline()
787 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]); in scanline()
788 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]); in scanline()
789 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]); in scanline()
974 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v)); in horz_iterator32()
[all …]
Dpicker.cpp138 t |= GGL_BUILD_NEEDS(tx.surface.format, T_FORMAT); in ggl_pick()
Dbuffer.cpp87 surface_t& s = c->state.texture[i].surface; in ggl_pick_texture()
/system/core/libpixelflinger/include/pixelflinger/
Dpixelflinger.h218 void (*bindTexture)(void* c, const GGLSurface* surface);
219 void (*colorBuffer)(void* c, const GGLSurface* surface);
220 void (*readBuffer)(void* c, const GGLSurface* surface);
221 void (*depthBuffer)(void* c, const GGLSurface* surface);
222 void (*bindTextureLod)(void* c, GGLuint tmu, const GGLSurface* surface);
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h410 surface_t surface;