のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2013-06-26から1日間の記事一覧

setBaseLayer

4478 void setBaseLayer(int layer, boolean showVisualIndicator, 4479 boolean isPictureAfterFirstLayout) { 4480 if (mNativeClass == 0) 4481 return; 4482 boolean queueFull; 4483 final int scrollingLayer = (mTouchMode == TOUCH_DRAG_LAYER_MODE)…

beginRecording

30 void PicturePileLayerContent::serialize(SkWStream* stream) 31 { 32 if (!stream) 33 return; 34 SkPicture picture; 35 draw(picture.beginRecording(width(), height(), 36 SkPicture::kUsePathBoundsForClip_RecordingFlag)); 37 picture.endRecord…

RTCHECK

3033 /* In gcc, use __builtin_expect to minimize impact of checks */ 3034 #if !INSECURE 3035 #if defined(__GNUC__) && __GNUC__ >= 3 3036 #define RTCHECK(e) __builtin_expect(e, 1) 3037 #else /* GNUC */ 3038 #define RTCHECK(e) (e) 3039 #endi…