rendering

memory warning issue while using renderInContext

hi, I am developing image saving app. i am using two high resolution images(1200*1600) to get single image of high resolution(1200*1600), which is drawing from both images like photo in frame . here i am using renderInContext to draw a single image. but its giving memory warning issue and crashes the app. its happening consistently. plea...

Modal popup extender rendering

Hi, I have a modal popup extender in my page. But after rendering if I look at "view source"(right click on browser and see), I' m not able to see the html part equivalent to the modal popup extender. Since that I'm not able to access the elements in popup using getElementById()...in client side. Please help :( ...

How to compress the responses to reduce page weight in .net

Hi Can anyone suggest the ways we can choose to reduce the size of the rendered html or response to reduce page weight in .net so that the client can experience a faster loading of the UI i've heard of JSON and GZip but don't have much idea about how to use it or even better ways are there ...

DirectX: Render to a screen buffer without using a render target

Hello, I'm writing an open source 2D game engine, and I want to support as many devices and platforms as possible. I currently only have Windows Mobile though. I'm rendering using DirectX Mobile, with DirectDraw as a fallback path. However, I've run into a bit of trouble. It seems that while the reference driver supports createRenderTa...

Register/Include javascript within RenderingTemplate.

Problem description Is it possible to register (include) javascript within RenderingTemplate? (RenderingTemplates are used to render list forms or fields) By using <SharePoint:RenderingTemplate ID="NewRelatedListItem" runat="server"> <Template> <span id="part1"> <SharePoint:ScriptLink Name="SPFormFieldAssistant.js" Localiz...

MOSS - Rendering template for document library

Hi, I have created: A custom content type that inherits from document 0x0101. A custom list that is based on my content type. I have also set so that the id for the rendering template is set to my own developed template. The problem is that when i click on "New" on my new list it will automatically go to the upload.aspx and then to ...

How can I monitor the rendering time in a browser?

I work on an internal corporate system that has a web front-end as one of its interfaces. The web front-end is served up using Tomcat. How can I monitor the rendering time of specific pages in a browser (IE6)? I would like to be able to record the results in a log file (separate log file or the Tomcat access log). EDIT: Ideally, I ne...

Rendering videos online using flash as3 and AIR, how does it work?

I came accross this link that talks about the technology used with Animoto.com And it seems like they use AIR to export their flash animations to bitmaps that ffmpeg compil as a movie. http://labs.animoto.com/2009/06/07/presenting-filmstrip/ "It also takes time to render, so what you’re seeing isn’t realtime. It’s a series of Flash-gen...

CSS visibility property not working on Webkit browsers after jQuery ajax success callback

The problem: I make jQuery .ajax calls by clicking on some cursor images in order to navigate through a book catalog replacing the content of a div with the ajax response (plain html). There is a cursor image that only shows if the book has more than 1 picture, that is controlled by php code that renders directly the HTML given in the aj...

OpenGL Viewer Control & Rendering Contexts

I have built an OpenGL Viewer control that can simply be dropped onto a windows form (at design time) and assigned an OpenGL display list (at run time). The viewer control handles navigation, display options (e.g. background color), etc. It is also responsible for creating and destroying rendering and device contexts as necessary. Obv...

Rendering PDF on WebPage

Hi. We are trying to load a pdf file in web browser using pdfobject javascript api. Currently the size of the pdf's that we are trying to display is close to 10MBs. This creates a long delay in displaying a PDF on web page; while the complete PDF gets downloaded. We need to remove this lag by achieving either of the alternatives: Sho...

Is it possible to modify an image so someone with myopia could see it clearly without glasses?

or even better, is there software available which can do it? --new detail to people that is saying that it's impossible, I remember that at college, stirring in the projector, the analogic focus could be changed so I could se a clear image without the glasses. ...

HTML Rendering Engine as a Java Control

Hi All, We have a client side application (Java/Swing) that we need an HTML rendering control for. What I want to find is the most widely adopted, most heavily developed, easiest to deploy solution to get Gecko or WebKit into a Swing app (Needs to run OS X and Windows). The limited (crappy?) JEditPane type solutions are not robust eno...

Possible to InvalidateVisual() on a given region instead of entire WPF control?

I have a complex WPF control that draws a lot of primitives in its OnRender (it's sort of like a map). When a small portion of it changes, I'd only like to re-issue render commands for the affected elements, instead of running the entire OnRender over. While I'm fine with my OnRender function's performance on a resize or whatever, it's n...

Simulating 3D 'cards' with just orthographic rendering

I am rendering textured quads from an orthographic perspective and would like to simulate 'depth' by modifying UVs and the vertex positions of the quads four points (top left, top right, bottom left, bottom right). I've found if I make the top left and bottom right corners y position be the same I don't get a linear 'skew' but rather a ...

How to determine what in my script is blocking my HTML rendering?

I have a web application that uses quite a bit of JavaScript. When the page loads, it's very clear visually that something is blocking the rendering of a particular portion of the web site. This portion is generated by a Tabber Tabify JavaScript library. How can I determine what's blocking the HTML rendering specifically so that I can ...

IFRAME renders a HTML text outside of boundaries, a bug?

IE8 in non-compatability view, Version 8.0.6001.18702 The code below represents the problem: <body><div style="height:400px;width:400px"><iframe src="http://mail.ru" height="100%" width="100%"></iframe></div></body> Scroll the IFRAME to the right to the middle of "Скачать Спутник с музыкой" orange label. Alt-Tab to other window and...

How to render a 2d side-scroller game

I do not really understand the way I'm suppose to render a side-scroller? How do I know what to render when my character move? What kind of positionning should I use for the characters? I hope my question is clear ...

Rendering sass template from a sinatra app doesn't work. Is this due to v.1 incompatibility? Workaround?

get '/stylesheets/style.css' do header 'Content-Type' => 'text/css; charset=utf-8' sass :style end does not produce the stylesheet anymore. What would be a version 1.0 compatible way to do this? Or, troubleshooting suggestions if you think that the issue is with the code? The style.sass file is in the /views folder. Haml files fr...

At what point in the render process of a web page can we interact with that page

I'd like to measure to distinct user experience points during the rendering of an HTML page: Point which user sees the first painting of the page Point at which user can interact with the page - meaning sees 75% of it or can actually register a button click or link click I am pretty certain these UX interactions can start before the ...