Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re Eric Seidel



Hello Eric ,
Our requirement is to filter all the drawings that are being done on the screen . Whatever is being drawn on the screen we want to capture that , manipulate it and then allow it to be drawn on the screen.


Yes , we are also looking at the kext option and have ruled out quartz , quicktime and other application layer libraries .

But the problem is we are not able to figure out how the driver is getting the calls , what are the interfaces, for drawing. If you have any info please share it with us . And if you can just highlight the point you mentioned about GPU flags , may be it can help us because right now we are even unsure whether all the drawing is being done by graphics card or its the quartz that is doing the final rendering.

Eric Seidel wrote:

I'm just curious...

but are you looking to filter all rendering? Or just some rendering for a certain application? If it's the latter, then you should probably look at using something like CoreImage instead...

If you want to filter all rendering, then yes you may have to drop to the kext level.

You may also be able to flip some flags on the GPU to have it filter all rendering (i'm not sure if such is possible)... again, instead of doing your own (possibly slower filtering in the kext on the CPU.

-eric


On 25.05.2005, at 00:28, Anshul Makkar wrote:

hello ,
I have to write an application whether user space/kernel space that should filter the rendering that is being done on the screen ,
Now the flow that we understood is Aqua will generate the calls for Quartz and the further Quartz will generate calls for the underlying driver .


Now the point we are unclear about is , what are these interface ie interface for communication between application and quartz and of between quartz and driver .
Mac OS provides standard graphics family which export certain interfaces . Now OS has to generate calls for these interfaces , but these interfaces were never getting hit during the debugging.
When we put break points in graphics kext , the break points were hit . But the functions that were being called for eg allocate_texture() etc t are not there in the standard graphics family.
This led us to conclusion that these may be the private function of graphics kext . But OS doesnt know about the private functions of graphics kext , so how the calls are being routed to graphics kext private function ? How OS standard calls are being mapped to graphics kext private functions ??


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/eseidel% 40apple.com


This email sent to email@hidden








_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.