2013-06-01から1ヶ月間の記事一覧
194 SkPicture::SkPicture(SkStream* stream) : SkRefCnt() { 195 const uint32_t pictureVersion = stream->readU32(); 196 if (pictureVersion != PICTURE_VERSION_ICS && 197 pictureVersion != PICTURE_VERSION_JB) { 198 sk_throw(); 199 } 200 201 fWi…
58 static size_t writeTypeface(SkWriter32* writer, SkTypeface* typeface) { 59 SkASSERT(typeface); 60 SkDynamicMemoryWStream stream; 61 typeface->serialize(&stream); 62 size_t size = stream.getOffset(); 63 if (writer) { 64 writer->write32(s…
1875 void SkPaint::unflatten(SkFlattenableReadBuffer& buffer) { 1876 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); 1877 const void* podData = buffer.skip(kPODPaintSize); 1878 const uint32_t* pod = reinterpret_cast<const uint32_t*>(podData); 1879 1880</const>…
22 SkPicturePlayback::SkPicturePlayback(const SkPictureRecord& record) { 60 record.validate(); 61 const SkWriter32& writer = record.writeStream(); 62 init(); 63 if (writer.size() == 0) 64 return; 65 66 { 67 size_t size = writer.size(); 68 …
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)…
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…
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…
デバッグ(SK_DEBUG_DUMP)を有効にしたところ #define SK_DEBUG_DUMP #define DUMP_BUFFER_SIZE 65536 //#include "SkBuffer.h" // readPtr <=関係ないみたいだ。エラーが発生。 error: 'class SkFlattenableReadBuffer' has no member named 'readPtr' 117…
25.2 TUIのキーバインド C-x a TUIモードに入ったり、離れたりします。 C-x 1 TUIのレイアウトをウィンドウ一つだけにします。 C-x 2 TUIのレイアウトを少なくとも二つのウィンドウにします。 C-x o アクティブウィンドウを変更します。 C-x s シングルキー…
adb remount permission denied, but able to access super user in shell -- android - Stack Overflowあ、boot.imgを焼いていなかった。
127 SkPicture::~SkPicture() { 128 SkSafeUnref(fRecord); 129 SkDELETE(fPlayback); 130 } 91 #define SkDELETE(obj) delete obj #04,#03 222 SkPicturePlayback::~SkPicturePlayback() { 223 sk_free((void*) fReader.base()); 224 225 SkDELETE_ARRAY(fB…
Android NDKに最適なコンパニオン ツール
xserver-xorg-video-imxビルドまとめ - 主にコンピューターについて xserver-xorg-video-imx-10.11.01.tar.gz libz160-bin-10.11.01.tar.gz amd-gpu-bin-mx51-10.11.01.tar.gz
727 void TextRunWalker::setupFontForScriptRun() 728 { 729 const FontData* fontData = m_font->glyphDataForCharacter(m_run[0], false).fontData; 730 const FontPlatformData& platformData = 731 fontData->fontDataForCharacter(' ')->platformData(…
230 struct FontDataCacheKeyTraits : WTF::GenericHashTraits<FontPlatformData> { <= 継承 231 static const bool emptyValueIsZero = true; 232 static const bool needsDestruction = true; 233 static const FontPlatformData& emptyValue() 234 { 235 DEFINE_STATIC_LO</fontplatformdata>…
179 static SkTypeface* findFromUniqueIDLocked(uint32_t uniqueID) { 180 FamilyRec* curr = gFamilyHead; 181 while (curr != NULL) { 182 for (int i = 0; i < 4; i++) { 183 SkTypeface* face = curr->fFaces[i]; 184 if (face != NULL && face->unique…
51 uint32_t SkTypeface::UniqueID(const SkTypeface* face) { 52 if (NULL == face) { 53 face = get_default_typeface(); 54 } 55 return face->uniqueID(); 56 } 57 58 bool SkTypeface::Equal(const SkTypeface* facea, const SkTypeface* faceb) {
エラー external/webkit/Source/WebCore/platform/graphics/FontCache.cpp:426:120: error: invalid use of incomplete type 'struct WTF::CString' external/webkit/Source/JavaScriptCore/wtf/Forward.h:38:11: error: forward declaration of 'struct WTF…
AtomicString VS String WTF::AtomicString is a class that has four differences from the normal WTF::String class: (1)It more expensive to create a new atomic string than a non-atomic string; doing so requires a lookup in a per-thread atomic…
441 #ifndef NDEBUG 442 void GlyphPageTreeNode::showSubtree() 443 { 444 Vector<char> indent(level()); 445 indent.fill('\t', level()); 446 indent.append(0); 447 448 HashMap<const FontData*, GlyphPageTreeNode*>::iterator end = m_children.end(); 449 for (HashMap<const FontData*, GlyphPageTreeNode*>::ite…</const></const></char>
class TextRunWalker { 422 public: 423 494 private: 512 const Font* const m_font; 513 HB_ShaperItem m_item; 514 uint16_t* m_glyphs16; // A vector of 16-bit glyph ids. 515 SkPoint* m_positions; // A vector of positions for each glyph. 516 ss…
128 FontPlatformData::FontPlatformData(float size, bool bold, bool oblique) 129 : m_typeface(NULL), m_textSize(size), m_emSizeInFontUnits(0), m_fakeBold(bold), m_fakeItalic(oblique), 130 m_orientation(Horizontal), m_textOrientation(TextOri…
31 // Use these to declare and define a static local variable (static T;) so that 32 // it is leaked so that its destructors are not called at exit. Using this 33 // macro also allows workarounds a compiler bug present in Apple's version o…
676 static void loadFontInfoLocked() { 677 resetFallbackFontListsLocked(); 678 679 SkTDArray<FontFamily*> fontFamilies; 680 getFontFamilies(fontFamilies); 681 682 gSystemFonts.reset(); 683 684 for (int i = 0; i < fontFamilies.count(); ++i) { 685 FontFa</fontfamily*>…
390 static void paintTextWithShadows(GraphicsContext* context, const Font& font, const TextRun& textRun, const AtomicString& emphasisMark, int emphasisMarkOffset, int startOffset, int endOffset, int truncationPoint, const FloatPoint& textO…
Unicodeの結合文字メモ - 血統の森+はてな
87 public static Typeface create(String familyName, int style) { 88 return new Typeface(nativeCreate(familyName, style)); 89 } 171 static JNINativeMethod gTypefaceMethods[] = { 172 { "nativeCreate", "(Ljava/lang/String;I)I", (void*)Typefac…
737 static void initSystemFontsLocked() { 738 // check if we've already been called 739 if (gDefaultNormal) { 740 return; 741 } 742 743 SkASSERT(gUniqueFontID == 0); 744 745 loadFontInfoLocked(); 746 747 SkTypeface* firstInFamily = NULL; 7…
Intellij Android project schema URI not registered? - Stack Overflow
Android Studio - URI is not registered - Stack OverflowIssue 55550 - android - xmls uri is not registered on default layout - Android - An Open Handset Alliance Project - Google Project Hosting