/external/chromium_org/ash/wm/workspace/ |
H A D | workspace_window_resizer.cc | 584 // Reallocate any leftover pixels back into the main window. This is 587 // Adding the pixels back to the main window effectively prevents the main 647 int pixels, 649 bool shrinking = pixels < 0; 658 int remaining_pixels = pixels; 661 int grow_by = pixels * ratios[i]; 662 // Put any leftover pixels into the last window. 669 // Because this window overflowed, some of the pixels in 671 // unfairly giving all those pixels to the last window, we refrain from 673 // the pixels fairl 646 GrowFairly( int pixels, std::vector<WindowSize>& sizes) const argument [all...] |
/external/chromium_org/cc/layers/ |
H A D | heads_up_display_layer_impl.cc | 202 const void* pixels = hud_canvas_->peekPixels(&info, &row_bytes); local 203 DCHECK(pixels); 207 static_cast<const uint8_t*>(pixels),
|
/external/chromium_org/cc/output/ |
H A D | renderer_pixeltest.cc | 126 std::vector<uint32_t> pixels(rect.size().GetArea(), pixel_color); 135 reinterpret_cast<uint8_t*>(&pixels.front()), 2061 // At a scale of 4x the rectangles with a width of 2.5 will take up 10 pixels, 2161 uint32_t pixels[16] = { local 2175 reinterpret_cast<uint8_t*>(pixels),
|
/external/chromium_org/cc/resources/ |
H A D | resource_provider.h | 145 // Update pixels from image, copying source_rect (in image) to dest_offset (in 322 // set resource pixels without performing unnecessary copying. 328 // Asynchronously update pixels from acquired pixel buffer. 337 // Maps the acquired image so that its pixels could be modified. 338 // Unmap is called when all pixels are set. 369 // Copy pixels from source to destination. 391 Resource(uint8_t* pixels, 405 // Pixel buffer used for set pixels without unnecessary copying. 407 // Query used to determine when asynchronous set pixels complete. 413 uint8_t* pixels; member in struct:cc::ResourceProvider::Resource [all...] |
/external/chromium_org/cc/test/ |
H A D | test_gles2_interface.cc | 189 const void* pixels) { 198 pixels); 209 const void* pixels) { 211 target, level, xoffset, yoffset, width, height, format, type, pixels); 268 const void* pixels) { 277 pixels); 288 const void* pixels) { 290 target, level, xoffset, yoffset, width, height, format, type, pixels); 181 TexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 201 TexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument 260 AsyncTexImage2DCHROMIUM(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 280 AsyncTexSubImage2DCHROMIUM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
|
/external/chromium_org/content/browser/compositor/ |
H A D | delegated_frame_host.cc | 601 uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); local 616 pixels, 740 // pixels.
|
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper.cc | 161 // Note that dst_size is specified in bytes, not pixels. 207 // thread, by resetting the texture and pixels fields. Alternatively, the 208 // thread marks that it handles the request by resetting the pixels field 222 pixels(pixels_), 231 unsigned char* pixels; member in struct:content::GLHelper::CopyTextureToImpl::Request 316 // Copies the block of pixels specified with |src_subrect| from |src_texture|, 328 // Converts each four consecutive pixels of the source texture into one pixel 330 // color of one of the four original pixels: 339 // If swizzle is set to true, the transformed pixels are reordered: 582 // Readback the pixels o [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | texture_manager.h | 713 const void* pixels; member in struct:gpu::gles2::TextureManager::DoTextImage2DArguments
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
H A D | earth.cc | 82 uint32_t* pixels; member in struct:__anon8893::Texture 84 pixels = new uint32_t[w * h]; 85 memset(pixels, 0, sizeof(uint32_t) * w * h); 88 pixels = new uint32_t[w * h]; 89 memcpy(pixels, p, sizeof(uint32_t) * w * h); 91 ~Texture() { delete[] pixels; } 207 uint32_t* pixels); 403 uint32_t* pixels = this->wGetAddr(x0, y); 421 *pixels = kColorBlack; 422 ++pixels; [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
H A D | earth.cc | 139 uint32_t* pixels; member in struct:__anon8895::Texture 141 pixels = new uint32_t[w * h]; 142 memset(pixels, 0, sizeof(uint32_t) * w * h); 145 pixels = new uint32_t[w * h]; 146 memcpy(pixels, p, sizeof(uint32_t) * w * h); 148 ~Texture() { delete[] pixels; } 255 uint32_t* pixels); 468 uint32_t* pixels = this->wGetAddr(x0, y); 486 *pixels = kColorBlack; 487 ++pixels; [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
H A D | voronoi.cc | 113 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); 245 // Quickly fill a span of pixels with a solid color. Assumes 248 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { argument 254 *pixels++ = color; 255 *pixels++ = color; 256 *pixels++ = color; 257 *pixels++ = color; 266 uint32_t* pixels = wGetAddr(x, y); local 268 wFillSpan(pixels, color, w); 269 pixels 282 uint32_t* pixels = wGetAddr(x, y); local [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/ |
H A D | earth.cc | 75 uint32_t* pixels; member in struct:__anon8907::Texture 77 pixels = new uint32_t[w * h]; 78 memset(pixels, 0, sizeof(uint32_t) * w * h); 81 pixels = new uint32_t[w * h]; 82 memcpy(pixels, p, sizeof(uint32_t) * w * h); 84 ~Texture() { delete[] pixels; } 206 uint32_t* pixels); 226 // Push the pixels to the browser, then attempt to flush the 2D context. 441 uint32_t* pixels = this->wGetAddr(x0, y); 459 *pixels [all...] |
/external/chromium_org/skia/ext/ |
H A D | vector_platform_device_emf_win.cc | 899 const uint32_t* pixels = static_cast<const uint32_t*>(bitmap.getPixels()); local 900 if (pixels == NULL) { 910 if (SkColorGetA(pixels[(y2 * row_length) + x2]) != 255) { 941 memcpy(dest_buffer + dest_offset, pixels + src_offset, dest_row_size); 977 pixels,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
H A D | DrawingBuffer.cpp | 53 // Global resource ceiling (expressed in terms of pixels) for DrawingBuffer creation and resize. 230 unsigned char* pixels = bitmap->pixels(); local 233 if (pixels) 234 readBackFramebuffer(pixels, size().width(), size().height(), ReadbackSkia, op); 931 RefPtr<Uint8ClampedArray> pixels = Uint8ClampedArray::createUninitialized(width * height * 4); 934 readBackFramebuffer(pixels->data(), width, height, ReadbackRGBA, WebGLImageConversion::AlphaDoNothing); 935 flipVertically(pixels->data(), width, height); 937 return pixels.release(); 942 unsigned char* pixels local 981 readBackFramebuffer(unsigned char* pixels, int width, int height, ReadbackOrder readbackOrder, WebGLImageConversion::AlphaOp op) argument [all...] |
H A D | WebGLImageConversion.cpp | 1656 const void* pixels, 1667 if (!pixels) 1676 if (!packPixels(reinterpret_cast<const uint8_t*>(pixels), sourceFormat, width, height, sourceUnpackAlignment, format, type, alphaOp, data.data(), flipY)) 1715 const void* pixels, 1728 if (!packPixels(static_cast<const uint8_t*>(pixels), sourceDataFormat, width, height, unpackAlignment, format, type, (premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing), data.data(), flipY)) 1654 packImageData( Image* image, const void* pixels, GLenum format, GLenum type, bool flipY, AlphaOp alphaOp, DataFormat sourceFormat, unsigned width, unsigned height, unsigned sourceUnpackAlignment, Vector<uint8_t>& data) argument 1709 extractTextureData( unsigned width, unsigned height, GLenum format, GLenum type, unsigned unpackAlignment, bool flipY, bool premultiplyAlpha, const void* pixels, Vector<uint8_t>& data) argument
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebGraphicsContext3D.h | 293 virtual void readPixels(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, void* pixels) = 0; 308 virtual void texImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) = 0; 313 virtual void texSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) = 0; 444 virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) { } argument 445 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { } argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES3.cpp | 281 GLint border, GLenum format, GLenum type, const GLvoid *pixels) 546 size_t offset = reinterpret_cast<size_t>(pixels); 279 ValidateES3TexImageParameters(Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pack.c | 149 _mesa_unpack_bitmap( GLint width, GLint height, const GLubyte *pixels, argument 155 if (!pixels) 168 _mesa_image_address2d(packing, pixels, width, height, 1326 * Pack/store the pixels. Ugh! Lots of cases!!! 2986 * Return source/dest RGBA indexes for unpacking pixels. 3123 * Args: n - number of pixels 4233 * n - number of pixels in the span 4759 /* Extract image data as uint[4] pixels */ 4912 * n - number of pixels 5131 * n - number of pixels 5839 _mesa_unpack_image( GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack ) argument [all...] |
H A D | texcompress_fxt1.c | 64 const GLubyte *pixels; local 85 pixels = tempImage; 90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, 115 const GLubyte *pixels; local 135 pixels = tempImage; 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 149 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, 1627 fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */
|
H A D | teximage.c | 1697 * Return compressed texture block size, in pixels. 2893 *width = *width - 2; /* reduce the width by two border pixels */ 2898 *height = *height - 2; /* reduce the height by two border pixels */ 2903 *depth = *depth - 2; /* reduce the depth by two border pixels */ 2921 GLsizei imageSize, const GLvoid *pixels) 2937 width, height, depth, border, pixels); 2946 _mesa_lookup_enum_by_nr(type), pixels); 2988 width, height, imageSize, pixels); 3075 /* Give the texture to the driver. <pixels> may be null. */ 3079 imageSize, pixels); 2917 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 476 * If 'pixels' is NULL, leave the texture image data undefined. 482 const GLvoid *pixels) 501 pixels = _mesa_map_pbo_source(ctx, unpack, pixels); 502 if (!pixels) 540 pixels, /* data source */ 832 const GLvoid *pixels) 876 pixels = _mesa_map_pbo_source(ctx, &clippedUnpack, pixels); 877 assert(pixels); 479 make_texture(struct st_context *st, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 829 draw_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 1090 st_DrawPixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument [all...] |
H A D | st_cb_texture.c | 526 GLenum format, GLenum type, const void *pixels, 530 _mesa_store_teximage(ctx, dims, texImage, format, type, pixels, unpack); 551 GLenum format, GLenum type, GLvoid *pixels, 620 pixels = _mesa_map_pbo_dest(ctx, &ctx->Pack, pixels); 631 GLvoid *dest = _mesa_image_address2d(&ctx->Pack, pixels, width, 652 GLvoid *dest = _mesa_image_address2d(&ctx->Pack, pixels, width, 687 GLenum format, GLenum type, GLvoid * pixels, 698 decompress_with_blit(ctx, format, type, pixels, texImage); 701 _mesa_get_teximage(ctx, format, type, pixels, texImag 524 st_TexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument 550 decompress_with_blit(struct gl_context * ctx, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 686 st_GetTexImage(struct gl_context * ctx, GLenum format, GLenum type, GLvoid * pixels, struct gl_texture_image *texImage) argument [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkCanvas.h | 71 * The caller can access the pixels after drawing into this canvas by 98 * specified pixels. To access the pixels after drawing to them, the caller should call 113 static SkCanvas* NewRasterDirectN32(int width, int height, SkPMColor* pixels, size_t rowBytes) { argument 114 return NewRasterDirect(SkImageInfo::MakeN32Premul(width, height), pixels, rowBytes); 118 * Creates an empty canvas with no backing device/pixels, and zero 125 * by any device/pixels. Typically this use used by subclasses who handle 146 * Return ImageInfo for this canvas. If the canvas is not backed by pixels 173 * the bitmap of the pixels that the canvas draws into. The reference count 221 * If the canvas has writable pixels i [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmap.cpp | 64 // way to track changes to raw pixels across multiple SkBitmaps. 160 void* p = fPixelRef->pixels(); 340 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, argument 351 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, 409 /** We explicitly use the same allocator for our pixels that SkMask does, 758 return false; // no src pixels 860 // if x or y are negative, then we have to adjust pixels 874 // since we don't stop creating un-pixeled devices yet, check for no pixels here 891 // if we have a texture, first get those pixels 902 // (GrPixelRef) assumes premultiplied pixels [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkBlurMask.cpp | 37 * "transpose" parameter is true, it will transpose the pixels on write, 716 void SkBlurMask::ComputeBlurredScanline(uint8_t *pixels, const uint8_t *profile, argument 731 pixels[x] = ProfileLookup(profile, x, width, w); 735 pixels[x] = (uint8_t) (255 * (gaussianIntegral(giX) - gaussianIntegral(giX + span)));
|