aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* check for missing filename (needs to be specified when tool is launched)Gravatar reed@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1287 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unneeded asserts (which may fail from imprecise blits into the ↵Gravatar reed@google.com2011-05-09
| | | | | | | | | | bitmap, but do not affect the blits at head) git-svn-id: http://skia.googlecode.com/svn/trunk@1286 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix unused var warningGravatar bsalomon@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1285 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixup old VS2010 project in case anyone is using itGravatar bsalomon@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1284 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove deleted include file (oops)Gravatar bsalomon@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1283 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove previous shader generator class. No longer compiles due to ↵Gravatar bsalomon@google.com2011-05-09
| | | | | | elimination of separate GrStringBuilder class in favor or SkString. git-svn-id: http://skia.googlecode.com/svn/trunk@1282 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make shader generator more legible. Get rid of some magic values.Gravatar bsalomon@google.com2011-05-09
| | | | | | | Review URL: http://codereview.appspot.com/4531043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1281 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add a ToUnicode mapping for fonts.Gravatar vandebo@chromium.org2011-05-09
| | | | | | | | | | This makes text in PDFs searchable and copy&paste-able. Code from arthurhsu@chromium.org. Original review: http://codereview.appspot.com/4428082/ Review URL: http://codereview.appspot.com/4525042 git-svn-id: http://skia.googlecode.com/svn/trunk@1280 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] (regression) Update font if size changes.Gravatar vandebo@chromium.org2011-05-09
| | | | | | Review URL: http://codereview.appspot.com/4532044 git-svn-id: http://skia.googlecode.com/svn/trunk@1279 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix bug in graphic state comparison.Gravatar vandebo@chromium.org2011-05-09
| | | | | | | | SkPDFGraphicState::GSCanonicalEntry::operator== was out of sync with SkPDFGraphicState::populateDict leading to graphic state objects with the same value. Review URL: http://codereview.appspot.com/4516043 git-svn-id: http://skia.googlecode.com/svn/trunk@1278 2bbb7eff-a529-9590-31e7-b0007b416f81
* Share code with SkRectGravatar reed@google.com2011-05-09
| | | | | | | | http://codereview.appspot.com/4523046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1277 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove #if 0 codeGravatar reed@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1276 2bbb7eff-a529-9590-31e7-b0007b416f81
* Suppress int/NULL comparison warningGravatar bsalomon@google.com2011-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1275 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add support for Clear, Src, Dst, DstOver xfermodes.Gravatar vandebo@chromium.org2011-05-09
| | | | | | | | This uses the refactoring in http://codereview.appspot.com/4459041/ to add support for additional xfer modes. Calling setupContentEntry may affect previous content entries (removing, reordering, or modifying their clip) and indicates to the caller if it should draw the new item or not. Review URL: http://codereview.appspot.com/4464043 git-svn-id: http://skia.googlecode.com/svn/trunk@1271 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix setting of existing clip for layers.Gravatar vandebo@chromium.org2011-05-09
| | | | | | | | The current approach of setting the existing clip just before drawing a layer into a device doesn't work. SkDevice::clear() uses existing clip before that and if we need to put the content in a transparency group (i.e. for SrcIn xfermode), we need a valid existing clip. Instead, change the factory to use a special constructor when creating a layer device. Review URL: http://codereview.appspot.com/4495041 git-svn-id: http://skia.googlecode.com/svn/trunk@1270 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Refactor content stream creation in SkPDFDevice to support more xfermodes.Gravatar vandebo@chromium.org2011-05-09
| | | | | | | | | | | Instead of writing all drawing and state updates into the final content stream immediately, this change creates a new ContentEntry each time the transform, clip, or paint changes. Drawing is done into a stream in the ContentEntry. When the consumer asks for the content, we combine all the ContentEntries with appropriate updates to the state (clip, transform, paint) in between. This allows us to modify the clip even after a drawing has completed. It also lets us remove ContentEntries with no drawing. Further optimization can be done to better use the stack features of PDF, for now we follow the previous model of having a single clip followed by a single transform on the graphic state stack. Push rectangle logic into SkPDFUtil::AppendRectangle. Change private functions to adhere to coding standards. Review URL: http://codereview.appspot.com/4459041 git-svn-id: http://skia.googlecode.com/svn/trunk@1269 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkPoint, creating an alias for GrPointGravatar reed@google.com2011-05-06
| | | | | | | | http://codereview.appspot.com/4498041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1268 2bbb7eff-a529-9590-31e7-b0007b416f81
* share macros and types with SkScalar, but keep aliases for now, to avoid editingGravatar reed@google.com2011-05-06
| | | | | | | | call sites. git-svn-id: http://skia.googlecode.com/svn/trunk@1267 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace GrStringBuilder with SkString. First step in cleaning up the shader ↵Gravatar bsalomon@google.com2011-05-06
| | | | | | | | | | generator. Slight performance hit when creating a new shader (<10% of total shader gen time on my Windows box is spent in building our string before handing it to GL). Much of this can be recovered by better usage pattern of SkString in coming revisions. Review URL: http://codereview.appspot.com/4465053/ git-svn-id: http://skia.googlecode.com/svn/trunk@1266 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused var, fixes warningGravatar bsalomon@google.com2011-05-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1265 2bbb7eff-a529-9590-31e7-b0007b416f81
* Tab -> spacesGravatar bsalomon@google.com2011-05-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1264 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkScalarIsInt()Gravatar reed@google.com2011-05-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1262 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some fixed-width CJKGravatar reed@google.com2011-05-06
| | | | | | | | http://code.google.com/p/skia/issues/detail?id=222 git-svn-id: http://skia.googlecode.com/svn/trunk@1261 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1260 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't require a ptr unless size > 0Gravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1259 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable MSAA in SkOsWindow on mac and windowsGravatar bsalomon@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1258 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1257 2bbb7eff-a529-9590-31e7-b0007b416f81
* correctly compute coverage when an antialiased rect covers only 1 column of ↵Gravatar reed@google.com2011-05-05
| | | | | | pixels git-svn-id: http://skia.googlecode.com/svn/trunk@1256 2bbb7eff-a529-9590-31e7-b0007b416f81
* inherit from SampleViewGravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1255 2bbb7eff-a529-9590-31e7-b0007b416f81
* update for glshaders-not-2Gravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1254 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable experimental TEST_GPIPEGravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1253 2bbb7eff-a529-9590-31e7-b0007b416f81
* update to SampleViewGravatar reed@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1252 2bbb7eff-a529-9590-31e7-b0007b416f81
* Switch to GrGpuGLShaders (instead of GrGpuGLShaders2).Gravatar bsalomon@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1251 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add 4x4 downsample filter with 4 bilinear texture reads, use for ssaa.Gravatar bsalomon@google.com2011-05-05
| | | | | | Review URL: http://codereview.appspot.com/4483042/ git-svn-id: http://skia.googlecode.com/svn/trunk@1250 2bbb7eff-a529-9590-31e7-b0007b416f81
* switch to inheriting from SampleViewGravatar mike@reedtribe.org2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1249 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrPrintf_printf from gyp (should be using GrPrintf_skia that is ↵Gravatar bsalomon@google.com2011-05-04
| | | | | | already included in the skgr lib to direct GrPrintf to SkDebugf). git-svn-id: http://skia.googlecode.com/svn/trunk@1248 2bbb7eff-a529-9590-31e7-b0007b416f81
* SampleApp builds skia on Linux with BGRA pixel order, but Ganesh's SampleAppGravatar senorblanco@chromium.org2011-05-04
| | | | | | | | | | | | | assumes GL_RGBA texture format on all platforms except Windows (where it uses GL_BGRA), so texture colours come out wrong. As a temporary fix, do on Linux what we do on Windows, and assume GL_BGRA. (This should be made more general later, and the assumption of matching formats between Skia and Ganesh removed.) Review URL: http://codereview.appspot.com/4474046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1247 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SampleApp raster path on Linux to use SK_SAMPLES_FOR_X, so pixel componentsGravatar senorblanco@chromium.org2011-05-04
| | | | | | | | | | are in the right order (RGBA vs BGRA). Review URL: http://codereview.appspot.com/4474043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1246 2bbb7eff-a529-9590-31e7-b0007b416f81
* add typeface flatteningGravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1245 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement (sort of) Serialize/DeserializeGravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1244 2bbb7eff-a529-9590-31e7-b0007b416f81
* add find()Gravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1243 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor fixes to get SampleApp's OpenGL path not to crash on Linux. InitializeGravatar senorblanco@chromium.org2011-05-04
| | | | | | | | | | | | | SkOSWindow::fGLAttched (and fVi while we're at it), since it was being checked uninitialized. Don't call has_gl_extension() while initializing the GrGLDefaultInterface, since it derefs the default interface (which is still NULL); use has_gl_extension_from_string() instead. Review URL: http://codereview.appspot.com/4480041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1242 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix validation (glTexEnvi is fixed pipe only)Gravatar bsalomon@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1241 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix precendence error (== binds tighter than &)Gravatar reed@google.com2011-05-04
| | | | | | | | add new samples to solution git-svn-id: http://skia.googlecode.com/svn/trunk@1240 2bbb7eff-a529-9590-31e7-b0007b416f81
* new samplesGravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1239 2bbb7eff-a529-9590-31e7-b0007b416f81
* update pipe testGravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1238 2bbb7eff-a529-9590-31e7-b0007b416f81
* add debugging test for building SkDescriptorGravatar reed@google.com2011-05-04
| | | | | | | | update some samples git-svn-id: http://skia.googlecode.com/svn/trunk@1237 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make the unix test app build.Gravatar scroggo2011-05-04
| | | | | | | | | | There are two ways to build it, using the gyp files, or using its own makefile. A recent update of a sample made it no longer build using its own makefile. Make it build once again. git-svn-id: http://skia.googlecode.com/svn/trunk@1236 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove deprecated getViewport/setViewportGravatar reed@google.com2011-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1235 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add all ES2 glUniform functions to GrGLInterface. Add interface validation ↵Gravatar bsalomon@google.com2011-05-04
| | | | | | | | | | for fixed pipe or shader pipe use. Review URL: http://codereview.appspot.com/4435082/ git-svn-id: http://skia.googlecode.com/svn/trunk@1234 2bbb7eff-a529-9590-31e7-b0007b416f81