D 2025-07-25T22:32:36.510 J icomment I\sdon't\sthink\sthis\sis\sa\slimitation\sof\sTk\s9.\s\sI\sthink\sit\sis\sa\slimitation\r\nof\sApple's\sCoreGraphics.\s\sBoth\sTk\s8\sand\sTk\s9\suse\sCGContextDrawImage\sand\r\nthat\sis\swhere\sthe\stime\sis\sbeing\sspent\sin\sthe\stestmage\scommand.\r\n\r\nHowever\sthere\sare\sstill\smany\saspects\sof\swhat\syou\sare\ssaying\sthat\sI\sdo\snot\r\nunderstand\sor\sthat\sare\sincomplete.\r\n\r\n1.\s\sYou\shave\snever\ssaid\swhat\s"simulation\scode\snim"\smeans.\s\sSo\sI\sdo\snot\sknow\r\nwhat\syou\sare\scomparing\sagainst\sthe\stestimage\scode.\s\sIt\sappears\son\sthe\r\nsurface\sthat\syou\smay\sbe\scomparing\sapples\sand\soranges.\r\n\r\n2.\sThe\stestimage\scode\sthat\sI\sattached\swill\scompile\sas\san\s8.6\sextension,\r\nbut\sit\swill\snot\supdate\sthe\sscreen\sunder\s8.6.\s\sI\sknow\sthe\sreason\sfrom\smy\r\ninstrumentation:\sthe\scalls\sto\sXPutImage\sare\sbeing\smade\soutside\sof\sdrawRect.\r\nThis\sis\sa\sserious\slimitation\sof\s8.6.\s\sDrawing\soperations\soften\shave\sto\sbe\r\nrepeated\sbecause\sthey\sare\sattempted\soutside\sof\sdrawRect,\swhich\s(after\r\nmacOS\s10.14)\smeans\sthat\sit\sis\simpossible\sto\sobtain\sa\svalid\sCGContextRef\r\nbecause\sthe\swindow's\scontentView\sis\snot\sthe\sfocusView.\s\sYou\ssee\sthis\sin\r\npractice\sas\sa\sreturn\svalue\sof\sBadDrawable,\sas\syou\sreported.\s\sThe\stestimage\r\ncode\shas\sno\smechanism\sfor\scalling\sXPutImage\sa\ssecond\stime\sif\sthe\sfirst\r\nattempt\sfails\sdue\sto\sthe\scontentView\snot\sbeing\sthe\sfocusView.\s\sSo\sit\r\ncouldn't\spossibly\swork\swith\sTk\s8.\r\n\r\n3.\sA\sconsequence\sof\s(2)\sis\sthat\swhatever\scode\syou\smay\sbe\susing\sto\scompare\r\nTk\s8\sagainst\sTk\s9\s(and\syou\sstill\shaven't\ssaid\swhat\sthat\sis)\sit\scan't\r\npossibly\swork\sthe\ssame\sway\sas\sthe\stestimage\scode.\s\sMaybe\sthat\sjust\smeans\r\nthat\sthe\stestimage\scommand\sis\snot\stesting\sthe\sright\sthing.\r\n\r\nIn\sany\scase,\sif\sthere\sis\sany\sway\sfor\sme\sto\ssee\sa\scomparison\sof\sworking\r\nTk\s8\scode\sversus\sworking\sTk\s9\scode\swhere\sthe\sTk\s8\scode\sis\ssignificantly\r\nfaster,\sthen\sI\swould\sbe\svery\sinterested\sand\sit\swould\sbe\svery\shelpful\sto\r\nme.\s\sBut\sso\sfar\sI\shaven't\sseen\sanything\slike\sthat. J login marc_culler J mimetype text/plain J username Marc\sCuller K 4af5ca1921122de63f37a99beefb2f5dbef72518 U marc_culler Z 96838a5eda801120aa121016df161c04