Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
どうも、吉村です。 今回はiOSにおけるCoreGraphicsの話題でなおかつCGContextDrawImage(), およびCGImageRefにフォーカスした非常にピンポイントな話題です。 CGContextDrawImageが遅い! そう感じたのは以下のような状況です。 「CGContextDrawImage()を1秒間に何十回もコールする」 主にリアルタイムグラフィックスを扱う場合ですね。 え?そんなに? と意外かもしれませんが、CGContextDrawImage()は、 ゲーム等を作る場合以外では意外と高いレートでコールされることはないので、気づいている人は少ないかもしれません。 では何が遅いのか? それは 「画像をラスターデータに展開する処理」 です。 一般的な画像形式は基本的に圧縮されています。 例えばpngは、Deflateというアルゴリズムを使うzlibにより圧縮さ
Introduction to Cocoa Drawing GuideHigh-quality graphics are an important part of a well-designed application. In fact, high-quality graphics is one of the things that sets OS X apart from many other operating systems. While some operating systems rely on flat colors and rectangular objects, OS X uses color, transparency, and its advanced compositing system to give programs a more fluid and inviti
ソースはこちら(GitHub) Delphi Advent Calendar 2013 12/22 の記事です。 FireMonkey で「閉じるボタン付きの TabItem」を作ってみました。 これは、そもそもは facebook の Delphi Talks グループで田中さんが「格好いい?「PageControl 」を探しています」というスレッドを立てたので、僕が FireMonkey で作るのはいかがですか!とオススメした所から始まっています。 ということで、FireMonkey でコンポーネントをるのは大変ではないので、作りました でも、うかうかしているうちに、やましょうさんの前日の Advent Calendar で > Fmxで作成してみるとわかるのですが、 > delphi+fmxって > 本当に凄い!! > > だってこんなコンポーネントが簡単にできるんですよ。。 > し
Introduction A screenshot of Luke Stackwalker displaying profiling results. Luke Stackwalker is a C/C++ code profiler that runs on Windows. It uses call stack sampling to collect profile data, so no code instrumentation is required. Luke Stackwalker can sample the call stack at an user-specified depth to not only provide a display of which functions in the program under test consume most CPU time,
PowerShell ps1コードから EXEを作るユーティリティがあり PowerShell Galleryやgithubで公開されています。 インストールは下↓のコマンド Install-Module -Name ps2exe このps2exe結構需要あるようで ps1スクリプトのままだと、 納品後 お客さん側で 勝手に書き換えられたり そういうのを防ぐ場合使えるそうです。 (だったらC#で書けよと思うけど C#書けない人も多いので この手のEXE変換需要があるようです) ■ ps2exeで作ったexeから でps1ファイルを作りたい (リバースエンジニアリング) EXEからコード化するのもあるのかと思い 探したのですが 「exetops」で検索すると github.com ⇧上のURLが出てきて 使えるかと思いソースコードをダウンロードして実行しようとしたら Microsoft De
Windows Vista makes greater use of file-specific thumbnail images than earlier versions of Windows. Windows Vista uses them in all views, in dialogs, and for any file type that provides them. Other applications can consume your thumbnail as well. Thumbnail display has also changed. Now, a continuous spectrum of user-selectable sizes is available rather than the discrete sizes such as Icons and Thu
64ビット版の Windows 7 や Windows Server 2008 R2 では、システムに 64コアを超える論理プロセッサーが搭載されていると、プロセッサーはプロセッサー・グループに分割されます。これまでこの規則に該当するシステムはほとんどありませんでしたが、インテル® Xeon® プロセッサーの E7 ファミリー(いわゆる Westmere-EX)の一部は、10個の物理コアを搭載し、4ソケットのシステムでは40物理コア、そしてハイパースレッディングを有効にすると、80論理コアを搭載するシステムになります。 この記事では、NUMA 環境におけるプロセッサー・グループの導入が、マルチスレッド・プログラミングにどのような影響を及ぼすか検証してみます。 ここでは、Windows Server 2008 R2 Enterprise SP1 (build 7601) を使用しています。
Home » Category Archive: UnavailableWindows 8.1 で加わった Per-Monitor DPI と WPF での対応方法 先日の めとべや東京勉強会 #2 にて WPF での Per-Monitor DPI 対応アプリのデモをしましたが、アプリが完成したので公開します。 XamClaudia https://github.com/Grabacr07/XamClaudia 間もなく Windows 8.1 公開ですね! ということで、Windows 8.1 の新機能である Per-Monitor DPI の解説と対応方法の紹介をします。 High DPI と WPF 昨今のタブレット PC などは、本体の小型化と同時にモニターの高精細化が進んでおり、1 ドットの物理的なサイズがどんどん小さくなっています。たとえば、Surface Pro (10.6
This content is targeted at developers who are looking to update desktop applications to handle display scale factor (dots per inch, or DPI) changes dynamically, allowing their applications to be crisp on any display they're rendered on. To start, if you're creating a new Windows app from scratch, it is highly recommended that you create a Universal Windows Platform (UWP) application. UWP applicat
google-perftoolsとは グーグル株式会社で開発、公開されている高速mallocやCPUプロファイリングと解析などを行うオープンソースのツール群です。 こここではサンプリングベースのCPUプロファイラーである cpu profiler を紹介します。 cpu profilerはアーキテクチャーに依存しないLinux用ソフトウェアなので当然Cellでも使用することが可能です。 ここでプロファイルの測定対象としたソースコードはこれです。 Media:Google-perftools-cpuprofile.tar.gz google-perftoolsのインストール google-perftoolsはこちらからダウンロードできます。http://goog-perftools.sourceforge.net/ バイナリパッケージ(*.rpm)はないのでソースをダウンロードしてコンパ
gperftools ---------- (originally Google Performance Tools) OVERVIEW --------- gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools. gperftools is distributed under the terms of the BSD License. Join our mailing list at gperftools@googlegroups.com for updates: https://groups.google.com/forum/#!forum/gperftools gp
Framework for incremental calculation, and collection of statistical accumulators.
この記事は、インテル® ソフトウェア・ネットワークに掲載されている「IIR Gaussian Blur Filter Implementation using Intel® Advanced Vector Extensions」(http://software.intel.com/en-us/articles/iir-gaussian-blur-filter-implementation-using-intel-advanced-vector-extensions/) の日本語参考訳です。 ソースのダウンロード: https://software.intel.com/sites/default/files/m/4/3/7/a/a/gaussian_blur_0311.cpp gaussian_blur.cpp [36KB] はじめに この記事では、インテル® アドバンスド・ベクトル・エクス
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く