mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Updated the demo to have a new graphics rendering test page - this tests a lot of the new graphics features and lets you swap between software/OS rendering engines. Also fixed a mac menu bug, and mac mouse event timestamps.
This commit is contained in:
parent
15c32d3f3a
commit
ded840d456
18 changed files with 472 additions and 196 deletions
|
|
@ -776,5 +776,21 @@ void ComponentPeer::addMaskedRegion (int x, int y, int w, int h) throw()
|
|||
maskedRegion.add (x, y, w, h);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
const StringArray ComponentPeer::getAvailableRenderingEngines() throw()
|
||||
{
|
||||
StringArray s;
|
||||
s.add ("Software Renderer");
|
||||
return s;
|
||||
}
|
||||
|
||||
int ComponentPeer::getCurrentRenderingEngine() throw()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ComponentPeer::setCurrentRenderingEngine (int /*index*/) throw()
|
||||
{
|
||||
}
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue