Searched defs:picture (Results 1 - 25 of 95) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDisplayList.cpp53 SkPicture* DisplayList::picture() const function in class:WebCore::DisplayList
H A DDeferredImageDecoderTest.cpp70 SkPicture* picture; member in struct:WebCore::__anon11146::Rasterizer
206 static void rasterizeMain(SkCanvas* canvas, SkPicture* picture) argument
208 canvas->drawPicture(*picture);
H A DGraphicsContextRecorder.cpp59 GraphicsContextSnapshot::GraphicsContextSnapshot(PassRefPtr<SkPicture> picture, bool isCertainlyOpaque) argument
60 : m_picture(picture)
69 explicit SnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) argument
70 : m_picture(picture)
89 FragmentSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) argument
90 : SnapshotPlayer(picture, canvas)
120 ProfilingSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) argument
121 : SnapshotPlayer(picture, canvas)
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_picture.cc16 // These tests deal with picture layers.
30 scoped_refptr<FakePictureLayer> picture = variable
32 layer_tree_host()->root_layer()->AddChild(picture); variable
43 // Drop the picture layer from the tree.
47 // Add a new picture layer.
48 scoped_refptr<FakePictureLayer> picture = variable
50 layer_tree_host()->root_layer()->AddChild(picture); variable
83 // and active layer. Then we recreate a picture layer in the 4th activate
/external/chromium_org/cc/debug/
H A Dtraced_picture.cc14 TracedPicture::TracedPicture(scoped_refptr<Picture> picture) argument
15 : picture_(picture),
23 TracedPicture::AsTraceablePicture(Picture* picture) { argument
25 new TracedPicture(picture));
H A Dpicture_record_benchmark.cc113 scoped_refptr<Picture> picture = Picture::Create(rect); local
114 picture->Record(painter, tile_grid_info);
/external/skia/dm/
H A DDMUtil.cpp13 void RecordPicture(skiagm::GM* gm, SkPicture* picture, uint32_t recordFlags) { argument
15 SkCanvas* canvas = picture->beginRecording(size.width(), size.height(), recordFlags);
19 picture->endRecording();
29 void DrawPicture(SkPicture* picture, SkBitmap* bitmap) { argument
30 SkASSERT(picture != NULL);
33 canvas.drawPicture(*picture);
/external/chromium_org/android_webview/native/
H A Daw_picture.cc14 AwPicture::AwPicture(skia::RefPtr<SkPicture> picture) argument
15 : picture_(picture) {
34 bool RenderPictureToCanvas(SkPicture* picture, SkCanvas* canvas) { argument
35 picture->draw(canvas);
49 LOG_IF(ERROR, !ok) << "Couldn't draw picture";
/external/chromium_org/ppapi/cpp/dev/
H A Dvideo_decoder_client_dev.cc47 const PP_Picture_Dev* picture) {
52 static_cast<VideoDecoderClient_Dev*>(object)->PictureReady(decoder, *picture);
45 PictureReady(PP_Instance instance, PP_Resource decoder, const PP_Picture_Dev* picture) argument
/external/chromium_org/third_party/skia/src/effects/
H A DSkPictureImageFilter.cpp14 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) argument
16 fPicture(picture),
17 fRect(SkRect::MakeWH(picture ? SkIntToScalar(picture->width()) : 0,
18 picture ? SkIntToScalar(picture->height()) : 0)) {
22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) argument
24 fPicture(picture),
36 // FIXME: unflatten picture here.
42 // FIXME: flatten picture her
[all...]
/external/chromium_org/third_party/skia/src/image/
H A DSkImagePriv.cpp62 void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, argument
69 x + SkIntToScalar(picture->width()),
70 y + SkIntToScalar(picture->height()));
78 canvas->drawPicture(*picture);
82 void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, argument
93 SkIntToScalar(picture->width()),
94 SkIntToScalar(picture->height()));
108 canvas->drawPicture(*picture);
/external/skia/src/effects/
H A DSkPictureImageFilter.cpp14 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) argument
16 fPicture(picture),
17 fRect(SkRect::MakeWH(picture ? SkIntToScalar(picture->width()) : 0,
18 picture ? SkIntToScalar(picture->height()) : 0)) {
22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) argument
24 fPicture(picture),
36 // FIXME: unflatten picture here.
42 // FIXME: flatten picture her
[all...]
/external/skia/src/image/
H A DSkImagePriv.cpp62 void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, argument
69 x + SkIntToScalar(picture->width()),
70 y + SkIntToScalar(picture->height()));
78 canvas->drawPicture(*picture);
82 void SkImagePrivDrawPicture(SkCanvas* canvas, SkPicture* picture, argument
93 SkIntToScalar(picture->width()),
94 SkIntToScalar(picture->height()));
108 canvas->drawPicture(*picture);
/external/chromium_org/cc/resources/
H A Dpicture_unittest.cc5 #include "cc/resources/picture.h"
43 // Invalid picture (not a dict).
49 // Single full-size rect picture.
57 // Reconstruct the picture.
75 // Two rect picture.
84 // Reconstruct the picture.
136 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local
137 picture->Record(&content_layer_client,
139 picture->GatherPixelRefs(tile_grid_info);
149 picture
233 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local
354 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local
[all...]
/external/chromium_org/cc/test/
H A Dskia_common.cc7 #include "cc/resources/picture.h"
63 scoped_refptr<Picture> picture) {
72 picture->Raster(&canvas, NULL, layer_rect, 1.0f);
61 DrawPicture(unsigned char* buffer, gfx::Rect layer_rect, scoped_refptr<Picture> picture) argument
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc32 // Returns the picture format for ARGB.
122 // creats a picture from the pixmap and composite the picture over
123 // the picture represending the window.
154 // Creates the picture representing the pixmap.
155 unsigned long picture = XRenderCreatePicture( local
158 // Composite the picture over the picture representing the window.
159 XRenderComposite(display_, PictOpSrc, picture, 0,
163 XRenderFreePicture(display_, picture);
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
H A DWEBPImageEncoder.cpp43 static int writeOutput(const uint8_t* data, size_t size, const WebPPicture* const picture) argument
45 static_cast<Vector<unsigned char>*>(picture->custom_ptr)->append(data, size);
49 static bool rgbPictureImport(const unsigned char* pixels, bool premultiplied, WebPImporter importRGBX, WebPImporter importRGB, WebPPicture* picture) argument
52 return importRGBX(picture, pixels, picture->width * 4);
57 size_t pixelCount = picture->height * picture->width;
73 return importRGB(picture, rgb.data(), picture->width * 3);
76 template <bool Premultiplied> inline bool importPictureBGRX(const unsigned char* pixels, WebPPicture* picture) argument
81 importPictureRGBX(const unsigned char* pixels, WebPPicture* picture) argument
[all...]
/external/skia/bench/
H A DPictureRecordBench.cpp54 SkAutoTDelete<SkPicture> picture; variable
61 picture.reset(SkNEW(SkPicture));
62 canvas = picture->beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
123 SkAutoTDelete<SkPicture> picture; variable
127 picture.reset(SkNEW(SkPicture));
128 canvas = picture->beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
161 SkPicture picture; variable
162 SkCanvas* canvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
H A DPicturePlaybackBench.cpp40 SkPicture picture; local
42 SkCanvas* pCanvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
44 picture.endRecording();
49 picture.draw(canvas);
/external/chromium_org/cc/layers/
H A Dcontent_layer.cc161 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); local
162 SkCanvas* canvas = picture->beginRecording(width, height);
164 picture->endRecording();
165 return picture;
H A Dpicture_layer.cc110 // the full page content must always be provided in the picture layer.
144 // picture. For now we just paint a fresh one to get consistent results.
152 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); local
153 SkCanvas* canvas = picture->beginRecording(width, height);
155 picture->endRecording();
156 return picture;
/external/chromium_org/content/renderer/media/
H A Dpepper_platform_video_decoder.cc102 void PlatformVideoDecoder::PictureReady(const media::Picture& picture) { argument
104 client_->PictureReady(picture);
/external/chromium_org/content/renderer/
H A Dskia_benchmarking_extension.cc11 #include "cc/resources/picture.h"
67 "chrome.skiaBenchmarking.rasterize = function(picture, params) {"
70 " @param {Object} picture A json-encoded cc::Picture."
82 " @returns undefined if the arguments are invalid or the picture"
86 " return Rasterize(picture, params);"
88 "chrome.skiaBenchmarking.getOps = function(picture) {"
91 " @param {Object} picture A json-encoded cc::Picture."
93 " @returns undefined if the arguments are invalid or the picture"
97 " return GetOps(picture);"
99 "chrome.skiaBenchmarking.getOpTimings = function(picture) {"
144 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local
238 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local
279 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local
318 scoped_refptr<cc::Picture> picture = ParsePictureStr(isolate, args[0]); local
[all...]
/external/chromium_org/ppapi/proxy/
H A Dppp_video_decoder_proxy.cc48 const PP_Picture_Dev* picture) {
54 API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource, *picture));
160 const HostResource& decoder, const PP_Picture_Dev& picture) {
168 &picture);
47 PictureReady(PP_Instance instance, PP_Resource decoder, const PP_Picture_Dev* picture) argument
159 OnMsgPictureReady( const HostResource& decoder, const PP_Picture_Dev& picture) argument
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestwin.c24 SDL_Surface *picture; local
34 fprintf(stderr, "Loading picture: %s\n", bmpfile);
35 picture = SDL_LoadBMP(bmpfile);
36 if ( picture == NULL ) {
43 if ( picture->format->palette ) {
44 ncolors = picture->format->palette->ncolors;
47 memcpy(colors, picture->format->palette->colors,
94 /* Display the picture */
98 fprintf(stderr, "Converting picture\n");
99 displayfmt = SDL_DisplayFormat(picture);
[all...]

Completed in 1632 milliseconds

1234