/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsContextRecorder.cpp | 73 GraphicsContextSnapshot::GraphicsContextSnapshot(PassRefPtr<SkPicture> picture) argument 74 : m_picture(picture) 95 RefPtr<SkPicture> picture = adoptRef(SkPicture::CreateFromStream(&stream, decodeBitmap)); local 96 if (!picture) 98 return adoptRef(new GraphicsContextSnapshot(picture));
|
H A D | DeferredImageDecoderTest.cpp | 65 SkPicture* picture; member in struct:blink::__anon11308::Rasterizer 162 RefPtr<SkPicture> picture = adoptRef(recorder.endRecording()); local 165 m_canvas->drawPicture(picture.get()); 185 RefPtr<SkPicture> picture = adoptRef(recorder.endRecording()); local 186 m_canvas->drawPicture(picture.get()); 193 picture = adoptRef(recorder.endRecording()); 194 m_canvas->drawPicture(picture.get()); 203 static void rasterizeMain(SkCanvas* canvas, SkPicture* picture) argument 205 canvas->drawPicture(picture); 220 RefPtr<SkPicture> picture local 326 RefPtr<SkPicture> picture = adoptRef(recorder.endRecording()); local [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SamplePictFile.cpp | 94 SkPicture** picture = fPictures + fBBox; variable 96 if (!*picture) { 97 *picture = LoadPicture(fFilename.c_str(), fBBox); 99 if (*picture) { 100 canvas->drawPicture(*picture); 136 SkDebugf("coun't load picture at \"path\"\n", path);
|
/external/skia/samplecode/ |
H A D | SamplePictFile.cpp | 97 SkPicture** picture = fPictures + fBBox; variable 99 if (!*picture) { 100 *picture = LoadPicture(fFilename.c_str(), fBBox); 102 if (*picture) { 103 canvas->drawPicture(*picture); 138 SkDebugf("coun't load picture at \"path\"\n", path);
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | alpha.c | 54 WebPPicture picture; local 57 WebPPictureInit(&picture); 58 picture.width = width; 59 picture.height = height; 60 picture.use_argb = 1; 61 picture.stats = stats; 62 if (!WebPPictureAlloc(&picture)) return 0; 67 uint32_t* dst = picture.argb; 69 for (j = 0; j < picture.height; ++j) { 70 for (i = 0; i < picture [all...] |
H A D | vp8l.c | 1020 const WebPPicture* const picture) { 1023 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); 1027 enc->pic_ = picture; 1048 const WebPPicture* const picture, 1052 const int width = picture->width; 1053 const int height = picture->height; 1054 VP8LEncoder* const enc = VP8LEncoderNew(config, picture); 1086 picture->argb + y * picture->argb_stride, 1130 if (picture 1019 VP8LEncoderNew(const WebPConfig* const config, const WebPPicture* const picture) argument 1047 VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw) argument 1149 VP8LEncodeImage(const WebPConfig* const config, const WebPPicture* const picture) argument [all...] |
/external/webp/src/enc/ |
H A D | alpha.c | 54 WebPPicture picture; local 57 WebPPictureInit(&picture); 58 picture.width = width; 59 picture.height = height; 60 picture.use_argb = 1; 61 picture.stats = stats; 62 if (!WebPPictureAlloc(&picture)) return 0; 67 uint32_t* dst = picture.argb; 69 for (j = 0; j < picture.height; ++j) { 70 for (i = 0; i < picture [all...] |
H A D | vp8l.c | 1020 const WebPPicture* const picture) { 1023 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); 1027 enc->pic_ = picture; 1048 const WebPPicture* const picture, 1052 const int width = picture->width; 1053 const int height = picture->height; 1054 VP8LEncoder* const enc = VP8LEncoderNew(config, picture); 1086 picture->argb + y * picture->argb_stride, 1130 if (picture 1019 VP8LEncoderNew(const WebPConfig* const config, const WebPPicture* const picture) argument 1047 VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw) argument 1149 VP8LEncodeImage(const WebPConfig* const config, const WebPPicture* const picture) argument [all...] |
/external/chromium_org/cc/resources/ |
H A D | picture.cc | 5 #include "cc/resources/picture.h" 93 scoped_refptr<Picture> picture = make_scoped_refptr(new Picture(layer_rect)); local 95 picture->Record(client, tile_grid_info, recording_mode); 97 picture->GatherPixelRefs(tile_grid_info); 99 return picture; 106 // the picture to be recorded in Picture::Record. 110 // Decode the picture from base64. 119 // Read the picture. This creates an empty picture on failure. 133 // Decode the picture fro 158 Picture(SkPicture* picture, const gfx::Rect& layer_rect) argument 164 Picture(const skia::RefPtr<SkPicture>& picture, const gfx::Rect& layer_rect, const PixelRefMap& pixel_refs) argument 449 PixelRefIterator( const gfx::Rect& rect, const Picture* picture) argument [all...] |
H A D | picture_pile_base.cc | 20 // Dimensions of the tiles in this picture pile as well as the dimensions of 21 // the base picture in each tile. 93 // buffer margin is added so that any picture can be snapped to integral 201 const Picture* picture = map_iter->second.GetPicture(); local 202 if (picture && (appended_pictures.count(picture) == 0)) { 203 appended_pictures.insert(picture); 204 TracedValue::AppendIDRef(picture, pictures); 236 // We only need recording if we don't have a picture. Furthermore, we only 245 void PicturePileBase::PictureInfo::SetPicture(scoped_refptr<Picture> picture) { argument [all...] |
/external/chromium_org/third_party/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 82 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&stream)); 85 SkRandom rand(picture->cullRect().width() * picture->cullRect().height()); 86 SkScalar r = rand.nextRangeScalar(0, picture->cullRect().width()), 87 b = rand.nextRangeScalar(0, picture->cullRect().height()), 101 // Send the picture and its header. 146 SkAutoTUnref<SkPicture> picture(recv_picture(data, &header)); 155 picture->playback(canvas); 178 DEFINE_string(data, "ipc://nanomsg-picture-data", "Endpoint for sending pictures."); 179 DEFINE_string(control, "ipc://nanomsg-picture [all...] |
/external/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 82 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&stream)); 85 SkRandom rand(picture->width() * picture->height()); 86 SkScalar r = rand.nextRangeScalar(0, picture->width()), 87 b = rand.nextRangeScalar(0, picture->height()), 101 // Send the picture and its header. 146 SkAutoTUnref<SkPicture> picture(recv_picture(data, &header)); 155 picture->draw(canvas); 178 DEFINE_string(data, "ipc://nanomsg-picture-data", "Endpoint for sending pictures."); 179 DEFINE_string(control, "ipc://nanomsg-picture [all...] |
/external/skia/src/core/ |
H A D | SkPictureShader.cpp | 21 SkPictureShader::SkPictureShader(SkPicture* picture, TileMode tmx, TileMode tmy, argument 24 , fPicture(SkRef(picture)) 39 SkPictureShader* SkPictureShader::Create(SkPicture* picture, TileMode tmx, TileMode tmy, argument 41 if (!picture || 0 == picture->width() || 0 == picture->height()) { 44 return SkNEW_ARGS(SkPictureShader, (picture, tmx, tmy, localMatrix));
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkPictureShader.cpp | 21 SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, argument 24 , fPicture(SkRef(picture)) 25 , fTile(tile ? *tile : picture->cullRect()) 43 SkPictureShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, argument 45 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { 48 return SkNEW_ARGS(SkPictureShader, (picture, tmx, tmy, localMatrix, tile)); 58 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromBuffer(buffer)); 59 return SkPictureShader::Create(picture, mx, my, &lm, &tile);
|
/external/chromium_org/ppapi/cpp/ |
H A D | video_decoder.cc | 98 void VideoDecoder::RecyclePicture(const PP_VideoPicture& picture) { argument 101 &picture); local 104 &picture); local
|
/external/skia/tools/ |
H A D | render_pictures_main.cpp | 29 DEFINE_int32(clone, 0, "Clone the picture n times before rendering."); 48 "the picture rendered in simple mode. When used in conjunction with --bbh, results " 49 "are validated against the picture rendered in the same mode, but without the bbh."); 51 DEFINE_bool(bench_record, false, "If true, drop into an infinite loop of recording the picture."); 176 SkPicture* picture = SkPicture::CreateFromStream(&inputStream, proc); local 178 if (NULL == picture) { 185 picture->draw(recorder.beginRecording(picture->width(), picture->height(), NULL, 0)); 190 SkPicture* clone = picture [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | video_decoder_resource_unittest.cc | 181 PP_VideoPicture* picture, 185 picture, 192 const PP_VideoPicture& picture) { 193 decoder_iface()->RecyclePicture(pp_decoder, &picture); 432 // Now try to get a picture. No picture ready message has been received yet. 433 PP_VideoPicture picture; local 435 CallGetPicture(decoder.get(), &picture, &get_picture_cb)); 439 CallGetPicture(decoder.get(), &picture, &uncalled_cb)); 443 // Send a picture read 180 CallGetPicture(PP_Resource pp_decoder, PP_VideoPicture* picture, MockCompletionCallback* cb) argument 191 CallRecyclePicture(PP_Resource pp_decoder, const PP_VideoPicture& picture) argument 482 PP_VideoPicture picture; local 521 PP_VideoPicture picture; local [all...] |
H A D | ppp_video_decoder_proxy.cc | 46 const PP_Picture_Dev* picture) { 52 API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource, *picture)); 147 const HostResource& decoder, const PP_Picture_Dev& picture) { 155 &picture); 45 PictureReady(PP_Instance instance, PP_Resource decoder, const PP_Picture_Dev* picture) argument 146 OnMsgPictureReady( const HostResource& decoder, const PP_Picture_Dev& picture) argument
|
H A D | video_decoder_resource.cc | 174 // decode_id for the maximum picture delay. 253 PP_VideoPicture* picture, 262 // If the next picture is ready, return it synchronously. 264 WriteNextPicture(picture); 269 get_picture_ = picture; 273 void VideoDecoderResource::RecyclePicture(const PP_VideoPicture* picture) { argument 277 Post(RENDERER, PpapiHostMsg_VideoDecoder_RecyclePicture(picture->texture_id)); 388 // Create some fake texture ids so we can test picture handling. 409 PP_VideoPicture* picture = get_picture_; local 411 WriteNextPicture(picture); 252 GetPicture( PP_VideoPicture* picture, scoped_refptr<TrackedCallback> callback) argument 515 Picture& picture = received_pictures_.front(); local [all...] |
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_video_decoder_thunk.cc | 80 struct PP_VideoPicture* picture, 86 return enter.SetResult(enter.object()->GetPicture(picture, enter.callback())); 90 const struct PP_VideoPicture* picture) { 95 enter.object()->RecyclePicture(picture); 79 GetPicture(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback callback) argument 89 RecyclePicture(PP_Resource video_decoder, const struct PP_VideoPicture* picture) argument
|
/external/chromium_org/third_party/skia/debugger/ |
H A D | SkDebugger.cpp | 27 void SkDebugger::loadPicture(SkPicture* picture) { argument 28 SkRefCnt_SafeAssign(fPicture, picture); 33 fDebugCanvas->setPicture(picture); 34 picture->playback(fDebugCanvas);
|
/external/chromium_org/third_party/skia/platform_tools/nacl/src/ |
H A D | nacl_debugger.cpp | 70 SkPicture* picture = SkPicture::CreateFromStream(&pictureStream); local 71 if (NULL == picture) { 75 fDebugger.loadPicture(picture); 76 picture->unref();
|
/external/skia/platform_tools/nacl/src/ |
H A D | nacl_debugger.cpp | 70 SkPicture* picture = SkPicture::CreateFromStream(&pictureStream); local 71 if (NULL == picture) { 75 fDebugger.loadPicture(picture); 76 picture->unref();
|
/external/chromium-trace/trace-viewer/src/cc/ |
H A D | picture_ops_list_view.js | 27 var PictureOpsListView = ui.define('picture-ops-list-view'); 44 get picture() { 48 set picture(picture) { 49 this.picture_ = picture;
|
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
H A D | object_collection_test.js | 93 var picture = collection.getObjectInstanceAt('0x1000', 20); 94 assertEquals('skia', picture.category); 95 assertEquals('Picture', picture.name); 106 [picture],
|