OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkPicture
(Results
1 - 25
of
146
) sorted by null
1
2
3
4
5
6
/external/skia/src/core/
SkDeduper.h
14
class
SkPicture
;
24
virtual int findOrDefinePicture(
SkPicture
*) = 0;
34
virtual
SkPicture
* getPicture(int) = 0;
SkPicture.cpp
11
#include "
SkPicture
.h"
24
/*
SkPicture
impl. This handles generic responsibilities like unique IDs and serialization. */
26
SkPicture
::
SkPicture
() : fUniqueID(0) {}
28
uint32_t
SkPicture
::uniqueID() const {
46
SkPictInfo
SkPicture
::createHeader() const {
66
bool
SkPicture
::IsValidPictInfo(const SkPictInfo& info) {
76
bool
SkPicture
::InternalOnly_StreamIsSKP(SkStream* stream, SkPictInfo* pInfo) {
101
bool
SkPicture
::InternalOnly_BufferIsSKP(SkReadBuffer* buffer, SkPictInfo* pInfo) {
119
sk_sp<
SkPicture
> SkPicture::Forwardport(const SkPictInfo& info
[
all
...]
SkRecordDraw.h
30
void SkRecordDraw(const SkRecord&, SkCanvas*,
SkPicture
const* const drawablePicts[],
32
const SkBBoxHierarchy*,
SkPicture
::AbortCallback*);
40
SkPicture
const* const drawablePicts[], int drawableCount,
48
explicit Draw(SkCanvas* canvas,
SkPicture
const* const drawablePicts[],
66
SkPicture
const* const* drawablePicts() const { return fDrawablePicts; }
75
SkPicture
const* const* fDrawablePicts;
SkBigPicture.h
12
#include "
SkPicture
.h"
20
// An implementation of
SkPicture
supporting an arbitrary number of drawing commands.
21
class SkBigPicture final : public
SkPicture
{
23
// An array of refcounted const
SkPicture
pointers.
26
SnapshotArray(const
SkPicture
* pics[], int count) : fPics(pics), fCount(count) {}
29
const
SkPicture
* const* begin() const { return fPics; }
32
SkAutoTMalloc<const
SkPicture
*> fPics;
43
//
SkPicture
overrides
73
SkPicture
const* const* drawablePicts() const;
SkPictureImageGenerator.h
15
static std::unique_ptr<SkImageGenerator> Make(const SkISize&, sk_sp<
SkPicture
>, const SkMatrix*,
30
SkPictureImageGenerator(const SkImageInfo& info, sk_sp<
SkPicture
>, const SkMatrix*,
33
sk_sp<
SkPicture
> fPicture;
SkPipe.h
13
#include "
SkPicture
.h"
37
sk_sp<SkData> writePicture(
SkPicture
*);
40
void writePicture(
SkPicture
*, SkWStream*);
66
sk_sp<
SkPicture
> readPicture(const SkData* data) {
74
sk_sp<
SkPicture
> readPicture(const void*, size_t);
SkPictureAnalyzer.cpp
9
#include "
SkPicture
.h"
27
SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(const sk_sp<
SkPicture
>& picture,
33
void SkPictureGpuAnalyzer::analyzePicture(const
SkPicture
* picture) {
/external/skia/include/core/
SkDrawable.h
16
class
SkPicture
;
38
SkPicture
* newPictureSnapshot();
76
virtual
SkPicture
* onNewPictureSnapshot();
SkPictureAnalyzer.h
20
class
SkPicture
;
29
explicit SkPictureGpuAnalyzer(const sk_sp<
SkPicture
>& picture,
35
void analyzePicture(const
SkPicture
*);
SkMultiPictureDraw.h
16
class
SkPicture
;
42
const
SkPicture
* picture,
61
const
SkPicture
* fPicture; // reffed
65
void init(SkCanvas*, const
SkPicture
*, const SkMatrix*, const SkPaint*);
SkPicture.h
33
/** \class
SkPicture
35
An
SkPicture
records drawing commands made to a canvas to be played back at a later time.
38
class SK_API
SkPicture
: public SkRefCnt {
59
static sk_sp<
SkPicture
> MakeFromStream(SkStream*, SkImageDeserializer*);
60
static sk_sp<
SkPicture
> MakeFromStream(SkStream*);
61
static sk_sp<
SkPicture
> MakeFromData(const void* data, size_t size,
63
static sk_sp<
SkPicture
> MakeFromData(const SkData* data, SkImageDeserializer* = nullptr);
68
* SkReadBuffer::setBitmapDecoder() before calling
SkPicture
::CreateFromBuffer().
70
* @return A new
SkPicture
representing the serialized data, or NULL if the buffer is
73
static sk_sp<
SkPicture
> MakeFromBuffer(SkReadBuffer&)
[
all
...]
/external/skia/bench/
RecordingBench.h
12
#include "
SkPicture
.h"
17
PictureCentricBench(const char* name, const
SkPicture
*);
25
sk_sp<const
SkPicture
> fSrc;
33
RecordingBench(const char* name, const
SkPicture
*, bool useBBH, bool lite);
47
PipingBench(const char* name, const
SkPicture
*);
SKPBench.h
13
#include "
SkPicture
.h"
19
* Runs an
SkPicture
as a benchmark by repeatedly drawing it scaled inside a device clip.
23
SKPBench(const char* name, const
SkPicture
*, const SkIRect& devClip, SkScalar scale,
45
const
SkPicture
* picture() const { return fPic.get(); }
50
sk_sp<const
SkPicture
> fPic;
/external/skia/include/effects/
SkPictureImageFilter.h
12
#include "
SkPicture
.h"
19
static sk_sp<SkImageFilter> Make(sk_sp<
SkPicture
> picture);
25
static sk_sp<SkImageFilter> Make(sk_sp<
SkPicture
> picture, const SkRect& cropRect);
34
static sk_sp<SkImageFilter> MakeForLocalSpace(sk_sp<
SkPicture
> picture,
59
explicit SkPictureImageFilter(sk_sp<
SkPicture
> picture);
60
SkPictureImageFilter(sk_sp<
SkPicture
> picture, const SkRect& cropRect,
71
sk_sp<
SkPicture
> fPicture;
/external/skia/tools/
gpuveto.cpp
9
#include "
SkPicture
.h"
17
// This tool just loads a single skp, replays into a new
SkPicture
(to
44
sk_sp<
SkPicture
> picture(
SkPicture
::MakeFromStream(&inputStream));
47
SkDebugf("Could not read the
SkPicture
\n");
52
// The
SkPicture
tracking information is only generated during recording
58
sk_sp<
SkPicture
> recorded(recorder.finishRecordingAsPicture());
pinspect.cpp
12
#include "
SkPicture
.h"
17
static sk_sp<
SkPicture
> inspect(const char path[]) {
36
auto pic =
SkPicture
::MakeFromStream(&stream);
38
SkDebugf("Could not create
SkPicture
: %s\n", path);
47
static void dumpOps(
SkPicture
* pic) {
/frameworks/base/core/jni/android/graphics/
Picture.h
20
#include "
SkPicture
.h"
33
// Skia's
SkPicture
class has been split into an SkPictureRecorder
34
// and an
SkPicture
. AndroidPicture recreates the functionality
35
// of the old
SkPicture
interface by flip-flopping between the two
58
sk_sp<
SkPicture
> mPicture;
63
sk_sp<
SkPicture
> makePartialCopy() const;
/frameworks/webview/chromium/plat_support/
draw_sw.h
26
class
SkPicture
;
47
// Called to create an Android Picture object encapsulating a native
SkPicture
.
48
typedef jobject (AwCreatePictureFunction)(JNIEnv* env,
SkPicture
* picture);
/external/skia/samplecode/
SamplePdfFileViewer.cpp
20
#include "
SkPicture
.h"
34
SkPicture
* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array
36
static
SkPicture
* LoadPdf(const char path[]) {
42
SkPicture
* pic = new
SkPicture
;
GMSampleView.cpp
50
#include "
SkPicture
.h"
51
static sk_sp<
SkPicture
> round_trip_serialize(
SkPicture
* src) {
52
return
SkPicture
::MakeFromData(src->serialize().get());
71
sk_sp<
SkPicture
> pic = recorder.finishRecordingAsPicture();
SamplePictFile.cpp
18
#include "
SkPicture
.h"
111
SkPicture
** picture = fPictures + fBBox;
141
SkPicture
* fPictures[kBBoxTypeCount];
147
sk_sp<
SkPicture
> LoadPicture(const char path[], BBoxType bbox) {
148
sk_sp<
SkPicture
> pic;
162
pic =
SkPicture
::MakeFromStream(&stream);
172
sk_sp<
SkPicture
> p2(recorder.finishRecordingAsPicture());
/external/skia/src/shaders/
SkPictureShader.h
16
class
SkPicture
;
19
* An SkPictureShader can be used to draw
SkPicture
-based patterns.
21
* The
SkPicture
is first rendered into a tile, which is then used to shade the area according
28
static sk_sp<SkShader> Make(sk_sp<
SkPicture
>, TileMode, TileMode, const SkMatrix*,
48
SkPictureShader(sk_sp<
SkPicture
>, TileMode, TileMode, const SkMatrix*, const SkRect*,
72
sk_sp<
SkPicture
> fPicture;
/external/skia/src/utils/
SkMultiPictureDocument.h
15
* Writes into a file format that is similar to
SkPicture
::serialize()
20
sk_sp<
SkPicture
> fPicture;
/external/skia/tools/viewer/
SKPSlide.h
12
#include "
SkPicture
.h"
27
sk_sp<const
SkPicture
> fPic;
/external/skia/gm/
image_shader.cpp
27
typedef sk_sp<SkImage> (*ImageMakerProc)(GrContext*,
SkPicture
*, const SkImageInfo&);
29
static sk_sp<SkImage> make_raster(GrContext*,
SkPicture
* pic, const SkImageInfo& info) {
36
static sk_sp<SkImage> make_texture(GrContext* ctx,
SkPicture
* pic, const SkImageInfo& info) {
49
static sk_sp<SkImage> make_pict_gen(GrContext*,
SkPicture
* pic, const SkImageInfo& info) {
55
static sk_sp<SkImage> make_encode_gen(GrContext* ctx,
SkPicture
* pic, const SkImageInfo& info) {
79
sk_sp<
SkPicture
> fPicture;
Completed in 705 milliseconds
1
2
3
4
5
6