Searched refs:picture (Results 51 - 75 of 322) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDisplayList.h62 // the picture created by the last endRecording call.
63 SkPicture* picture() const { return m_picture.get(); } function in class:blink::FINAL
64 void setPicture(SkPicture* picture) { m_picture = adoptRef(picture); } argument
/external/chromium_org/cc/resources/
H A Dpicture_pile_impl.cc74 // If this picture has opaque contents, it is guaranteeing that it will
138 // Rasterize the collection of relevant picture piles.
149 // Coalesce rasters of the same picture into different rects:
171 const Picture* picture = info.GetPicture(); local
172 if (!picture)
177 // of the picture chunk's layer rect. The min_contents_scale enforces that
184 << picture->LayerRect().ToString()
209 PictureRegionMap::iterator it = results->find(picture);
213 // canvas. Each picture added to the set must subtract its own bounds
214 // from the clip region, poking a hole so that the picture i
258 const Picture* picture = it->first; local
321 skia::RefPtr<SkPicture> picture = skia::AdoptRef(recorder.endRecording()); local
400 const Picture* picture = it->second.GetPicture(); local
417 const Picture* picture = it->second.GetPicture(); local
[all...]
/external/chromium_org/third_party/skia/tools/
H A Drender_pdfs_main.cpp164 static bool pdf_to_stream(SkPicture* picture, argument
169 SkCanvas* canvas = pdfDocument->beginPage(picture->cullRect().width(),
170 picture->cullRect().height());
171 canvas->drawPicture(picture);
249 SkAutoTUnref<SkPicture> picture(
251 if (NULL == picture.get()) {
258 picture->cullRect().fLeft, picture->cullRect().fTop,
259 picture->cullRect().fRight, picture
[all...]
H A Drender_pictures_main.cpp29 DEFINE_bool(bench_record, false, "If true, drop into an infinite loop of recording the picture.");
56 "the picture rendered in simple mode. When used in conjunction with --bbh, results "
57 "are validated against the picture rendered in the same mode, but without the bbh.");
180 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
182 if (NULL == picture) {
188 // Because the GPU preprocessing step relies on the in-memory picture
189 // statistics we need to rerecord the picture here
191 picture->playback(recorder.beginRecording(picture->cullRect().width(),
192 picture
[all...]
/external/chromium_org/native_client_sdk/src/examples/api/video_decode/
H A Dvideo_decode.cc56 PendingPicture(Decoder* decoder, const PP_VideoPicture& picture) argument
57 : decoder(decoder), picture(picture) {}
61 PP_VideoPicture picture; member in struct:__anon8890::PendingPicture
83 void PaintPicture(Decoder* decoder, const PP_VideoPicture& picture);
162 void RecyclePicture(const PP_VideoPicture& picture);
173 void PictureReady(int32_t result, PP_VideoPicture picture);
276 // Register callback to get the first picture. We call GetPicture again in
292 void Decoder::RecyclePicture(const PP_VideoPicture& picture) { argument
294 decoder_->RecyclePicture(picture);
333 PictureReady(int32_t result, PP_VideoPicture picture) argument
448 PaintPicture(Decoder* decoder, const PP_VideoPicture& picture) argument
464 const PP_VideoPicture& picture = next.picture; local
538 const PP_VideoPicture& picture = next.picture; local
[all...]
/external/chromium_org/ppapi/examples/video_decode/
H A Dvideo_decode.cc57 PendingPicture(Decoder* decoder, const PP_VideoPicture& picture) argument
58 : decoder(decoder), picture(picture) {}
62 PP_VideoPicture picture; member in struct:__anon10068::PendingPicture
84 void PaintPicture(Decoder* decoder, const PP_VideoPicture& picture);
163 void RecyclePicture(const PP_VideoPicture& picture);
174 void PictureReady(int32_t result, PP_VideoPicture picture);
277 // Register callback to get the first picture. We call GetPicture again in
293 void Decoder::RecyclePicture(const PP_VideoPicture& picture) { argument
295 decoder_->RecyclePicture(picture);
334 PictureReady(int32_t result, PP_VideoPicture picture) argument
449 PaintPicture(Decoder* decoder, const PP_VideoPicture& picture) argument
465 const PP_VideoPicture& picture = next.picture; local
539 const PP_VideoPicture& picture = next.picture; local
[all...]
/external/skia/debugger/
H A DSkDebugger.cpp29 void SkDebugger::loadPicture(SkPicture* picture) { argument
30 fPictureWidth = picture->width();
31 fPictureHeight = picture->height();
35 fDebugCanvas->setPicture(picture);
36 picture->draw(fDebugCanvas);
39 SkRefCnt_SafeAssign(fPicture, picture);
/external/chromium-trace/trace-viewer/src/cc/
H A Dpicture_debugger.js9 base.require('cc.picture');
21 * the picture in detail. (e.g., timing information, etc.)
25 var PictureDebugger = ui.define('picture-debugger');
35 this.pictureInfo_ = document.createElement('picture-info');
109 get picture() {
113 set picture(picture) {
114 this.drawOpsView_.picture = picture;
115 this.picture_ = picture;
[all...]
H A Dpicture_ops_list_view_test.js8 base.require('cc.picture');
26 view.picture = snapshot;
40 view.picture = snapshot;
H A Dlayer_tree_quad_stack_viewer.js17 base.require('cc.picture');
37 this.pictureAsCanvas_ = {}; // Maps picture.guid to PictureAsCanvas.
160 var picture = layer.pictures[ir];
162 if (picture.idRef) {
166 if (!picture.layerRect) {
171 var pictureAsCanvas = this.pictureAsCanvas_[picture.guid];
174 this.pictureAsCanvas_[picture.guid] =
176 picture.rasterize(
179 var picture_ = pictureAsCanvas.picture;
201 header: 'Missing picture',
[all...]
H A Dpicture_view.js9 base.require('cc.picture');
18 * Displays a picture snapshot in a human readable form.
22 'picture-snapshot-view',
29 this.classList.add('picture-snapshot-view');
36 this.pictureDebugger_.picture = this.objectSnapshot_;
/external/chromium_org/android_webview/native/
H A Daw_picture.h22 AwPicture(skia::RefPtr<SkPicture> picture);
/external/chromium_org/android_webview/public/browser/
H A Ddraw_sw.h38 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
/external/chromium_org/cc/debug/
H A Dtraced_picture.h12 #include "cc/resources/picture.h"
21 AsTraceablePicture(const Picture* picture);
/external/chromium_org/ppapi/api/
H A Dppb_video_decoder.idl132 * If the call to Decode() eventually results in a picture, the |decode_id|
133 * parameter is copied into the returned picture. The plugin can use this to
163 * Gets the next picture from the decoder. The picture is valid after the
166 * When the plugin is finished using the picture, it should return it to the
171 * @param[out] picture A <code>PP_VideoPicture</code> to hold the decoded
172 * picture.
185 [out] PP_VideoPicture picture,
189 * Recycles a picture that the plugin has received from the decoder.
195 * @param[in] picture
[all...]
/external/chromium_org/ppapi/cpp/dev/
H A Dvideo_decoder_client_dev.h32 // Callback for decoder to deliver unneeded picture buffers back to the
39 const PP_Picture_Dev& picture) = 0;
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/ppapi/cpp/
H A Dvideo_decoder.h91 /// If the call to Decode() eventually results in a picture, the |decode_id|
92 /// parameter is copied into the returned picture. The plugin can use this to
116 /// Gets the next picture from the decoder. The picture is valid after the
119 /// When the plugin is finished using the picture, it should return it to the
123 /// called on completion, and on success, to hold the picture descriptor.
134 /// Recycles a picture that the plugin has received from the decoder.
138 /// @param[in] picture A <code>PP_VideoPicture</code> to return to the
140 void RecyclePicture(const PP_VideoPicture& picture);
/external/chromium_org/third_party/skia/dm/
H A DDMUtil.h21 // Draw gm to picture. If skr is true, uses EXPERIMENTAL_beginRecording().
31 // Draw picture to bitmap.
32 void DrawPicture(const SkPicture& picture, SkBitmap* bitmap);
/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...]
/external/skia/dm/
H A DDMUtil.h21 // Draw gm to picture. Passes recordFlags to SkPictureRecorder::beginRecording().
31 // Draw picture to bitmap.
32 void DrawPicture(SkPicture* picture, SkBitmap* bitmap);
/external/chromium_org/ppapi/api/dev/
H A Dppp_video_decoder_dev.idl46 * Callback function for decoder to deliver unneeded picture buffers back to
52 * |picture_buffer| points to the picture buffer that is no longer needed.
67 * |picture| is the picture that is ready.
72 [in] PP_Picture_Dev picture);
/external/chromium_org/third_party/skia/src/core/
H A DSkPicturePlayback.h20 // The basic picture playback class replays the provided picture into a canvas.
21 // If the picture was generated with a BBH it is used to accelerate drawing
25 SkPicturePlayback(const SkPicture* picture) argument
26 : fPictureData(picture->fData.get())
/external/skia/src/gpu/
H A DGrLayerCache.h80 // is the index of this layer in the picture (one of 0 .. #layers).
105 GrCachedLayer* findLayerOrCreate(const SkPicture* picture, int id);
116 GrCachedLayer* createLayer(const SkPicture* picture, int id);
H A DGrPictureUtils.cpp21 // a picture. The results are stored in a GPUAccelData.
32 GrGatherDevice(int width, int height, const SkPicture* picture, GPUAccelData* accelData, argument
34 fPicture = picture;
166 // The picture being processed
211 // GrGatherDevice dev(w, h, picture, accelData);
212 // GrGatherCanvas canvas(..., picture);
250 virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE {
253 if (NULL != picture->fPlayback) {
254 picture->fPlayback->setUseBBH(false);
256 picture
[all...]

Completed in 764 milliseconds

1234567891011>>