aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* whitespace changeGravatar epoger@google.com2011-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1919 2bbb7eff-a529-9590-31e7-b0007b416f81
* have == always return bool, never intGravatar reed@google.com2011-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1915 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace SkRefPtr for parameters with simple pointersGravatar reed@google.com2011-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1913 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Use insert and append helpers for POD data.Gravatar vandebo@chromium.org2011-07-20
| | | | | | | | BUG=251 Review URL: http://codereview.appspot.com/4815044 git-svn-id: http://skia.googlecode.com/svn/trunk@1912 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Make stream compression optional on a per device basis.Gravatar vandebo@chromium.org2011-07-20
| | | | | | | | | | | | | | | There are a lot of small pieces to make this change work: - SkPDFDocument (and SkPDFCatalog) take flags to disable compression (and font embedding - not implemented yet, can disable font subsetting for now). - SkPDFStream now defers compression until the size/emit step. - Classes that *had* a stream (because they didn't know the stream size at construction time) now *are* streams to make the substitution work correctly. - The SkPDFShader implementation got pulled apart into two classes, one that is a SkPDFDict, and one that is a SkPDFStream (making the common ancestor SkPDFObject). - Added helper methods in SkPDFObject for children that have simple resource lists. - Added an iterator to SkPDFDict so that a substitute SkPDFStream can get a copy of the stream dictionary. - Change SkPDFDocument to have a pointer to an SkPDFCatalog to remove a new circular header reference. Review URL: http://codereview.appspot.com/4700045 git-svn-id: http://skia.googlecode.com/svn/trunk@1911 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix Capitalization of static methodsGravatar reed@google.com2011-07-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1910 2bbb7eff-a529-9590-31e7-b0007b416f81
* helpers for append and insert when the value is a POD.Gravatar reed@google.com2011-07-20
| | | | | | | | reduces code-size and perf: fewer refs/unrefs git-svn-id: http://skia.googlecode.com/svn/trunk@1909 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix substitute resources size calculation.Gravatar vandebo@chromium.org2011-07-20
| | | | | | Review URL: http://codereview.appspot.com/4803041 git-svn-id: http://skia.googlecode.com/svn/trunk@1908 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GPU blur cacheing bug. Sometimes, the texture cache serves us textures ofGravatar senorblanco@chromium.org2011-07-19
| | | | | | | | | | | | | | | different sizes for srcTexture and dstTexture (this is fair; they're supposed to be approximate). Code was assuming otherwise while downsampling; fix is to reapply the scale on each downsample. (Yes, I could cache these reciprocals if and when they prove to be a hot spot). Also, use setIDiv(w,h) everywhere for conciseness. Review URL: http://codereview.appspot.com/4798041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1907 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove these for now, since each WIN machine can have different lcdGravatar reed@google.com2011-07-19
| | | | | | | | | | settings. can be fixed if we programmatically jam in some setting. If these are gone, gm will complain, but will not return failure to the bot. git-svn-id: http://skia.googlecode.com/svn/trunk@1906 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline with new gpu-based blurricatorGravatar reed@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1905 2bbb7eff-a529-9590-31e7-b0007b416f81
* export function to return a typeface's LOGFONTGravatar reed@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1903 2bbb7eff-a529-9590-31e7-b0007b416f81
* new baselines now that we're executing the blurs directly on the gpuGravatar reed@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1902 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable the GPU-based blur by default in Skia, and provide a #define to disableGravatar senorblanco@chromium.org2011-07-19
| | | | | | | | | | | | | it (SK_DISABLE_GPU_BLUR). Note: this change will break some the GM test results. I've attempted to rebaseline MacPro float results; more to come. Review URL: http://codereview.appspot.com/4784043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1901 2bbb7eff-a529-9590-31e7-b0007b416f81
* eliminate unneeded refs/unrefsGravatar reed@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1900 2bbb7eff-a529-9590-31e7-b0007b416f81
* Instead of turning clipping off during AA, clip to the offscreen tile whenGravatar tomhudson@google.com2011-07-19
| | | | | | | | | we're writing to it, then restore the onscreen clip when copying it back to screen. Speeds up rendering of web pages with paths >> tile size. git-svn-id: http://skia.googlecode.com/svn/trunk@1899 2bbb7eff-a529-9590-31e7-b0007b416f81
* iOSSampleApp can now switch backends during runtimeGravatar yangsu@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1897 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace commit to trigger buildbotGravatar epoger@google.com2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1896 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove dead edgebuilding codeGravatar mike@reedtribe.org2011-07-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1893 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add setPage method to SkPDFDocument.Gravatar vandebo@chromium.org2011-07-18
| | | | | | | | BUG=312 Review URL: http://codereview.appspot.com/4763047 git-svn-id: http://skia.googlecode.com/svn/trunk@1892 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix kernel width calculation in GPU-based Gaussian blur. When converting theGravatar senorblanco@chromium.org2011-07-18
| | | | | | | | | sigma value to a kernel width, it should be rounded up. Otherwise, for small sigmas, the edge pixels of the kernel may be missing. git-svn-id: http://skia.googlecode.com/svn/trunk@1891 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add mac baselines for tinybitmap Gravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4674048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1890 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add linux tinybitmap gm imagesGravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4674048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1889 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add tinybitmap gm and windows baselines.Gravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4674048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1888 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use texture cache for writePixels tempGravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4757050/ git-svn-id: http://skia.googlecode.com/svn/trunk@1887 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Make color shaders work correctly.Gravatar vandebo@chromium.org2011-07-18
| | | | | | | | | Make SkPDFShader correctly bail out for color shaders. Fix the bail out handling code. Review URL: http://codereview.appspot.com/4750045 git-svn-id: http://skia.googlecode.com/svn/trunk@1886 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add baselines for tex data gm for mac.Gravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4756043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1885 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU strokeAndFill only does the fillGravatar bungeman@google.com2011-07-18
| | | | | | | | http://codereview.appspot.com/4743047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1884 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add linux gm baselines for tex data testGravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4756043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1883 2bbb7eff-a529-9590-31e7-b0007b416f81
* flip Y in uploads to bottom-up textures (and add gm test)Gravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4756043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1882 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed an #ifdef bug in SkUIViewGravatar yangsu@google.com2011-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1881 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed old files in iOSSampleAppGravatar yangsu@google.com2011-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1880 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated iOSSampleApp to display FPS and display in OpenGLGravatar yangsu@google.com2011-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1879 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add whitespace.txt for no-op changelists.Gravatar epoger@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1877 2bbb7eff-a529-9590-31e7-b0007b416f81
* convolve GrRefCnt and SkRefCntGravatar reed@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1873 2bbb7eff-a529-9590-31e7-b0007b416f81
* add validate() and SkAutoRefGravatar reed@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1872 2bbb7eff-a529-9590-31e7-b0007b416f81
* More GPU blur fixes.Gravatar senorblanco@chromium.org2011-07-15
| | | | | | | | | | | | | | - clamp the max. radius to 128, as the software path does - use a more accurate radius-to-sigma conversion (0.6 instead of 0.6666) - make SampleBlur derive from SampleView, not SkView, so benchmark mode ('f') works - implement a new BigBlur sample to test large radii Review URL: http://codereview.appspot.com/4726043 git-svn-id: http://skia.googlecode.com/svn/trunk@1871 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for non-finite values that can make us overshootGravatar reed@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1870 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace commit to trigger buildbotGravatar epoger@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1869 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement remaining options in Windows command-line buildGravatar epoger@google.com2011-07-15
| | | | | | | (float vs fixed, Debug vs Release, "all" target, etc.) Review URL: http://codereview.appspot.com/4740041 git-svn-id: http://skia.googlecode.com/svn/trunk@1868 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace change to trigger buildbotGravatar epoger@google.com2011-07-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1867 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix printf output for name when skscalar is fixedGravatar reed@google.com2011-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1866 2bbb7eff-a529-9590-31e7-b0007b416f81
* add bench for building blursGravatar reed@google.com2011-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1865 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix http://b/issue?id=5030894 ('Not working on windows: python gyp_skia')Gravatar epoger@google.com2011-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1864 2bbb7eff-a529-9590-31e7-b0007b416f81
* make gyp_skia runnable from any directoryGravatar epoger@google.com2011-07-14
| | | | | | | | http://codereview.appspot.com/4720042 git-svn-id: http://skia.googlecode.com/svn/trunk@1863 2bbb7eff-a529-9590-31e7-b0007b416f81
* add now that gpu handles this correctlyGravatar reed@google.com2011-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1862 2bbb7eff-a529-9590-31e7-b0007b416f81
* Undo accidental commit of GrContext.cpp in r1860.Gravatar bsalomon@google.com2011-07-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1861 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make CPU->GPU blur path use texture cacheGravatar bsalomon@google.com2011-07-14
| | | | | | | | Review URL: http://codereview.appspot.com/4730041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1860 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clipping problem in GPU-based blur. The FBOs used for the fast GaussianGravatar senorblanco@chromium.org2011-07-14
| | | | | | | | | | | | blur were being clipped to the size of the output window, causing the blurred primitive to be truncated if the FBO was larger than the output window. Clip them to the srcRect instead, and restore when done. Review URL: http://codereview.appspot.com/4695057/ git-svn-id: http://skia.googlecode.com/svn/trunk@1859 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove some cruft from SampleApp.cppGravatar bsalomon@google.com2011-07-14
| | | | | | | | Review URL: http://codereview.appspot.com/4724042 git-svn-id: http://skia.googlecode.com/svn/trunk@1858 2bbb7eff-a529-9590-31e7-b0007b416f81