Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(699)

Issue 5311080: restrict rasterclip based on device needs

Can't Edit
Can't Publish Mail
Start Review
Created:
12 years, 11 months ago by reed1
Modified:
12 years, 11 months ago
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats ( 75 lines, -4 lines) Patch
M include/core/SkCanvas.h View 1 chunk 3 lines, -0 lines 0 comments Download
M include/core/SkDevice.h View 1 chunk 24 lines, -0 lines 1 comment Download
M include/gpu/SkGpuDevice.h View 1 chunk 2 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 7 chunks 38 lines, -4 lines 0 comments Download
M src/core/SkDevice.cpp View 1 chunk 4 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk 4 lines, -0 lines 0 comments Download

Messages

Total messages: 2
reed1
not for submission yet, but for consideration. I just hacked in to try out restricting ...
12 years, 11 months ago (2011-11-01 20:41:05 UTC) #1
Steve VanDeBogart
12 years, 11 months ago (2011-11-01 21:52:20 UTC) #2
Sounds good to me.

http://codereview.appspot.com/5311080/diff/1/include/core/SkDevice.h
File include/core/SkDevice.h (right):

http://codereview.appspot.com/5311080/diff/1/include/core/SkDevice.h#newcode283
include/core/SkDevice.h:283: enum RasterClipNeeds {
You are converting these values to another set of values.  Maybe it would make
sense to do something like:

enum RasterClipNeeds {
  kClipToBW_RasterClipNeeds = 0x1,
  kClipToBounds_RasterClipNeeds = 0x2,

  kBounds_RasterClipNeeds = 0x3,
  kRegion_RasterClipNeeds = 0x1,
  kAAClip_RasterClipNeeds = 0x0,
};
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b