OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:frameSurface
(Results
1 - 7
of
7
) sorted by null
/external/mesa3d/src/pixelflinger2/
buffer.cpp
144
if (GL_COLOR_BUFFER_BIT & buf && ctx->
frameSurface
.data) {
145
if (GGL_PIXEL_FORMAT_RGBA_8888 == ctx->
frameSurface
.format) {
146
unsigned * const end = (unsigned *)ctx->
frameSurface
.data +
147
ctx->
frameSurface
.width * ctx->
frameSurface
.height;
149
for (unsigned * start = (unsigned *)ctx->
frameSurface
.data; start < end; start++)
151
} else if (GGL_PIXEL_FORMAT_RGB_565 == ctx->
frameSurface
.format) {
152
short * const end = (short *)ctx->
frameSurface
.data +
153
ctx->
frameSurface
.width * ctx->
frameSurface
.height
[
all
...]
scanline.cpp
249
GGLScanLine(ctx->CurrentProgram, ctx->
frameSurface
.format, ctx->
frameSurface
.data,
251
ctx->
frameSurface
.width, ctx->
frameSurface
.height, &ctx->activeStencil,
256
// // assert(GGL_PIXEL_FORMAT_RGBA_8888 == ctx->
frameSurface
.format);
258
// // assert(ctx->
frameSurface
.width == ctx->depthSurface.width);
259
// // assert(ctx->
frameSurface
.height == ctx->depthSurface.height);
265
// //assert(ctx->
frameSurface
.width > startX && ctx->
frameSurface
.width > endX);
266
// //assert(ctx->
frameSurface
.height > y)
[
all
...]
pixelflinger2.h
87
GGLSurface
frameSurface
;
raster.cpp
161
const unsigned width = ctx->
frameSurface
.width, height = ctx->
frameSurface
.height;
341
const unsigned height = ctx->
frameSurface
.height;
/external/mesa3d/test/
main.cpp
98
GGLSurface
frameSurface
= {0};
102
frameSurface
.data = PresentDrawingSurface();
105
frameSurface
.data = (unsigned int *)malloc(width * height * 4);
108
frameSurface
.format = GGL_PIXEL_FORMAT_RGBA_8888;
109
frameSurface
.width = width;
110
frameSurface
.height = height;
172
ggl->SetBuffer(ggl, GL_COLOR_BUFFER_BIT, &
frameSurface
);
336
//memcpy(((GGLContext *)ggl)->
frameSurface
.data, ((GGLContext *)ggl)->textureState.textures[0].levels[0], width * height * 4);
362
//// ((unsigned *)
frameSurface
.data)[index] = ((unsigned *)textureGGLContext->textureState.textures[0].levels[0])[index];
366
// ((unsigned *)
frameSurface
.data)[index] = color[0]
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
ImageCairo.cpp
188
cairo_surface_t*
frameSurface
= frameAtIndex(0);
189
if (!
frameSurface
)
192
ASSERT(cairo_surface_get_type(
frameSurface
) == CAIRO_SURFACE_TYPE_IMAGE);
194
int width = cairo_image_surface_get_width(
frameSurface
);
195
int height = cairo_image_surface_get_height(
frameSurface
);
200
unsigned* pixelColor = reinterpret_cast<unsigned*>(cairo_image_surface_get_data(
frameSurface
));
/frameworks/base/opengl/libagl2/src/
texture.cpp
211
assert(texFormat == ctx->rasterizer.
frameSurface
.format);
216
assert(y + height <= ctx->rasterizer.
frameSurface
.height);
217
assert(x + width <= ctx->rasterizer.
frameSurface
.width);
226
CopyTexture((char *)tex.levels, (const char *)ctx->rasterizer.
frameSurface
.data, bytesPerPixel,
227
x, y, ctx->rasterizer.
frameSurface
.width, 0, 0, width, width, height);
251
assert(tex.format == ctx->rasterizer.
frameSurface
.format);
254
const unsigned srcWidth = ctx->rasterizer.
frameSurface
.width;
255
const unsigned srcHeight = ctx->rasterizer.
frameSurface
.height;
266
CopyTexture((char *)tex.levels, (const char *)ctx->rasterizer.
frameSurface
.data, bytesPerPixel,
Completed in 75 milliseconds