Skip to content
Snippets Groups Projects
  1. Feb 28, 2014
    • Jim's avatar
      Be just a bit more consistent. · 94a2d207
      Jim authored
      See, it can sometimes be a bit confusing.  These functions should
      definitely not fail under normal circumstances, and these errors may
      affect the user and/or application in some way.
      94a2d207
    • Jim's avatar
      Be more consistent about log levels · 771eac60
      Jim authored
      LOG_ERROR should be used in places where though recoverable (or at least
      something that can be handled safely), was unexpected, and may affect
      the user/application.
      
      LOG_WARNING should be used in places where it's not entirely unexpected,
      is recoverable, and doesn't really affect the user/application.
      771eac60
  2. Feb 24, 2014
  3. Feb 17, 2014
    • Jim's avatar
      Fix a NULL pointer deference · 105aafbc
      Jim authored
      Also, fixed an issue with the new conversion shader not compiling
      properly on some video devices
      105aafbc
  4. Feb 16, 2014
    • Jim's avatar
      Make a number of key optimizations · 2dbbffe4
      Jim authored
       - Changed glMapBuffer to glMapBufferRange to allow invalidation.  Using
         just glMapBuffer alone was causing some unacceptable stalls.
      
       - Changed dynamic buffers from GL_DYNAMIC_WRITE to GL_STREAM_WRITE
         because I had misunderstood the OpenGL specification
      
       - Added _OPENGL and _D3D11 builtin preprocessor macros to effects to
         allow special processing if needed
      
       - Added fmod support to shaders (NOTE: D3D and GL do not function
         identically with negative numbers when using this.  Positive numbers
         however function identically)
      
       - Created a planar conversion shader that converts from packed YUV to
         planar 420 right on the GPU without any CPU processing.  Reduces
         required GPU download size to approximately 37.5% of its normal rate
         as well.  GPU usage down by 10 entire percentage points despite the
         extra required pass.
      2dbbffe4
  5. Feb 14, 2014
    • Jim's avatar
      Remove majority of warnings · 966b943d
      Jim authored
      There were a *lot* of warnings, managed to remove most of them.
      
      Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after,
      as -Wall -Wextra was overwriting flags that came before it.
      966b943d
  6. Feb 09, 2014
    • Jim's avatar
      Use bzalloc instead of bmalloc then memset · b067440f
      Jim authored
      Reduces needless code repetition and still allows for proper memory
      alignment.  Cleans up the code a bit.
      b067440f
    • Jim's avatar
      Fix texture_setimage · e4921074
      Jim authored
      Was mapping the data without unmapping the data, causing the data to
      become locked
      e4921074
    • Jim's avatar
      Implement output, improve video/audio subsystems · 6c92cf58
      Jim authored
       - Fill in the rest of the FFmpeg test output code for testing so it
         actually properly outputs data.
      
       - Improve the main video subsystem to be a bit more optimal and
         automatically output I420 or NV12 if needed.
      
       - Fix audio subsystem insertation and byte calculation.  Now it will
         seamlessly insert new audio data in to the audio stream based upon
         its timestamp value.  (Be extremely cautious when using floating
         point calculations for important things like this, and always round
         your values and check your values)
      
       - Use 32 byte alignment in case of future optimizations and export a
         function to get the current alignment.
      
       - Make os_sleepto_ns return true if slept, false if the time has
         already been passed before the call.
      
       - Fix sinewave output so that it actually properly calculates a middle
         C sinewave.
      
       - Change the use of row_bytes to linesize (also makes it a bit more
         consistent with FFmpeg's naming as well)
      6c92cf58
  7. Jan 03, 2014
  8. Dec 23, 2013
  9. Dec 20, 2013
  10. Dec 03, 2013
  11. Nov 27, 2013
  12. Oct 26, 2013
  13. Oct 25, 2013
  14. Oct 18, 2013
  15. Oct 17, 2013
  16. Oct 14, 2013
  17. Oct 12, 2013
  18. Oct 04, 2013
  19. Oct 03, 2013
  20. Oct 01, 2013
  21. Sep 30, 2013
Loading