Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
97af1a64ae6bdddd346d8babfd9f188279dd6644
/
include
/
core
/
SkCanvas.h
97af1a6
Add caching of the snapshot image form a surface
by reed@google.com
· 12 years ago
3b3e895
remove EdgeType enum. Unimportant distinction, and removing speeds up quickReject
by reed@google.com
· 12 years ago
20a550c
Add virtual destructor to class with virtual functions.
by justinlin@google.com
· 12 years ago
40a1ae4
Added SkDevice onAttachToCanvas & onDetachFromCanvas methods
by robertphillips@google.com
· 12 years ago
15e9d3e
Expanded distribution of instance counting
by robertphillips@google.com
· 12 years ago
1f90287
Punctuation cleanup to satisfy idiosyncracies of OpenBSD gcc 4.2.1.
by tomhudson@google.com
· 12 years ago
90c07ea
replace getTotalClipStack() with replayClips()+ClipVisitor
by reed@google.com
· 12 years ago
a707f60
mark getTotalClip as deprecated
by reed@google.com
· 12 years ago
b0a7ace
Renaming SkCanvas::fLayerCount to fSaveLayerCount for readability
by junov@chromium.org
· 12 years ago
8926b16
apply imagefilter to all draw calls
by reed@google.com
· 12 years ago
0b53d59
add optional updateMatrixClip param to getTopDevice(). Chrome should set this
by reed@google.com
· 13 years ago
49794c0
make commonBitmap un-virtual. That was a leftover from previous subclassing
by reed@google.com
· 13 years ago
92d2a29
reapply r3259 (that was reverted) with fix.
by djsollen@google.com
· 13 years ago
a907ac3
Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track matrix and clipping state
by junov@chromium.org
· 13 years ago
3cc0d8a
reverting r3259 because of gm/test failure.
by djsollen@google.com
· 13 years ago
42bbef7
Enable quickRejectY in SkCanvas to be inlined.
by djsollen@google.com
· 13 years ago
0b5b0ce
reverting r3257 because of gm failure.
by junov@chromium.org
· 13 years ago
421bcc3
Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track matrix and clipping state
by junov@chromium.org
· 13 years ago
8f9ecbd
Adding API and unit testing for deferred canvas clearing/purging
by junov@chromium.org
· 13 years ago
bf6c1e4
Adding a flush method to SkCanvas
by junov@chromium.org
· 13 years ago
74b4619
Formatting cleanup: remove extra whitespace
by vandebo@chromium.org
· 13 years ago
4370aed
Adding class SkDeferredCanvas for deferred rendering.
by junov@google.com
· 13 years ago
7c20293
add canvas::isDrawingToLayer(), as a fast query for chrome; faster than
by reed@google.com
· 13 years ago
d58a1cd
Add config8888 support to writePixels
by bsalomon@google.com
· 13 years ago
56c6977
Update files to use SK_BUILD_FOR_ANDROID.
by djsollen@google.com
· 13 years ago
6850eab
Override 32BPP format in SkCanvas::readPixels
by bsalomon@google.com
· 13 years ago
daba14b
Line-endings only change (some windows line-endings snuck in)
by bsalomon@google.com
· 13 years ago
c698097
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt).
by bsalomon@google.com
· 13 years ago
ace7bd5
Revert r2584 (new test fails in fixed pt builds)
by bsalomon@google.com
· 13 years ago
1a8ddf0
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled.
by bsalomon@google.com
· 13 years ago
210ce00
add getDeviceSize() so callers won't need to call getDevice() so much
by reed@google.com
· 13 years ago
071eef9
add bool argument to canvas' clipRect and clipPath for antialiasing
by reed@google.com
· 13 years ago
5e2457e
add getTotalClipBounds() as a partial replacement for getTotalClip. This can be
by reed@google.com
· 13 years ago
fa6ac93
Fixup rendering of empty paths (including inverted fills)
by bsalomon@google.com
· 13 years ago
bcb671c
Add SkCanvas::getClipDescription() and getClipDeviceBounds() so clients don't
by tomhudson@google.com
· 13 years ago
f0b5e11
add drawBitmapNine to canvas will add to device soon I think
by reed@google.com
· 13 years ago
52c748b
Gpu can draw underlined text. http://codereview.appspot.com/4919047/
by bungeman@google.com
· 13 years ago
ec3ed6a
Automatic update of all copyright notices to reflect new license terms.
by epoger@google.com
· 13 years ago
4f1151a
Documentation only: add warning to SkCanvas::writePixels() that this operation
by epoger@google.com
· 13 years ago
6dc7455
remove forward declaration and reference to extinct SkDeviceFactory
by reed@google.com
· 13 years ago
cde9211
remove SkDeviceFactory from the collective consciousness, now that devices know
by reed@google.com
· 13 years ago
5667afc
remove drawShape from canvas api
by reed@google.com
· 13 years ago
e97f085
Add createNewCompatibleDevice. Allow devices to have a NULL factory and saveLayer will fall back on createNewCompatibleDevice.
by bsalomon@google.com
· 13 years ago
af951c9
make SkDevice constructors explicit between offscreen and on/direct
by reed@google.com
· 13 years ago
3048d4f
remove deprecated getViewport/setViewport
by reed@google.com
· 13 years ago
ea4ac97
make SkDeviceFactory reference counted
by mike@reedtribe.org
· 13 years ago
2a98181
add SkCanvas::clear(SkColor color) to call the new virtual clear on device.
by reed@google.com
· 13 years ago
24fb8e2
mark viewport APIs as deprecated
by reed@google.com
· 13 years ago
9266fed
add getTopLayer(), so clients don't have to use a LayerIter just to get
by reed@google.com
· 13 years ago
7ffb1b2
Add code needed to build skia as a windows dll within the chromium project.
by ctguil@chromium.org
· 14 years ago
cd9d69b
Upstreaming changes from android.
by djsollen@google.com
· 14 years ago
d302f14
Add support for clipstack to Gr. GrClip is now a list of rects and paths with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL.
by bsalomon@google.com
· 14 years ago
7d7ca79
add fClipStack optional field to SkDraw (it is always set by canvas)
by reed@google.com
· 14 years ago
5c3d147
add clipstack to canvas. not used yet, but will be for devices (e.g. gpu) that
by reed@google.com
· 14 years ago
3dd42b3
update dox for readPixels()
by reed@google.com
· 14 years ago
4b22602
add getter/setter for device-factory on canvas
by reed@google.com
· 14 years ago
51df9e3
add gpu to gm tool add pass-through read/write pixels API to canvas
by reed@google.com
· 14 years ago
f2b98d6
merge with changes for GPU backend
by reed@android.com
· 14 years ago
b70ae31
Fix a memory leak in the new Canvas/Device workflow.
by vandebo@chromium.org
· 14 years ago
8d84fac
Refactor SkCanvas so that backends don't need to override it.
by vandebo@chromium.org
· 14 years ago
4040861
oops, also update dox for saveLayerAlpha
by reed@android.com
· 14 years ago
ad164b2
update dox for saveLayer()
by reed@android.com
· 14 years ago
dc3381f
update save/restore comments to mention that the drawFilter is also saved
by reed@android.com
· 15 years ago
ba09de4
respect edgetype in quickreject
by reed@android.com
· 15 years ago
cb60844
add drawData() to canvas, to record data blobs
by reed@android.com
· 15 years ago
845fdac
remove deprecated use of porterduff enum
by reed@android.com
· 15 years ago
199f108
only call SkDevice::gainFocus() if we're actually drawing to a different device.
by reed@android.com
· 15 years ago
f76bacf
add SkSize for dimensions
by reed@android.com
· 15 years ago
8a1c16f
grab from latest android
by reed@android.com
· 16 years ago